Skip to contentSkip to conversation

Testing ath5k driver

DISCUSSION Romano Giannetti 3 participants 5 messages Jan 11, 2008 – Jan 13, 2008

lore
Share & tools
lore
#0 lore raw

Hi all,

I stumbled yesterday on the compat- package and I could not resist to test the new drivers on my laptop. (BTW, the link to the download page on http://linuxwireless.org/en/users/Drivers/ath5k is wrong).=20

I have a toshiba U305 with a Atheros chipset, marked as AR5BXB63 or AR5007EG.

06:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.= 11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Askey Computer Corp. Unknown device 7128
Flags: fast devsel, IRQ 19
Memory at 88200000 (64-bit, non-prefetchable) [size=3D64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Q=
ueue=3D0/0 Enable-
Capabilities: [60] Express Legacy Endpoint IRQ 0
Capabilities: [90] MSI-X: Enable- Mask- TabSize=3D1
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
00: 8c 16 1c 00 42 01 10 00 01 00 00 02 10 00 00 00
10: 04 00 20 88 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 01 50 00 00 4f 14 28 71
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00

I have built the yesterday compat-wireless-2.6.tar.bz2 and after all the step I have:=20

[  312.999107] ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 19 (level, lo=
w) -> IRQ 19
[  312.999141] PCI: Setting latency timer of device 0000:06:00.0 to 64
[  312.999351] ath5k_pci 0000:06:00.0: registered as 'phy0'
[  314.048568] ath5k phy0: failed to resume the MAC Chip
[  314.048652] ACPI: PCI interrupt for device 0000:06:00.0 disabled
[  314.048674] ath5k_pci: probe of 0000:06:00.0 failed with error -5

So... just to give you a data point. I am available to test things. The wireless works ok[*] with ndiswrapper and XP drivers for AR5008.

Romano

[*] Well, if I do not try to load ath5k modules. After that, and after unload it and all of the dependent modules, trying to load ndiswrapper again put the laptop in brick mode. But that's another story, I know.=20

--=20
Sorry for the disclaimer --- =A1I cannot stop it!

--
La presente comunicaci=F3n tiene car=E1cter confidencial y es para el e= xclusivo uso del destinatario indicado en la misma. Si Ud. no es el des= tinatario indicado, le informamos que cualquier forma de distribuci=F3n= , reproducci=F3n o uso de esta comunicaci=F3n y/o de la informaci=F3n c= ontenida en la misma est=E1n estrictamente prohibidos por la ley. Si Ud= =2E ha recibido esta comunicaci=F3n por error, por favor, notif=EDquelo=
inmediatamente al remitente contestando a este mensaje y proceda a con=
tinuaci=F3n a destruirlo. Gracias por su colaboraci=F3n.

This communication contains confidential information. It is for the exc= lusive use of the intended addressee. If you are not the intended addre= ssee, please note that any form of distribution, copying or use of this=
communication or the information in it is strictly prohibited by law. =
If you have received this communication in error, please immediately no= tify the sender by reply e-mail and destroy this message. Thank you for=
your cooperation.=20
-
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

2008/1/11, Romano Giannetti <[email protected]>:

Quoted 35 lines

Hi all,

I stumbled yesterday on the compat- package and I could not resist to test the new drivers on my laptop. (BTW, the link to the download page on http://linuxwireless.org/en/users/Drivers/ath5k is wrong).

I have a toshiba U305 with a Atheros chipset, marked as AR5BXB63 or AR5007EG.

06:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Askey Computer Corp. Unknown device 7128
Flags: fast devsel, IRQ 19
Memory at 88200000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint IRQ 0
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
00: 8c 16 1c 00 42 01 10 00 01 00 00 02 10 00 00 00
10: 04 00 20 88 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 01 50 00 00 4f 14 28 71
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00

I have built the yesterday compat-wireless-2.6.tar.bz2 and after all the step I have:

[  312.999107] ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 19 (level, low) -> IRQ 19
[  312.999141] PCI: Setting latency timer of device 0000:06:00.0 to 64
[  312.999351] ath5k_pci 0000:06:00.0: registered as 'phy0'
[  314.048568] ath5k phy0: failed to resume the MAC Chip
[  314.048652] ACPI: PCI interrupt for device 0000:06:00.0 disabled
[  314.048674] ath5k_pci: probe of 0000:06:00.0 failed with error -5
Quoted 9 lines

So... just to give you a data point. I am available to test things. The wireless works ok[*] with ndiswrapper and XP drivers for AR5008.

Romano

[*] Well, if I do not try to load ath5k modules. After that, and after unload it and all of the dependent modules, trying to load ndiswrapper again put the laptop in brick mode. But that's another story, I know.

It's a known bug in nic_wakeup, i've fixed it but patch is pending due to testing. Problem is that even with that fix RF2425 doesn't tx/rx, we are currently working with users to fix 2413/2414 support (radio revision 0x56) so it'll take a while (tests etc) before we make this work.

Signature · 3 lines
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick
#2 lore raw
Quoted 4 lines · Nick Kossifidis

2008/1/11, Romano Giannetti <[email protected]>:

Quoted 3 lines

[  312.999107] ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 19 (level=

, low) -> IRQ 19

Quoted 1 line
Quoted 1 line
[  312.999141] PCI: Setting latency timer of device 0000:06:00.0 to=

64

Quoted 4 lines
Quoted 4 lines
[  312.999351] ath5k_pci 0000:06:00.0: registered as 'phy0'
[  314.048568] ath5k phy0: failed to resume the MAC Chip
[  314.048652] ACPI: PCI interrupt for device 0000:06:00.0 disabled
[  314.048674] ath5k_pci: probe of 0000:06:00.0 failed with error -=

5

Quoted 3 lines
Quoted 1 line

=20
It's a known bug in nic_wakeup, i've fixed it but patch is pending du=

e

Quoted 4 lines

to testing. Problem is that even with that fix RF2425 doesn't tx/rx, we are currently working with users to fix 2413/2414 support (radio revision 0x56) so it'll take a while (tests etc) before we make this work.

Ok, understood. Please feel free to ping me if some change goes in and need testing.=20

Thanks,

	Romano=20

--=20
Sorry for the disclaimer --- =A1I cannot stop it!

--
La presente comunicaci=F3n tiene car=E1cter confidencial y es para el e= xclusivo uso del destinatario indicado en la misma. Si Ud. no es el des= tinatario indicado, le informamos que cualquier forma de distribuci=F3n= , reproducci=F3n o uso de esta comunicaci=F3n y/o de la informaci=F3n c= ontenida en la misma est=E1n estrictamente prohibidos por la ley. Si Ud= =2E ha recibido esta comunicaci=F3n por error, por favor, notif=EDquelo=
inmediatamente al remitente contestando a este mensaje y proceda a con=
tinuaci=F3n a destruirlo. Gracias por su colaboraci=F3n.

This communication contains confidential information. It is for the exc= lusive use of the intended addressee. If you are not the intended addre= ssee, please note that any form of distribution, copying or use of this=
communication or the information in it is strictly prohibited by law. =
If you have received this communication in error, please immediately no= tify the sender by reply e-mail and destroy this message. Thank you for=
your cooperation.=20
-
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

2008/1/11, Romano Giannetti <[email protected]>:

Quoted 20 lines · Nick Kossifidis
Quoted 11 lines

2008/1/11, Romano Giannetti <[email protected]>:

Quoted 9 lines

[  312.999107] ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 19 (level, low) -> IRQ 19
[  312.999141] PCI: Setting latency timer of device 0000:06:00.0 to 64
[  312.999351] ath5k_pci 0000:06:00.0: registered as 'phy0'
[  314.048568] ath5k phy0: failed to resume the MAC Chip
[  314.048652] ACPI: PCI interrupt for device 0000:06:00.0 disabled
[  314.048674] ath5k_pci: probe of 0000:06:00.0 failed with error -5
Quoted 5 lines

It's a known bug in nic_wakeup, i've fixed it but patch is pending due to testing. Problem is that even with that fix RF2425 doesn't tx/rx, we are currently working with users to fix 2413/2414 support (radio revision 0x56) so it'll take a while (tests etc) before we make this work.

Quoted 6 lines

Ok, understood. Please feel free to ping me if some change goes in and need testing.

Thanks,
Romano

ACK, thanx for the report ;-)

Signature · 3 lines
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick
#4 lore raw
In reply to Nick Kossifidis
Quoted 5 lines · Nick Kossifidis

It's a known bug in nic_wakeup, i've fixed it but patch is pending due to testing. Problem is that even with that fix RF2425 doesn't tx/rx, we are currently working with users to fix 2413/2414 support (radio revision 0x56) so it'll take a while (tests etc) before we make this work.

Nice to hear that you are working on the "no tx/rx" problem. I am working with several Atheros-based Cardbus NICs for WLAN testing and development at university and unfortunately the card we have chosen to buy a bunch of is affected by this problem. If I can be of any help in fixing the problem, please mail me! I did not digg into the at5k source code up to now, but I did modify madwifi a lot, so might be able to help investigating the problem.

My setup:

syslog
~~~~~~

Jan 11 11:42:52 merom kernel: pccard: CardBus card inserted into slot 0
Jan 11 11:42:52 merom kernel: PCI: Enabling device 0000:16:00.0 (0000 -> 0002)
Jan 11 11:42:52 merom kernel: ACPI: PCI Interrupt 0000:16:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Jan 11 11:42:52 merom kernel: ath5k_pci 0000:16:00.0: registered as 'phy1'
Jan 11 11:42:52 merom kernel: phy1: Selected rate control algorithm 'simple'
Jan 11 11:42:52 merom kernel: ath5k phy1: Atheros AR5213A chip found (MAC: 0x79, PHY: 0x45)
Jan 11 11:42:52 merom kernel: ath5k phy1: RF2112A 2GHz radio found (0x56)

lspci -n
~~~~~~~~
16:00.0 0200: 168c:0013 (rev 01)

lspci -vvv
~~~~~~~~~~
16:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Subsystem: D-Link System Inc D-Link AirPlus DWL-G650 Wireless Cardbus Adapter(rev.C)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at c4000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-

I am trying the compat-wireless-2.6 build every time something in ath5k seems to have changed, but no solution to the rx/tx problem with this card up to now :-(

The interesting thing is that at http://linuxwireless.org/en/users/Drivers/ath5k 168c:0013 is said to work OK, which it does NOT in my case.

Thank you very much for your work!

Richard

PS: Can you recommend a Dual-Band Atheros Cardbus card (abg) that is known to work fine with ath5k?