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 strange is happens. The good settings seem to be: sc->led_pin = 1; sc->led_on = 0; But when I try to generate some traffic I noticed the led is not well behaving. So I tried to turn off the RX trigger: r...@moth:/sys/class/leds/ath5k-phy0::rx# echo none > trigger and everything seems ok: when I send a packet, like an icmp ping, the led blinks once, as expected. So I tried to invert the situation, turning on the RX led trigger _only_. What I get is that, if the led of off and I send a packet, it turn on, and remains lit until I send another packet. For example, I can turn on the led with a ping -c1, and it stays on until a do another ping -c1 (or wait enough time, I think it's wpa_supplicant exchanging packets). This sounds strange, is seems that something is handling the tx and rx event differently. Do you have any ideas? Little off topic: I see in gpio.c that there is some support for an RFKill gpio interrupt. Is this supposed to work? The kill switch does nothing on my system. Here is the relevant part of lspci -vnn: 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 Adapter (AR5BXB6) [1014:058a] Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at edf00000 (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 driver in use: ath5k_pci Kernel modules: ath5k The system is a Thinkpad X60s. pl _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel