OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: SiduS on May 06, 2007, 01:10:49 pm

Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: SiduS on May 06, 2007, 01:10:49 pm
Hey,

Man I have nothing but problems doing anything.

So I got pdaxii13 full for my sl-c3200. Stupidity on my part.

So I'm hoping this is just more stupidity on my part and a simple fix.

I have a TRENDnet TEW-222CF wifi card.

It worked just fine in Beta3 and loaded as a Orinoco Prism2

Now when I plug it in it shows in the Card Monitor as:

Agere Systems Hermes-I based PCMCIA Wireless Adapter

I look at dmesg and all it shows is:

pxa_pcmcia_init(0)
: Wireless, HCF failure: "Error code 64"

I try

cardctl status and it shows

Socket 0:
5V 16-bit PC Card
function 0: [ready]

Socket1:
3.3V 16-bit PC Card
function 0: [ready], [bat dead], [bat low]

I don't remember having to do anything in beta3 to get it to work.

Any suggestions?
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: T3_slider on May 06, 2007, 11:30:47 pm
Hermes WiFi support was added in pdaXii13 5.3.4 as far as I can tell, and it seems to have messed up some other cards. From this thread ( https://www.oesf.org/forums/index.php?showt...systems&st=240# (https://www.oesf.org/forums/index.php?showtopic=22798&hl=agere%20systems&st=240#) ) Meanie said to try deleting /etc/pcmcia/hermes.conf, restarting the PCMCIA service, and seeing what cardctl ident shows, but someone else (Fatty) said it didn't work.

You could try deleting /etc/pcmcia/hermes.conf and seeing if that works. Otherwise you could reflash to version 5.3.3 if you can find it which should work.
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Meanie on May 06, 2007, 11:36:51 pm
Quote
Hermes WiFi support was added in pdaXii13 5.3.4 as far as I can tell, and it seems to have messed up some other cards. From this thread ( https://www.oesf.org/forums/index.php?showt...systems&st=240# (https://www.oesf.org/forums/index.php?showtopic=22798&hl=agere%20systems&st=240#) ) Meanie said to try deleting /etc/pcmcia/hermes.conf, restarting the PCMCIA service, and seeing what cardctl ident shows, but someone else (Fatty) said it didn't work.

You could try deleting /etc/pcmcia/hermes.conf and seeing if that works. Otherwise you could reflash to version 5.3.3 if you can find it which should work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160665\"][{POST_SNAPBACK}][/a][/div]

try deletimg /etc/pcmcia/agere and /etc/pcmcia/hermes as well...
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: zeigerpuppy on May 07, 2007, 12:15:03 am
Quote
try deletimg /etc/pcmcia/agere and /etc/pcmcia/hermes as well...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160669\"][{POST_SNAPBACK}][/a][/div]

Does the same apply for r198, my Socket card has stopped working?
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: SiduS on May 08, 2007, 11:29:00 am
Quote
try deletimg /etc/pcmcia/agere and /etc/pcmcia/hermes as well...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160669\"][{POST_SNAPBACK}][/a][/div]

Didn't make a difference.
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Fatty on May 08, 2007, 11:45:32 am
Quote
Quote
try deletimg /etc/pcmcia/agere and /etc/pcmcia/hermes as well...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160669\"][{POST_SNAPBACK}][/a][/div]

Didn't make a difference.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160787\"][{POST_SNAPBACK}][/a][/div]

Can you post your

cardctl ident
cat /var/lib/pcmcia/stab

for Meanie's checking? My Z has been flashed back to 5.3.3 (again).
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Meanie on May 08, 2007, 12:03:38 pm
Quote
Quote
Quote
try deletimg /etc/pcmcia/agere and /etc/pcmcia/hermes as well...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160669\"][{POST_SNAPBACK}][/a][/div]

Didn't make a difference.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160787\"][{POST_SNAPBACK}][/a][/div]

Can you post your

cardctl ident
cat /var/lib/pcmcia/stab

for Meanie's checking? My Z has been flashed back to 5.3.3 (again).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160792\"][{POST_SNAPBACK}][/a][/div]

i need output for 5.3.3 (when its working) and 5.4.1 (when its not working) to compare.

actually, send me all the .conf files under /etc/pcmcia and also the config file under /etc/pcmcia for 5.3.3
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Fatty on May 08, 2007, 12:32:18 pm
Quote
i need output for 5.3.3 (when its working) and 5.4.1 (when its not working) to compare.

actually, send me all the .conf files under /etc/pcmcia and also the config file under /etc/pcmcia for 5.3.3
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160794\"][{POST_SNAPBACK}][/a][/div]

Here are 5.3.3 outputs:

cardctl ident
Socket 0:
  product info: "Pretec", "CompactWLAN Card 802.11b", "2.5"
  manfid: 0x0156, 0x0002
  function: 6 (network)
Socket 1:
  product info: "", "TWTTI", ""
  manfid: 0x000a, 0x0000
  function: 4 (fixed disk)

cat /var/lib/pcmcia/stab
Socket 0: Pretec CompactWLAN Card 802.11b
0   hermes   orinoco_cs   0   wlan0
Socket 1: ATA/IDE Fixed Disk
1   ide   ide-cs   0   hda   3   0

Also attached everything in /etc/pcmcia. (in bz2)
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Meanie on May 08, 2007, 01:06:38 pm
Quote
Quote
i need output for 5.3.3 (when its working) and 5.4.1 (when its not working) to compare.

actually, send me all the .conf files under /etc/pcmcia and also the config file under /etc/pcmcia for 5.3.3
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160794\"][{POST_SNAPBACK}][/a][/div]

Here are 5.3.3 outputs:

cardctl ident
Socket 0:
  product info: "Pretec", "CompactWLAN Card 802.11b", "2.5"
  manfid: 0x0156, 0x0002
  function: 6 (network)
Socket 1:
  product info: "", "TWTTI", ""
  manfid: 0x000a, 0x0000
  function: 4 (fixed disk)

cat /var/lib/pcmcia/stab
Socket 0: Pretec CompactWLAN Card 802.11b
0   hermes   orinoco_cs   0   wlan0
Socket 1: ATA/IDE Fixed Disk
1   ide   ide-cs   0   hda   3   0

Also attached everything in /etc/pcmcia. (in bz2)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160798\"][{POST_SNAPBACK}][/a][/div]

ok, i think i found the problem. i will upload a build 5.4.2 tomorrow for testing...
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Fatty on May 08, 2007, 01:21:41 pm
Wow, thank you so much!
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: SiduS on May 08, 2007, 01:29:33 pm
Quote
i need output for 5.3.3 (when its working) and 5.4.1 (when its not working) to compare.

actually, send me all the .conf files under /etc/pcmcia and also the config file under /etc/pcmcia for 5.3.3
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160794\"][{POST_SNAPBACK}][/a][/div]


I'll have to flash back to pdaxii13.

I flashed to R198 and I think its picking it up properly now. Here's the output from dmesg.

pccard: PCMCIA card inserted into slot 1
pcmcia: registering new device pcmcia1.0
eth0: Hardware identity 800c:0000:0001:0000
eth0: Station identity 001f:0002:0001:0004
eth0: Firmware determined as Intersil 1.4.2
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEB supported. 104-bit key
eth0: MAC address 00:E0:98:AF:1C:E4
eth0: Station name "Prism I"
eth0: ready
eth0: index 0x01: Vcc 5.0. irq 137. io 0xc4840000-0xc484003f


The card is a Prism II so i don't know if that Station name part is important.

I don't know enough to get the card to connect. its missing its network script file. So I just created one quickly but probably did it wrong. And I configured the lan / wifi tool in X to a correct profile but it wont connect.

However iwconfig does show good output just not associated to anything.

I can't find the cardctl command to give you that output.

And the only .conf files in /etc/pcmcia were related to usb and bluetooth and the config.opts file.
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: InSearchOf on May 08, 2007, 01:45:53 pm
Quote
Quote
i need output for 5.3.3 (when its working) and 5.4.1 (when its not working) to compare.

actually, send me all the .conf files under /etc/pcmcia and also the config file under /etc/pcmcia for 5.3.3
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160794\"][{POST_SNAPBACK}][/a][/div]


I'll have to flash back to pdaxii13.

I flashed to R198 and I think its picking it up properly now. Here's the output from dmesg.

pccard: PCMCIA card inserted into slot 1
pcmcia: registering new device pcmcia1.0
eth0: Hardware identity 800c:0000:0001:0000
eth0: Station identity 001f:0002:0001:0004
eth0: Firmware determined as Intersil 1.4.2
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEB supported. 104-bit key
eth0: MAC address 00:E0:98:AF:1C:E4
eth0: Station name "Prism I"
eth0: ready
eth0: index 0x01: Vcc 5.0. irq 137. io 0xc4840000-0xc484003f


The card is a Prism II so i don't know if that Station name part is important.

I don't know enough to get the card to connect. its missing its network script file. So I just created one quickly but probably did it wrong. And I configured the lan / wifi tool in X to a correct profile but it wont connect.

However iwconfig does show good output just not associated to anything.

I can't find the cardctl command to give you that output.

And the only .conf files in /etc/pcmcia were related to usb and bluetooth and the config.opts file.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160808\"][{POST_SNAPBACK}][/a][/div]


in 2.6 kernel is it pccardctl

Late
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: SiduS on May 08, 2007, 01:57:53 pm
pccardctl ident
Socket 1:
product info: "Wireless", "LAN Adapter", "Version 01.02", ""
manfid: 0x0156, 0x0002
function: 6 (network)

pccardctl status
Socket 1:
5.0V 16-bit PC Card
Subdevice 0 (function 0) bound to driver "orinoco_cs"
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: SiduS on May 10, 2007, 12:54:36 pm
Any updates on this yet?
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Fatty on May 10, 2007, 01:47:25 pm
Quote
Any updates on this yet?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160971\"][{POST_SNAPBACK}][/a][/div]

Meanie has uploaded new 5.4.2 for testing. I have tested it together with hdimage-full.tgz 5.4.1beta and got same result. Since I've flashed back to 5.3.3 again, can you try also?
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Fatty on May 10, 2007, 02:25:01 pm
I flashed to 5.4.2 base. The version showed 5.4.2 (Sally). And the Pretec wifi ... has the same result. Error code 64 on dmesg. cardctl ident is the same. cat /var/lib/pcmcia/stab showed:

Socket 0: Agere systems Hermes-I based PCMCIA wireless Adapter
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Meanie on May 11, 2007, 02:30:41 am
Quote
I flashed to 5.4.2 base. The version showed 5.4.2 (Sally). And the Pretec wifi ... has the same result. Error code 64 on dmesg. cardctl ident is the same. cat /var/lib/pcmcia/stab showed:

Socket 0: Agere systems Hermes-I based PCMCIA wireless Adapter
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160977\"][{POST_SNAPBACK}][/a][/div]


delete /etc/pcmcia/wlags49.conf
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: SiduS on May 15, 2007, 09:31:36 pm
Ok back to pdaxii13 (5.4.1)

cardctl ident:

Socket 0:
product info: "Wireless", "LAN Adapter", "Version 01.02", ""
manfid: 0x0156, 0x0002
function: 6 (network)

/etc/pcmcia/
 [ You are not allowed to view attachments ]

Let me know if you need any other information
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: SiduS on May 15, 2007, 09:38:49 pm


Wahoo.. I deleted the wlags49.conf and it worked.

Thanks so much!
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Fatty on May 16, 2007, 07:47:43 am
Thanks Meanie, the Pretec wifi card now works with 5.4.3 without any tweak!
Title: Wifi Worked In Beta3. Fails In Pdaxii13
Post by: Meanie on May 19, 2007, 01:43:07 am
Quote
Thanks Meanie, the Pretec wifi card now works with 5.4.3 without any tweak!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=161428\"][{POST_SNAPBACK}][/a][/div]

so does my Sandisk and Netgear wifi cards

i am not going to tinker around in that area anymore so to avoid accidentally messing it up again...