Help - Search - Members - Calendar
Full Version: Origo Wireless CF card configuration
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
phillvs
I have the Origo Compact flash card which I bought with my C860. It is said to work with the original Sharp rom (although didn't try it myself) but I have flashed the pdaXrom instead.

The advice from shirtpocket.co.uk web site (supplier) is the following:

*******************************
Enter the command "cardctl ident"

From the output :
For Socket 0, copy the details of the first line after "product info :"
Probably the same for all new style cards. On the ones we tested, it says (including first and last quote):
"WLAN", "11Mbps_PC-Card_3.0", "ISL37100P", "Eval-RevA"

Edit file "/etc/pcmcia/wlan-ng.conf" At the end add the following

card "Origo" (or some other description, not important)
version ""WLAN", "11Mbps_PC-Card_3.0", "ISL37100P", "Eval-RevA"
bind "prism2_cs"

Save and exit file and reboot your unit.
***************

I have done this but with no joy. sad.gif

Have looked at the PCMCIA Howto and found a few tips. Eventually I found the config and config.opt files which are used for configuring the PCMCIA cards and entered the above details in there instead, then rebooted. Still no joy with it.

Noticed that the majority of WiFi cards "bind" to "orinoco_cs" so changed my binding to this from the prism2_cs binding. Then rebooted. Still no joy. sad.gif

Through all of this the card manager (xcardinfo) keeps reporting "card unsupported" sad.gif

Has anyone any ideas what to do next please?

Thanks in anticipation.


Phillip

biggrin.gif
zaai
Heh I feel your pain, had similar problems.
Sorry that I can't provide a complete answer since I don't have the card. Instead lets collect some info on it:

Shirtpocket:
http://www.shirtpocket.co.uk/cat/product_i...?products_id=84
QUOTE
On the latest rev. of this card. It is now necessary to add it's details to the config file. Fairly straight forward see HERE:


The original instructions can be found at the ZUG smile.gif

They note a slightly different approach in adding the config data in OZ. OZ uses hostap and the card is added using to hostap_cs.conf its manfid. As far as I know there is no rule that says hostap should use manfid and wlan-ng.conf should use the card name. On my laptop adding a new card using wlan-ng didn't work by name but did work using the manfid. Specifying both also didn't work. So you might try adding the card using its manfid instead.

Now for troubleshooting. There are three steps involved before you can use wifi. Things can fail at each step:
1. the driver need to be loaded (shows up in 'iwconfig' or 'dmesg' when loaded)
2. the network interface need to be configured (eg eth0) - sometimes running "dhcpd eth0" is enough
3. encryption need to be configured. this can be black art in itself so get it working without encryption first.

To find out what the problem is, the output of iwconfig and dmesg would be helpful.
phillvs
Thanks for the response...

As you suggested (I think)

When I run iwconfig I get....

lo no wireless extension

usbd() no wireless extension

I ran dmesg and got the following (I have no idea what it all means though!!)
Is there something which helps me in this lot?

(took me hours to type this lot in to this message java script:emoticon(':rolleyes:')
java script:emoticon(':rolleyes:') )

Linux version 2.4.18-rmk7-pxa3-embedix-021129 (sash@sash) (gcc version 2.95.3 20010315 (release)) #1 ÷ÔÒ, 6 áÐÒ 2004 22:21:41 +0000
CPU: Intel XScale-PXA255 revision 6
Machine: SHARP Shepherd
Converting old-style param struct to taglist
Memory clock: 99.53MHz (*27)
Run Mode clock: 199.07MHz (*2)
Turbo Mode clock: 398.13MHz (*2.0, active)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@0k(smf),51200k@7168k(root),-(home) jffs2_orphaned_inodes=delete LOGO=1 LAUNCH=q
Console: colour dummy device 80x30
Calibrating delay loop... 397.31 BogoMIPS
Memory: 64MB = 64MB total
Memory: 61892KB available (1958K code, 464K data, 152K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
BlueZ Core ver 2.3 Copyright © 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
RCSR = 2
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.14)
FCS : CCCR = 161
batok installed
Starting kswapd
Journalled Block Device driver loaded
JFFS2 version 2.1. © 2001, 2002 Red Hat, Inc., designed by Axis Communications AB.
reset resolution unkown => 640x480
Console: switching to colour frame buffer device 80x30
fb0: W100FB frame buffer device
keyboard initilaized.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
SharpSL serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xf8100000x (irq = 14) is a 16550A
ttyS01 at 0xf8700000x (irq = 12) is a 16550A, using IRDA
ttyS02 at 0xf8200000x (irq = 13) is a 16550A
rs_init: IRDA H/W initializaion
sharpled_init: done.
corgi remote controller
Cotulla Real Time Clock driver v1.00
Cotulla Touch Screen driver initialized
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
loop: loaded (max 8 devices)
PPP generic driver version 2.4.1
PPP BSD Compression module registered
ide_cs.c 1.26 1999/11/16 02:10:49 (David Hinds)
Corgi audio driver initialize
Sharp SL series flash device: 1000000 at 0
Using static partision definition
Creating 1 MTD partitions on "sharpsl-flash":
0x00120000-0x007f0000 : "Filesystem"
NAND device: Manufacture ID: 0xec, Chip ID: 0x79 (Samsung K9D1G08V0M)
Creating 3 MTD partitions on "Samsung K9D1G08V0M":
0x00000000-0x00700000 : "smf"
0x00700000-0x03900000 : "root"
0x03900000-0x08000000 : "home"
Linux Kernel Card Services 3.1.22
options: [pm]
Intel PXA250/210 PCMCIA (CS release 3.1.22)
pxa_pcmcia_init(0)
pxa_pcmcia_init(1)
Backlight Driver Initialized.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
BlueZ L2CAP ver 2.3 Copyright © 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
BlueZ RFCOMM ver 1.1
Copyright © 2002 Maxim Krasnyansky <maxk@qualcomm.com>
Copyright © 2002 Marcel Holtmann <marcel@holtmann.org>
BlueZ BNEP ver 1.1
Copyright © 2001,2002 Inventel Systemes
Written 2001,2002 by Clement Moreau <clement.moreau@inventel.fr>
Written 2001,2002 by David Libault <david.libault@inventel.fr>
Copyright © 2002 Maxim Krasnyanskiy <maxk@qualcomm.com>
NetWinder Floating Point Emulator V0.95 © 1998-1999 Rebel.com
IrCOMM protocol (Dag Brattli)
cramfs: wrong magic
FAT: bogus logical sector size 381
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing init memory: 152K
pxa_sd_wait_response: card removed (cmd=00)
pxa_sd_wait_id_response: card removed (cmd=00)
pxa_sd_wait_id_response: card removed (cmd=00)
SD Driver Initialized.
sharp_mmcsd 0.21 27 Sep 2002
usbdm: usbd_monitor 0.3 035 2002-06-12 20:00
monitor_connected: 1
monitor_load:
monitor_hotplug: agent: usbd interface: monitor action: load
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
net_fd 0.1 035 2002-06-12 20:00 (dbg="",alwaysup=0,OUT=64,IN=64)
vendorID: 4dd productID: 9031
pxa_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
monitor_modinit: finished
[w100fb] set 640x480 (VGA 90 degree)
start check battery !
pxa_pcmcia_init(0)
monitor_hotplug: agent: usbd interface: monitor action: suspend
udc_disable: ep0_urb already NULL
udc_disable: ep0_urb already NULL
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 exiting
monitor_pm_event: suspend finished (rc=0)
pxa_sd_wait_response: card removed (cmd=00)
sharp_sl_nand_suspend
return to suspend ....
FCS : CCCR = 161
sharp_sl_nand_resume
pxa_pcmcia_init(0)
pxa_pcmcia_init(1)
[SD]-clustsize = 4000
hotplug_schedule_bh: schedule bh
hotplug_bh:
monitor_connected: 1
monitor_restore: RESTORE_LOADED
monitor_hotplug: agent: usbd interface: monitor action: restore-loaded
VFS: Disk change detected on device mmcd(60,1)
Partition check:
mmcda: mmcda1
VFS: Disk change detected on device mmcd(60,1)
mmcda: mmcda1
VFS: Disk change detected on device mmcd(60,1)
mmcda: mmcda1
MSDOS FS: IO charset utf8
VFS: Disk change detected on device mmcd(60,1)
VFS: busy inodes on changed media.
mmcda: mmcda1
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
net_fd 0.1 035 2002-06-12 20:00 (dbg="",alwaysup=0,OUT=64,IN=64)
vendorID: 4dd productID: 9031
pxa_bi 0.1-alpha 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
zaai
Your dmesg looks pretty normal. pcmcia gets initialized. I hope you used your usb cable with ssh to get the output to your desktop, or copy it using a cf memory card. Else its a pretty tough haul typing all that stuff unsure.gif

iwconfig tells you that no wifi driver is loaded. That means the card isn't recognized.
to verify this you can type
CODE
lsmod

This lists all loaded module.
My lsmode shows that pxa_bi, net_fd, usbdcore, spectrum_cs, orinoco, hermes, usbdmonitor, sharp_mmcsd_m are loaded

I'm not sure why I have all three wifi drivers loaded but heh, I'm not complaining, it works.

QUOTE
Edit file "/etc/pcmcia/wlan-ng.conf" At the end add the following

card "Origo" (or some other description, not important)
  version ""WLAN", "11Mbps_PC-Card_3.0", "ISL37100P", "Eval-RevA"
  bind "prism2_cs"

This is not for the pdaXrom I assume since it doesn't have the wlan-ng.conf.
In your case you need to add the card to /etc/pcmcia/hermes.conf
Try using the orinoco_cs binding instead.
I'm not sure how important the indentation for the second and third line is but better to put it in.
So it looks something like this:
CODE
cat /etc/pcmcia/hermes.conf
# Wireless network adapters
#
# We should use the manfid which cover multiple cards), otherwise we will
# go crazy listing all cards and their variations!!!
<snip>
# Third class of device : other Intersil clones
card "Origo"
  version ""WLAN", "11Mbps_PC-Card_3.0", "ISL37100P", "Eval-RevA"
  bind "orinoco_cs"
<snip>


Like the comment says, it is better to use the manfid. I don't know what the manfid of your card is but you can find out with 'cardctl ident'. It lists the manfid line under the product info.
So if the above example doesn't work then comment out 'version' and put your card's manfid in there. For example:
CODE
card "Origo"
#   version ""WLAN", "11Mbps_PC-Card_3.0", "ISL37100P", "Eval-RevA"
  manfid 0x0156,0x0002
  bind "orinoco_cs"

Of course you need to use the real manfid, not my example.
What is your manfid by the way?

Hope this gets some results
xatax
QUOTE(phillvs @ Jul 19 2004, 09:52 PM)
[...]
CPU: Intel XScale-PXA255 revision 6
Machine: SHARP Shepherd
Converting old-style param struct to taglist
Memory clock: 99.53MHz (*27)
Run Mode clock: 199.07MHz (*2)
Turbo Mode clock: 398.13MHz (*2.0, active)
[...]

Sorry to be OT here, but again ("again" because I've already asked this in another thread but found no answer):

What is the difference between "Run Mode clock" and "Turbo Mode clock"?
When does the processor works in "Turbo Mode"? When in "Run Mode"?

Thanks in advance.
macwiz
I have an origo card and it now works fine with pdaxrom. I find that what you need to do to get it working depends on which version of the rom you are using.

Jump through hoops if its the 1.0.5, but it works ok in RC5, and there is one small hoop at the moment with RC8

What are you using?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.