Author Topic: Cannot Get Socket Wifi Card To Work Under Oz 3.5.3  (Read 13707 times)

mscdex

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« on: August 15, 2005, 05:08:49 am »
I just installed OZ/opie 3.5.3 today (coming from stock sharp rom). The problem I'm having is I cannot get my Socket card to be recognized by OZ. I know the card works, as it worked with the spectrum drivers when I was using the sharp rom.

I've searched the OZ forums and could not find anything that would help me, seems like it's working out of the box for most people. But not for me for some reason


When I do a cardctl ident I get:

Socket 0:
  product info: "Socket", "CF+ LP WLAN Card Rev A", "1.00"
  manfid: 0x0104, 0x0001
  function: 6 (network)
Socket 1:
  no product info available


And when I do a cardctl status I get:

Socket 0:
  3.3V 16-bit PC Card
  function 0: [ready]
Socket 1:
  no card


When I do an ifconfig, only the local loopback and the usbd0 are listed.


I have even tried installing the orinoco-modules-cs package and still no go.

Do I need to list some sort of log output or anything that might help someone figure out what's going wrong?
« Last Edit: August 16, 2005, 03:17:41 am by mscdex »

mscdex

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #1 on: August 17, 2005, 04:50:52 pm »
I just installed OZ/opie 3.5.3 the other day (coming from stock sharp rom). The problem I'm having is I cannot get my Socket card to be recognized by OZ. I know the card works, as it worked with the spectrum24 drivers when I was using the sharp rom.

I've searched the OZ forums and could not find anything that would help me, seems like it's working out of the box for most people. But not for me for some reason.


When I do a cardctl ident I get:

Socket 0:
product info: "Socket", "CF+ LP WLAN Card Rev A", "1.00"
manfid: 0x0104, 0x0001
function: 6 (network)
Socket 1:
no product info available


And when I do a cardctl status I get:

Socket 0:
3.3V 16-bit PC Card
function 0: [ready]
Socket 1:
no card


When I do an ifconfig, only the local loopback and the usbd0 are listed (and the irda interface when i have it enabled).


I have even tried installing the orinoco-modules-cs package and still no go.

After a number of reboots on the zaurus and trying various things like adding an entry in the hostap_cs.conf file, reinstalling orinoco-modules and/or orinoco-modules-cs, and even installing the spectrum24 driver, still nothing is working.

I'm fairly new to the zaurus and have tried everything I can think of. Should I be reflashing it or formatting the RAM and reflashing?

Or is this all because i'm on a 5600, as I read that there are/were very little testers for OZ on poodle?

Would I need to list some sort of log output or anything that might help someone figure out what's going wrong?

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #2 on: August 17, 2005, 08:22:23 pm »
The 5600 seems to be the only model where it doesn't work out of the box. What does logread tell after card insertion? What does lsmod tell?
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

mscdex

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #3 on: August 17, 2005, 11:45:44 pm »
lsmod gives me:

Module                  Size  Used by    Tainted: P
orinoco                37092   0 (unused)
hermes                  5384   0 [orinoco]
rfcomm                 33488   0 (autoclean)
l2cap                  17028   2 (autoclean) [rfcomm]
bluez                  32616   1 (autoclean) [rfcomm l2cap]
sharp_mmcsd_m          26200   2
pxa_bi                 20028   0 (unused)
net_fd                 25012   1
usbdcore               30424   0 [pxa_bi net_fd]


Here's the part from the logread when I inserted the card after letting the Z boot up:

Aug 16 06:46:12 zaurus daemon.info cardmgr[683]: socket 0: Socket Communications CF+ LP WLAN Card
Aug 16 06:46:12 zaurus daemon.info cardmgr[683]: executing: 'modprobe hermes 2>&1'
Aug 16 06:46:12 zaurus daemon.info cardmgr[683]: + Using /lib/modules/2.4.18-rmk7-pxa3-embedix/net/hermes.o
Aug 16 06:46:12 zaurus user.debug kernel: orinoco.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others)
Aug 16 06:46:12 zaurus daemon.info cardmgr[683]: executing: 'modprobe orinoco 2>&1'
Aug 16 06:46:12 zaurus daemon.info cardmgr[683]: + Using /lib/modules/2.4.18-rmk7-pxa3-embedix/net/orinoco.o
Aug 16 06:46:12 zaurus daemon.info cardmgr[683]: executing: 'modprobe spectrum_cs 2>&1'
Aug 16 06:46:12 zaurus daemon.info cardmgr[683]: + modprobe: module spectrum_cs not found.
Aug 16 06:46:12 zaurus daemon.info cardmgr[683]: + modprobe: failed to load module spectrum_cs
Aug 16 06:46:12 zaurus daemon.notice cardmgr[683]: modprobe exited with status 1
Aug 16 06:46:12 zaurus daemon.notice cardmgr[683]: module /lib/modules/2.4.18-rmk7-pxa3-embedix/pcmcia/spectrum_cs.o not available
Aug 16 06:46:13 zaurus daemon.err cardmgr[683]: get dev info on socket 0 failed: Resource temporarily unavailable


I hope that helps. Let me know if I can do anything else to help out.

mscdex

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #4 on: August 19, 2005, 02:53:05 am »
Any ideas?

Is it something on my end that I can fix, or is it something in the OZ poodle build?

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #5 on: August 19, 2005, 04:14:30 am »
Quote
module /lib/modules/2.4.18-rmk7-pxa3-embedix/pcmcia/spectrum_cs.o not available
Sounds like your orinoco-modules package is broken. spectrum_cs is supposed to be part of it. Try to reinstall it.
« Last Edit: August 19, 2005, 04:14:48 am by Mickeyl »
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

mscdex

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #6 on: August 19, 2005, 03:33:13 pm »
Quote
Quote
module /lib/modules/2.4.18-rmk7-pxa3-embedix/pcmcia/spectrum_cs.o not available
Sounds like your orinoco-modules package is broken. spectrum_cs is supposed to be part of it. Try to reinstall it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92447\"][{POST_SNAPBACK}][/a][/div]

Reinstalled it and orinoco-modules-cs too, and still no dice, same logread output.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #7 on: August 19, 2005, 04:50:17 pm »
Then orinoco-modules is broken for poodle. This stuff happens when stuff is blindly compiled.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

mscdex

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #8 on: August 19, 2005, 07:48:39 pm »
Quote
Then orinoco-modules is broken for poodle. This stuff happens when stuff is blindly compiled.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92553\"][{POST_SNAPBACK}][/a][/div]

I found out what was going wrong. I had to redownload the orinoco-modules and orinoco-modules-cs packages directly onto the zaurus somewhere and install right from the device (rather than from Qtopa Desktop).

As soon as I did that, and a little meddling I was able to get lights blinking on the card and got network access.

Only problem I'm having now is.... I am unable to use my modem's dns server on my zaurus. It doesn't resolve when I have it in there. My modem's ip is 192.168.0.1. I'm wondering if the usbd0 interface is interfering because it's ip is 192.168.129.201. So maybe it's trying to find it on the usbd0 interface instead of eth0?

If that is the case, how can I correct that?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #9 on: August 21, 2005, 11:19:35 am »
This is the sort of thing you should start a new thread for...

Anwyay, are you saying that when your Z is plugged in you can't access DNS on the Z, or on the desktop box?

If the former, can you ping anything? If not look into setting up some routes on the desktop box, if the latter, I'm not sure, but again I imagine it's to do with your routeing,


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

mscdex

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #10 on: August 21, 2005, 05:44:46 pm »
Quote
This is the sort of thing you should start a new thread for...

Anwyay, are you saying that when your Z is plugged in you can't access DNS on the Z, or on the desktop box?

If the former, can you ping anything? If not look into setting up some routes on the desktop box, if the latter, I'm not sure, but again I imagine it's to do with your routeing,


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92724\"][{POST_SNAPBACK}][/a][/div]

I mean when I have my Z out of the cradle and is connected to my wifi network, I cannot resolve any domain names/hostnames. However, I can ping the appropriately resolved IP address from my Z. This is with the DNS server set as my DSL modem, 192.168.0.1 (This is how all my other PCs are setup).

But if I change the DNS server to some external internet IP (one from my ISP), everything resolves correctly.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #11 on: August 22, 2005, 06:33:39 am »
Interesting. No idea I'm afraid.

Strange that your other machines have the cable modem set as their DNS server. Can you not just leave your Z with the external IP address (as it works)?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

SteveConley

  • Newbie
  • *
  • Posts: 37
    • View Profile
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #12 on: August 22, 2005, 06:39:55 am »
You have the same card I do.

With Hentges image, I can get Wellenreiter to work - pretty neat - although after running for some period of time - about 30 minutes to an hour it will lock up. (Light still flashes on the socket unit).

ifconfig shows the eth0 interface running - but the curious thing is that the MAX address is wrong. Only two of the 6 hex digits are correct.

Any attempt to run iwconfig immediately locks up the unit.

I manually added the necessary entries to /etc/network/interfaces.

For grins, I added the exact text and manfid to the various pcmcia config files did not seem to help.

From the various posts, I get the impression that the problem is the orinoco module that is not "patched" is in the kernel - and this has some sort of bug.

If I get it figured out, I will post the details.

I also get the following errors (dmesg). You might check at see if you get the same problem:

rinoco.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others)
spectrum_cs.c 0.4.2 (Pavel Roskin <proski@gnu.org> and others)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfd20) does not match type (0x0021)
hermes @ IO 0xf6000000: Truncating LTV record from 129544 to 8 bytes. (rid=0xfd20, len=0xfd05)
eth0: Station identity 0002:0001:4920:2000
eth0: Looks like a Lucent/Agere firmware version 18720.8192
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc01) does not match type (0x5e00)
hermes @ IO 0xf6000000: Truncating LTV record from 129030 to 6 bytes. (rid=0xfc01, len=0xfc04)
eth0: MAC address 14:1C:01:00:20:49
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc0e) does not match type (0x7200)
hermes @ IO 0xf6000000: Truncating LTV record from 129058 to 34 bytes. (rid=0xfc0e, len=0xfc12)
eth0: Station name "m  I"
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfd10) does not match type (0x72ff)
hermes @ IO 0xf6000000: Truncating LTV record from 129538 to 2 bytes. (rid=0xfd10, len=0xfd02)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc06) does not match type (0x72ff)
hermes @ IO 0xf6000000: Truncating LTV record from 129022 to 2 bytes. (rid=0xfc06, len=0xfc00)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc83) does not match type (0x722b)
hermes @ IO 0xf6000000: Truncating LTV record from 129026 to 2 bytes. (rid=0xfc83, len=0xfc02)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc25) does not match type (0x722b)
hermes @ IO 0xf6000000: Truncating LTV record from 129022 to 2 bytes. (rid=0xfc25, len=0xfc00)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc0c) does not match type (0x7264)
hermes @ IO 0xf6000000: Truncating LTV record from 129026 to 2 bytes. (rid=0xfc0c, len=0xfc02)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc0d) does not match type (0x7264)
hermes @ IO 0xf6000000: Truncating LTV record from 129026 to 2 bytes. (rid=0xfc0d, len=0xfc02)
eth0: ready
eth0: index 0x01: Vcc 3.3, irq 39, io 0xf6000000-0xf6000047
(Poodle, TOPRAM 1GB SD, SimpleTech 1GB CF, Socket LP WLan CF)

SteveConley

  • Newbie
  • *
  • Posts: 37
    • View Profile
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #13 on: August 22, 2005, 07:19:19 am »
Quote
Quote
Then orinoco-modules is broken for poodle. This stuff happens when stuff is blindly compiled.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92553\"][{POST_SNAPBACK}][/a][/div]

I found out what was going wrong. I had to redownload the orinoco-modules and orinoco-modules-cs packages directly onto the zaurus somewhere and install right from the device (rather than from Qtopa Desktop).

[div align=\"right\"][a href=\"index.php?act=findpost&pid=92573\"][{POST_SNAPBACK}][/a][/div]

mscdex,

(BTW - is your moniker from the old CDROM driver?).

I am currently trying Hentges image. Seems to be working MUCH better on Poodle that the standard distribution although I still have occasional suspend issues.

Regarding the Socket WLAN card (which I used to use under the Sharp ROM):

I can get Mickey's Wellenreiter to run nicely with my socket card which is identical to yours - but as you found, if I even try to call the opie-network applet or execute any form of the iwconfig command, it totally locks up (with the card still flashing).

I get the following errors in dmsg:

orinoco.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others)
spectrum_cs.c 0.4.2 (Pavel Roskin <proski@gnu.org> and others)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfd20) does not match type (0x0021)
hermes @ IO 0xf6000000: Truncating LTV record from 129544 to 8 bytes. (rid=0xfd20, len=0xfd05)
eth0: Station identity 0002:0001:4920:2000
eth0: Looks like a Lucent/Agere firmware version 18720.8192
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc01) does not match type (0x5e00)
hermes @ IO 0xf6000000: Truncating LTV record from 129030 to 6 bytes. (rid=0xfc01, len=0xfc04)
eth0: MAC address 14:1C:01:00:20:49
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc0e) does not match type (0x7200)
hermes @ IO 0xf6000000: Truncating LTV record from 129058 to 34 bytes. (rid=0xfc0e, len=0xfc12)
eth0: Station name "m  I"
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfd10) does not match type (0x72ff)
hermes @ IO 0xf6000000: Truncating LTV record from 129538 to 2 bytes. (rid=0xfd10, len=0xfd02)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc06) does not match type (0x72ff)
hermes @ IO 0xf6000000: Truncating LTV record from 129022 to 2 bytes. (rid=0xfc06, len=0xfc00)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc83) does not match type (0x722b)
hermes @ IO 0xf6000000: Truncating LTV record from 129026 to 2 bytes. (rid=0xfc83, len=0xfc02)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc25) does not match type (0x722b)
hermes @ IO 0xf6000000: Truncating LTV record from 129022 to 2 bytes. (rid=0xfc25, len=0xfc00)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc0c) does not match type (0x7264)
hermes @ IO 0xf6000000: Truncating LTV record from 129026 to 2 bytes. (rid=0xfc0c, len=0xfc02)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc0d) does not match type (0x7264)
hermes @ IO 0xf6000000: Truncating LTV record from 129026 to 2 bytes. (rid=0xfc0d, len=0xfc02)
eth0: ready
eth0: index 0x01: Vcc 3.3, irq 39, io 0xf6000000-0xf6000047

From everything I have seen here and elsewhere, it is apparently a bad orinoco module in the kernel.

Can you tell me exactly which one(s) you found that got you at least to the "ping" stage?

Thanks
(Poodle, TOPRAM 1GB SD, SimpleTech 1GB CF, Socket LP WLan CF)

mscdex

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Cannot Get Socket Wifi Card To Work Under Oz 3.5.3
« Reply #14 on: August 22, 2005, 02:01:55 pm »
Quote
You have the same card I do.

With Hentges image, I can get Wellenreiter to work - pretty neat - although after running for some period of time - about 30 minutes to an hour it will lock up. (Light still flashes on the socket unit).

ifconfig shows the eth0 interface running - but the curious thing is that the MAX address is wrong. Only two of the 6 hex digits are correct.

Any attempt to run iwconfig immediately locks up the unit.

I manually added the necessary entries to /etc/network/interfaces.

For grins, I added the exact text and manfid to the various pcmcia config files did not seem to help.

From the various posts, I get the impression that the problem is the orinoco module that is not "patched" is in the kernel - and this has some sort of bug.

If I get it figured out, I will post the details.

I also get the following errors (dmesg). You might check at see if you get the same problem:

rinoco.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others)
spectrum_cs.c 0.4.2 (Pavel Roskin <proski@gnu.org> and others)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfd20) does not match type (0x0021)
hermes @ IO 0xf6000000: Truncating LTV record from 129544 to 8 bytes. (rid=0xfd20, len=0xfd05)
eth0: Station identity 0002:0001:4920:2000
eth0: Looks like a Lucent/Agere firmware version 18720.8192
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc01) does not match type (0x5e00)
hermes @ IO 0xf6000000: Truncating LTV record from 129030 to 6 bytes. (rid=0xfc01, len=0xfc04)
eth0: MAC address 14:1C:01:00:20:49
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc0e) does not match type (0x7200)
hermes @ IO 0xf6000000: Truncating LTV record from 129058 to 34 bytes. (rid=0xfc0e, len=0xfc12)
eth0: Station name "m  I"
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfd10) does not match type (0x72ff)
hermes @ IO 0xf6000000: Truncating LTV record from 129538 to 2 bytes. (rid=0xfd10, len=0xfd02)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc06) does not match type (0x72ff)
hermes @ IO 0xf6000000: Truncating LTV record from 129022 to 2 bytes. (rid=0xfc06, len=0xfc00)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc83) does not match type (0x722b)
hermes @ IO 0xf6000000: Truncating LTV record from 129026 to 2 bytes. (rid=0xfc83, len=0xfc02)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc25) does not match type (0x722b)
hermes @ IO 0xf6000000: Truncating LTV record from 129022 to 2 bytes. (rid=0xfc25, len=0xfc00)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc0c) does not match type (0x7264)
hermes @ IO 0xf6000000: Truncating LTV record from 129026 to 2 bytes. (rid=0xfc0c, len=0xfc02)
hermes @ IO 0xf6000000: hermes_read_ltv(): rid  (0xfc0d) does not match type (0x7264)
hermes @ IO 0xf6000000: Truncating LTV record from 129026 to 2 bytes. (rid=0xfc0d, len=0xfc02)
eth0: ready
eth0: index 0x01: Vcc 3.3, irq 39, io 0xf6000000-0xf6000047
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92818\"][{POST_SNAPBACK}][/a][/div]

Forgot I still had this topic open. The problem I was having ended up being I was trying to install/reinstall the orinoco-modules and orinoco-modules-cs packages through Qtopia Desktop. As soon as I installed them right from the device itself, things worked fine for me.