OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 Hardware => Topic started by: russilwvong on September 06, 2005, 02:41:07 am
-
I'm trying to get a Symbol Wireless Networker CF card (Symbol Spectrum24 High Rate Wireless Networker, P/N LA-4137-1020-WW) working with my SL-5500, Sharp ROM 3.10. Two questions:
(1) If you have a wireless CF card (_any_ brand) that is working on the SL-5500 with the 3.10 ROM, what is the output of dmesg, cardctl ident, iwconfig, etc. supposed to look like?
(2) Has anyone gotten this card working with the 3.10 ROM?
From what I can tell, the card seems to be recognized, and the light flashes a couple times when I first plug it in, but never after that. I assume that means it's not working; or is it that it can't talk to the wireless router (a Netgear WGR614)?
I'm assuming that this is the device described in section 3.10 of Jean Tourrilhes's Linux Wireless Howto, and that the driver which should be used is the one in section 3.13:
http://www.hpl.hp.com/personal/Jean_Tourri...rs.802.11b.html (http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Linux.Wireless.drivers.802.11b.html)
Do I need to install the driver, or is it included in the 3.10 ROM?
dmesg:
...
eth0: Station identity 0021:0002:0002:0001
eth0: Looks like a Symbol firmware version [F3.10-06] (parsing to 31006)
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
eth0: MAC address 00:A0:F8:A0:C3:56
eth0: Station name "Prism I"
eth0: ready
eth0: index 0x01: Vcc 3.3, irq 35, io 0xc5670000-0xc5670047
sa1100_pcmcia_suspend(0) <-- what does this mean?
ifconfig eth0:
eth0 Link encap:Ethernet HWaddr 00:A0:F8:A0:C3:56
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:35
cardctl ident:
Socket 0:
product info: "Symbol", "Spectrum24 LA4100 Series WLAN PC Card", "1.00"
manfid: 0x026c, 0x0001
function: 6 (network)
Socket 1:
no product info available
iwconfig eth0:
eth0 IEEE 802.11-DS ESSID:"" Nickname:"Prism I"
Mode:Managed Bit Rate:11Mb/s Tx-Power=15 dBm
RTS thr:off
lsmod:
Module Size Used by
sa1100_bi 23088 0 (unused)
net_fd 16688 0 (unused)
usbdcore 22592 0 [sa1100_bi net_fd]
kbdsim 1008 0
usbdmonitor 5488 0
sharp_mmcsd_m 27408 2
devinfo 2912 0 (unused)
/etc/pcmcia/spectrum.conf:
device "spectrum_cs"
# class "network" module "hermes", "orinoco", "spectrum_cs"
class "spectrum" module "hermes", "orinoco", "spectrum_cs"
card "LA4100 Spectrum24 CF WLAN Card"
manfid 0x026c, 0x0001
bind "spectrum_cs"
card "Socket Communications CF+ LP WLAN Card"
manfid 0x0104, 0x0001
bind "spectrum_cs"
The symptoms seem pretty similar to those described in this thread, using a different wireless CF card:
https://www.oesf.org/forums/index.php?showtopic=10359 (https://www.oesf.org/forums/index.php?showtopic=10359)
Unfortunately the poster in that thread never found a solution, and ended up returning the card.
-
Do I need to install the driver, or is it included in the 3.10 ROM?
Looks like the driver is not included: "modprobe hermes" etc doesn't work, "ls -R /lib/modules" shows it's not there.
Next question: is there somewhere where I can get hermes.o, orinoco.o, and spectrum_cs.o for 2.4.18-rmk7-pxa3-embedix? (myzaurus.com has them compiled for 2.4.6-rmk1-np2-embedix, but I don't want to downgrade to the original Sharp ROM -- in fact I'm not sure it'll be possible without a CF memory card, which I don't have.)
-
Okay, I figured out how to restore the 2.37 Sharp ROM: the 3.10 ROM includes an UpdateROM utility. I just needed to download the ospack from this page:
http://www.myzaurus.com/ROMupdate3.asp (http://www.myzaurus.com/ROMupdate3.asp)
Transferred ospack to the internal RAM on the Zaurus, renamed it ospack.srom, ran UpdateROM. Verified that the Zaurus was working properly. Then uninstalled the 3.10 PC software and installed the 2.37 PC software. This thread was helpful (although the original poster ended up installing from a CF card instead of using UpdateROM):
https://www.oesf.org/forums/index.php?showtopic=5982&hl= (https://www.oesf.org/forums/index.php?showtopic=5982&hl=)
Too bad, because Opera 6 was an improvement over Opera 5. Oh well.
Once I'd rolled back to 2.37, I was able to download the device driver for the Symbol Spectrum24 High Rate Wireless Networker CompactFlash Card (LA4137) from this page:
http://www.myzaurus.com/downloads.asp (http://www.myzaurus.com/downloads.asp)
After installing it, dmesg and lsmod show that hermes.o, orinoco.o, and spectrum_cs.o are loaded correctly when I insert the CF card. And the CF card's LED is flashing continuously now.
I still don't have the Zaurus talking to the wireless router yet -- now I need to figure out the various configuration files under /etc/pcmcia. http://www.tldp.org/HOWTO/PCMCIA-HOWTO-4.html (http://www.tldp.org/HOWTO/PCMCIA-HOWTO-4.html)
-
Okay, after looking through the scripts under /etc/pcmcia (particularly network), I've got the Zaurus talking to the Internet through the router! I turned off DHCP and assigned an IP address statically.
-
Here's the output, now that everything's running; I've turned on DHCP, and left the SSID unspecified, and everything still seems to work.
I also discovered that you can download Opera 7.55 from the IBM website:
http://www.handhelds.org/hypermail/opie/96/9660.html (http://www.handhelds.org/hypermail/opie/96/9660.html)
cardctl ident:
Socket 0:
product info: "Symbol", "Spectrum24 LA4100 Series WLAN PC Card", "1.00"
manfid: 0x026c, 0x0001
function: 6 (network)
Socket 1:
no product info available
lsmod:
Module Size Used by
sa1100_bi 44112 0 (unused)
net_fd 35888 0 [sa1100_bi]
usbdcore 21504 0 [sa1100_bi net_fd]
kbdsim 1008 0 (unused)
usbdmonitor 5808 0
spectrum_cs 76128 1
orinoco 37584 0 [spectrum_cs]
hermes 4928 0 [spectrum_cs orinoco]
sharp_mmcsd_m 26576 2
devinfo 3072 0 (unused)
iwconfig eth0:
eth0 IEEE 802.11-DS ESSID:"NETGEAR" Nickname:"Prism I"
Mode:Managed Frequency:2.462GHz Access Point: 00:0F:B5:65:8F:02
Bit Rate:11Mb/s Tx-Power=15 dBm
Retry limit:16 RTS thr:off Fragment thr=0 B
Encryption key:off
Power Management:off
ifconfig eth0:
eth0 Link encap:Ethernet HWaddr 00:A0:F8:A0:C3:56
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1865 (1.8 Kb) TX bytes:0 (0.0 b)
Interrupt:35
cat /etc/pcmcia/spectrum.conf:
I also copied these entries to the top of wlan-ng.conf.
device "spectrum_cs"
class "wlan-ng" module "hermes", "orinoco", "spectrum_cs"
card "LA4100 Spectrum24 CF WLAN Card"
manfid 0x026c, 0x0001
bind "spectrum_cs"
card "Socket Communications CF+ LP WLAN Card"
manfid 0x0104, 0x0001
bind "spectrum_cs"
wlan-ng.opts:
...
WLAN_VERSION=0
WLAN_PATCHLEVEL=1
WLAN_SUBLEVEL=12
WLAN_EXTRAVERSION=-shp
case "$ADDRESS" in
wlannoenable,*,*,*)
#=======ENABLE========================================
# Do we want to enable the card at all? Set to 'n' if you don't
# want the card initialized for normal operation. Helpful for
# (re)loading flash or for test purposes.
WLAN_ENABLE=n
;;
*,*,*,*)
#=======ENABLE========================================
# Do we want to enable the card at all? Set to 'n' if you don't
# want the card initialized for normal operation. Helpful for
# (re)loading flash or for test purposes.
WLAN_ENABLE=y
#=======USER MIB SETTINGS=============================
# You can add the assignments for various MIB items
# of your choosing to this variable, separated by
# whitespace. The wlan-ng script will then set each one.
# Just uncomment the variable and set the assignments
# the way you want them.
#USER_MIBS="p2CnfRoamingMode=1"
#=======WEP===========================================
# [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true
dot11PrivacyInvoked=false # true|false
dot11WEPDefaultKeyID=0 # 0|1|2|3
dot11ExcludeUnencrypted=true # true|false, in AP this means WEP
# is required for all STAs
# If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
# keys (just a convenience)
PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
PRIV_KEY128=false # keylength to generate
PRIV_GENSTR=""
# or set them explicitly. Set genstr or keys, not both.
dot11WEPDefaultKey0= # format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1= # xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or
dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d
#=======SELECT STATION MODE===================
IS_ADHOC=y # y|n, y - adhoc, n - infrastructure
#=======INFRASTRUCTURE STATION START===================
# SSID is all we have for now
AuthType="opensystem" # opensystem | sharedkey (requires WEP)
DesiredSSID=""
#=======ADHOC STATION START============================
SSID="" # SSID
BCNINT=100 # Beacon interval (in Kus)
CHANNEL=11 # DS channel for BSS (1-14, depends
# on regulatory domain)
BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s)
OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)
;;
esac
network.opts:
case "$ADDRESS" in
*,*,*,*)
INFO="Sample private network setup"
# Transceiver selection, for some cards -- see 'man ifport'
IF_PORT=""
# Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
BOOTP="n"
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
DHCP="y"
# If you need to explicitly specify a hostname for DHCP requests
DHCP_HOSTNAME=""
# Host's IP address, netmask, network address, broadcast address
IPADDR=""
NETMASK="255.255.255.0"
NETWORK=""
BROADCAST=""
# Gateway address for static routing
GATEWAY=""
# Things to add to /etc/resolv.conf for this interface
DOMAIN=""
SEARCH=""
DNS_1=""
DNS_2=""
DNS_3=""
# NFS mounts, should be listed in /etc/fstab
MOUNTS=""
# If you need to override the interface's MTU...
MTU=""
# For IPX interfaces, the frame type and network number
IPX_FRAME=""
IPX_NETNUM=""
# Extra stuff to do after setting up the interface
start_fn () { return; }
# Extra stuff to do before shutting down the interface
stop_fn () { return; }
# Card eject policy options
NO_CHECK=n
NO_FUSER=n
;;
esac
dmesg:
Linux version 2.4.6-rmk1-np2-embedix-011228 (matty@raiden) (gcc version 2.95.2 19991024 (release)) #1 2002ǯ 6·î21Æü(¶â) 09»þ07ʬ33Éà JST
Processor: Intel StrongARM-1110 revision 9
Architecture: Sharp-Collie
...
hermes.c: 7 Jun 2002 David Gibson
orinoco.c 0.12 (David Gibson and others)
spectrum_cs.c 0.3.4
eth0: Station identity 0021:0002:0002:0001
eth0: Looks like a Symbol firmware version [F3.10-06] (parsing to 31006)
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
eth0: MAC address 00:A0:F8:A0:C3:56
eth0: Station name "Prism I"
eth0: ready
eth0: index 0x01: Vcc 3.3, irq 35, io 0xf6000000-0xf6000047
...
orinoco_ioctl(35585)
orinoco_ioctl(35595)
orinoco_ioctl(35587)
orinoco_ioctl(35589)
orinoco_ioctl(35593)
orinoco_ioctl(35627)
orinoco_ioctl(35611)
orinoco_ioctl(35605)
orinoco_ioctl(35613)
orinoco_ioctl(35617)
orinoco_ioctl(35619)
orinoco_ioctl(35621)
orinoco_ioctl(35591)
orinoco_ioctl(35629)
orinoco_ioctl(35623)
orinoco_ioctl(35625)
-
From your last post it looks like you got things working w/o WEP. Were you ever able to successfully get the Symbol WiFi card working with WEP? I was running the older Sharp ROM, then upgraded to 3.10 and things still worked, WEP and all for years. Then I had a system crash and now cannot get the right driver set installed.
FYI I did find some drivers for the 2.4.18 kernel from ipkfind....worth a look there!
jim
-
I haven't gotten around to trying WEP yet. If I do, I'll post an update here....