From: Karl Hiramoto Date: Fri, 15 May 2009 10:55:05 +0200 Subject: [ath9k-devel] enable LEDS on mini-pci type III connector. Message-ID: <4A0D2DE9.9060806@hiramoto.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi, I'd like to enable the two LEDs on pins 11-14 of the mini pci connector. I'm using wireless-testing from git. Is this supported? The pins: http://www.interfacebus.com/MiniPCI_Pinout_124Pin.html I have a SparkLan WMIA-207GN. http://www.sparklan.com/product_details.php?prod_id=148 I assume the pins are routed on the board to the correct pins on the mini-pci connector. lspci shows: 00:02.0 Network controller: Atheros Communications Inc. AR5416 802.11abgn Wireless PCI Adapter (rev 01) Subsystem: Atheros Communications Inc. Unknown device 2071 Flags: bus master, 66MHz, medium devsel, latency 168, IRQ 27 Memory at 48020000 (32-bit, non-prefetchable) [size=64K] Capabilities: [40] #80 [0000] Capabilities: [80] #00 [0000] Kernel driver in use: ath9k Kernel modules: ath9k find /sys/class/leds/ /sys/class/leds/ /sys/class/leds/ath9k-phy0::radio /sys/class/leds/ath9k-phy0::radio/uevent /sys/class/leds/ath9k-phy0::radio/subsystem /sys/class/leds/ath9k-phy0::radio/device /sys/class/leds/ath9k-phy0::radio/brightness /sys/class/leds/ath9k-phy0::radio/max_brightness /sys/class/leds/ath9k-phy0::radio/trigger /sys/class/leds/ath9k-phy0::assoc /sys/class/leds/ath9k-phy0::assoc/uevent /sys/class/leds/ath9k-phy0::assoc/subsystem /sys/class/leds/ath9k-phy0::assoc/device /sys/class/leds/ath9k-phy0::assoc/brightness /sys/class/leds/ath9k-phy0::assoc/max_brightness /sys/class/leds/ath9k-phy0::assoc/trigger /sys/class/leds/ath9k-phy0::tx /sys/class/leds/ath9k-phy0::tx/uevent /sys/class/leds/ath9k-phy0::tx/subsystem /sys/class/leds/ath9k-phy0::tx/device /sys/class/leds/ath9k-phy0::tx/brightness /sys/class/leds/ath9k-phy0::tx/max_brightness /sys/class/leds/ath9k-phy0::tx/trigger /sys/class/leds/ath9k-phy0::rx /sys/class/leds/ath9k-phy0::rx/uevent /sys/class/leds/ath9k-phy0::rx/subsystem /sys/class/leds/ath9k-phy0::rx/device /sys/class/leds/ath9k-phy0::rx/brightness /sys/class/leds/ath9k-phy0::rx/max_brightness /sys/class/leds/ath9k-phy0::rx/trigger # # find /sys/devices/pci0000:00/0000:00:02.0/ /sys/devices/pci0000:00/0000:00:02.0/ /sys/devices/pci0000:00/0000:00:02.0/pools /sys/devices/pci0000:00/0000:00:02.0/uevent /sys/devices/pci0000:00/0000:00:02.0/resource /sys/devices/pci0000:00/0000:00:02.0/vendor /sys/devices/pci0000:00/0000:00:02.0/device /sys/devices/pci0000:00/0000:00:02.0/subsystem_vendor /sys/devices/pci0000:00/0000:00:02.0/subsystem_device /sys/devices/pci0000:00/0000:00:02.0/class /sys/devices/pci0000:00/0000:00:02.0/irq /sys/devices/pci0000:00/0000:00:02.0/local_cpus /sys/devices/pci0000:00/0000:00:02.0/local_cpulist /sys/devices/pci0000:00/0000:00:02.0/modalias /sys/devices/pci0000:00/0000:00:02.0/enable /sys/devices/pci0000:00/0000:00:02.0/broken_parity_status /sys/devices/pci0000:00/0000:00:02.0/msi_bus /sys/devices/pci0000:00/0000:00:02.0/remove /sys/devices/pci0000:00/0000:00:02.0/rescan /sys/devices/pci0000:00/0000:00:02.0/subsystem /sys/devices/pci0000:00/0000:00:02.0/bus /sys/devices/pci0000:00/0000:00:02.0/config /sys/devices/pci0000:00/0000:00:02.0/resource0 /sys/devices/pci0000:00/0000:00:02.0/driver /sys/devices/pci0000:00/0000:00:02.0/ieee80211:phy0 /sys/devices/pci0000:00/0000:00:02.0/net:wmaster0 /sys/devices/pci0000:00/0000:00:02.0/leds:ath9k-phy0::radio /sys/devices/pci0000:00/0000:00:02.0/leds:ath9k-phy0::assoc /sys/devices/pci0000:00/0000:00:02.0/leds:ath9k-phy0::tx /sys/devices/pci0000:00/0000:00:02.0/leds:ath9k-phy0::rx /sys/devices/pci0000:00/0000:00:02.0/net:wlan0_0 /sys/devices/pci0000:00/0000:00:02.0/net:mon.wlan0_0 /sys/devices/pci0000:00/0000:00:02.0/net:wlan0_1 Thanks, -- Karl