[ath5k-devel] [PATCH] ath5k: LED support on the IBM Thinkpad 11a/b/g WLAN Mini PCIe Adapter

2009-04-25 Thread Paride Legovini
Add LED support on the IBM ThinkPad 11a/b/g Wireless LAN Mini Express Adapter (AR5BXB6), found on the IBM/Lenovo Thinkpad X60/T60/Z60 series. Signed-off-by: Paride Legovini --- drivers/net/wireless/ath/ath5k/led.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a

Re: [ath5k-devel] problems with debugfs

2009-04-25 Thread Paride Legovini
On Fri, Apr 24, 2009 at 10:49:10AM -0400, Bob Copeland wrote: > > On Sat, Apr 18, 2009 at 10:53 AM, Paride Legovini > > > I tried to 'modprobe ath5k debug=0x0080', but the led_pin and > > > led_polarity files did not appear. So I tried to rmmod ath5k and

Re: [ath5k-devel] problems with debugfs

2009-04-22 Thread Paride Legovini
On Wed, Apr 22, 2009 at 01:17:18AM -0400, Adam Di Carlo wrote: > Paride Legovini writes: > > http://www.thinkwiki.org/wiki/ThinkPad_11a/b/g_Wireless_LAN_Mini_Express_Adapter > > I can confirm that the LED is now lighting on this model, installed on > a Thinkpad Z60t. By say

Re: [ath5k-devel] problems with debugfs

2009-04-21 Thread Paride Legovini
On Tue, Apr 21, 2009 at 04:14:22PM -0400, Adam Di Carlo wrote: > Paride Legovini writes: > > > I agree. I just discovered that at least three cards share the same > > PCI_ID, two of them are MiniPCI while the one I own is MiniPCI Express: > > > > http://ww

Re: [ath5k-devel] problems with debugfs

2009-04-21 Thread Paride Legovini
On Tue, Apr 21, 2009 at 10:47:26AM -0400, Bob Copeland wrote: > On Mon, Apr 20, 2009 at 12:44 AM, Paride Legovini > wrote: > > It may work for some thinkpads, but thinkwiki.org > > reports manually setting ledpin=1 as a general rule to get the led > > working with that c

Re: [ath5k-devel] problems with debugfs

2009-04-19 Thread Paride Legovini
On Sun, Apr 19, 2009 at 11:32:46PM -0400, Bob Copeland wrote: > On Mon, Apr 20, 2009 at 04:07:11AM +0200, Paride Legovini wrote: > > Are we sure that current led settings for this card, i.e. ATH_LED(0, 0), > > are not just wrong? > > No, not sure it's correct, but that&

[ath5k-devel] linux-2.6.30-rc2: disconnections

2009-04-18 Thread Paride Legovini
My system (Debian sid) is configured in this way: when I want to bring up the wireless connection, I call a script (if you're familiar with debian: ifup ath0), that calls wpa_supplicant and wpa_cli, both daemonized. When wpa_supplicant connects it tells wpa_cli, and wpa_cli calls the dhcp client. I

[ath5k-devel] problems with debugfs

2009-04-18 Thread Paride Legovini
I wanted to enable my laptop's (thinkpad x60s) wireless led with the new debugfs interface, as described e.g. here: http://www.mail-archive.com/ath5k-devel@lists.ath5k.org/msg01903.html I'm currently using linux-2.6.30-rc2. I tried to 'modprobe ath5k debug=0x0080', but the led_pin and led_po

[ath5k-devel] channel hopping behaving strangely

2009-03-03 Thread Paride Legovini
I'm not sure this is the right place for this, afaik it could be not related to ath5k directly. I'm using linux-2.6.29-rc6 and the ath5k driver found therein. If I perform these tasks in this order: # modprobe ath5k # ifconfig wlan0 up # iwconfig wlan0 essid antani the interface wlan0 is up and

Re: [ath5k-devel] A humble request - LED support for Compaq

2009-02-27 Thread Paride Legovini
Bob Copeland wrote: > On Fri, Feb 27, 2009 at 12:15 PM, Paride Legovini > wrote: >> Bob Copeland wrote: >>> We can easily get LED to work at least. >> Speaking about LEDs, it would be nice to have the values of led_pin and >> led_on configurable via module pa

Re: [ath5k-devel] A humble request - LED support for Compaq

2009-02-27 Thread Paride Legovini
Bob Copeland wrote: > We can easily get LED to work at least. Speaking about LEDs, it would be nice to have the values of led_pin and led_on configurable via module parameters or sysctl, as there are some laptops that mount a card whose ID is already listen in ath5k.h, but that behaves differen

Re: [ath5k-devel] misc problems with ath5k

2009-01-29 Thread Paride Legovini
Bob Copeland wrote: > On Wed, Jan 28, 2009 at 6:36 PM, Paride Legovini > wrote: >> Once I suspend to ram and resume, the networks link is dead. > > I'm pretty sure this has always been broken -- because ath5k always clears > the keys out on resume. 2.6.30 should help

[ath5k-devel] misc problems with ath5k

2009-01-28 Thread Paride Legovini
First of all, I'm not sure that everything I'm going to describe has really to do with ath5k. My knowledge of the Linux wireless infrastructure is not so deep. Sorry in advance. Here is the major problem: suspend/resume. I'm using linux-2.6.29-rc3, but what I'm going to describe happens also with

Re: [ath5k-devel] is the wireless led supposed to work?

2009-01-07 Thread Paride Legovini
Bob Copeland wrote: > On Tue, Jan 6, 2009 at 11:58 AM, Paride Legovini > wrote: >> 03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5212 >> 802.11abg NIC [168c:1014] (rev 01) >>Subsystem: IBM ThinkPad 11a/b/g Wireless LAN Mini Express >>

Re: [ath5k-devel] is the wireless led supposed to work?

2009-01-06 Thread Paride Legovini
Bob Copeland wrote: > On Tue, Jan 6, 2009 at 11:58 AM, Paride Legovini > wrote: >> But when I try to generate some traffic I noticed the led is not well >> behaving. > > On the TX side, the LED is turned on when queued and turned off when > transmitted. On the

Re: [ath5k-devel] is the wireless led supposed to work?

2009-01-06 Thread Paride Legovini
Bob Copeland wrote: >> The wireless LED is not working. I enabled the LED stuff in my kernel: > > Unfortunately the gpio used for LEDs varies with the system. Look in > drivers/net/wireless/ath5k/base.c and experiment with using values > between 0 and 5 for led_pin. Ok, I got it, but something s

[ath5k-devel] is the wireless led supposed to work?

2009-01-06 Thread Paride Legovini
I'm using ath5k from linux-2.6.28 on an IBM/Lenovo Thinkpad X60s. My wireless card is: 03:00.0 Ethernet controller: Atheros Communications Inc. AR5212 802.11abg NIC (rev 01) Subsystem: IBM ThinkPad 11a/b/g Wireless LAN Mini Express Adapter (AR5BXB6) Flags: bus maste