Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Nick Kossifidis" <mickflemm@gmail.com>
To: "Zack Weinberg" <zackw@panix.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Getting ath5k driver working with Thinkpad T61 [168c:1014]
Date: Thu, 15 May 2008 22:44:59 +0300	[thread overview]
Message-ID: <40f31dec0805151244o2438c3bfrbbe065ab58a7198@mail.gmail.com> (raw)
In-Reply-To: <eb97335b0805141024w6afa864j860b312b072faa8a@mail.gmail.com>

2008/5/14 Zack Weinberg <zackw@panix.com>:
> I have a shiny new Thinkpad T61 and I'd like to get its wireless
> chipset working with the ath5k driver.  I have tried
> compat-wireless-2008-05-07 on top of kernel 2.6.25.1 -- I get this in
> dmesg:
>
> # modprobe ath5k
> [15497.699573] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level,
> low) -> IRQ 17
> [15497.699607] PCI: Setting latency timer of device 0000:03:00.0 to 64
> [15497.699665] ath5k_pci 0000:03:00.0: registered as 'phy0'
> [15498.709122] ath5k phy0: failed to wakeup the MAC Chip
> [15498.709195] ACPI: PCI interrupt for device 0000:03:00.0 disabled
> [15498.709205] ath5k_pci: probe of 0000:03:00.0 failed with error -5
>
> # lspci -vnn -s 0000:03:00.0
> 03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5212
> 802.11abg NIC [168c:1014] (rev 01)
>        Subsystem: IBM Device [1014:058a]
>        Flags: fast devsel, IRQ 17
>        Memory at df3f0000 (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, MSI 00
>        Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
>        Capabilities: [100] Advanced Error Reporting <?>
>        Capabilities: [140] Virtual Channel <?>
>        Kernel modules: ath5k
>
> ath_info does not work:
> # ath_info df3f0000
> Unable to read EEPROM Magic value!
>
> The old madwifi drivers don't work with this chip either:
> # modprobe ath_pci
> [  392.367300] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111,
> RF5112, RF2413, RF5413)
> [  392.379623] wlan: 0.9.4
> [  392.381431] ath_pci: 0.9.4
> [  392.381466] PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
> [  392.381472] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level,
> low) -> IRQ 17
> [  392.381488] PCI: Setting latency timer of device 0000:03:00.0 to 64
> [  392.385856] wifi%d: unable to attach hardware: 'Hardware didn't
> respond as expected' (HAL status 3)
> [  392.385870] ACPI: PCI interrupt for device 0000:03:00.0 disabled
>
> What can I do to help make this chip work in the near future?
>
> zw

Are you sure that ath5k from compat-wireless is being used and not the
one that comes with 2.6.25 ?
In ath5k that comes with 2.6.25 the fix Bob mentioned is not included
and PCI-E cards hang.
Have you tried blacklisting ath5k, power-cycle and only use
madwifi/ndiswrapper ?

If your card doesn't work even after disabling ath5k and power-cycle
(reboot won't work, you'll have to actually turn your system off and
on) then you might have some hw problem.


-- 
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick

  parent reply	other threads:[~2008-05-15 19:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 17:24 Getting ath5k driver working with Thinkpad T61 [168c:1014] Zack Weinberg
2008-05-14 18:38 ` Bob Copeland
2008-05-14 18:45   ` Zack Weinberg
2008-05-14 19:09     ` Bob Copeland
2008-05-15 14:41       ` Zack Weinberg
2008-05-15 16:45         ` Bob Copeland
2008-05-15 16:53           ` Zack Weinberg
2008-05-15 20:44             ` Bob Copeland
2008-05-15 19:44 ` Nick Kossifidis [this message]
2008-05-15 19:53   ` Zack Weinberg
2008-05-16  0:50 ` Nick Kossifidis
2008-06-03 21:45   ` Zack Weinberg
2008-06-05 21:50     ` Bob Copeland
  -- strict thread matches above, loose matches on Subject: below --
2008-06-16 15:24 Bob Copeland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40f31dec0805151244o2438c3bfrbbe065ab58a7198@mail.gmail.com \
    --to=mickflemm@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=zackw@panix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox