Comment 28 for bug 972604

Revision history for this message
cristian (cristiancozzolino) wrote :

I add more info about /sys/class/leds/ and triggers, as I was asked.

ls -l /sys/class/leds/
totale 0
lrwxrwxrwx 1 root root 0 mar 15 07:24 ath5k-phy0::rx -> ../../devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/ath5k-phy0::rx
lrwxrwxrwx 1 root root 0 mar 15 07:11 ath5k-phy0::tx -> ../../devices/pci0000:00/0000:00:1c.0/0000:01:00.0/leds/ath5k-phy0::tx

ls -l /sys/class/leds/ath5k-phy0::rx/
totale 0
-rw-r--r-- 1 root root 4096 mar 15 07:28 brightness
lrwxrwxrwx 1 root root 0 mar 15 07:28 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 mar 15 07:28 max_brightness
drwxr-xr-x 2 root root 0 mar 15 07:28 power
lrwxrwxrwx 1 root root 0 mar 15 07:11 subsystem -> ../../../../../../class/leds
-rw-r--r-- 1 root root 4096 mar 15 07:28 trigger
-rw-r--r-- 1 root root 4096 mar 15 07:11 uevent

ls -l /sys/class/leds/ath5k-phy0::tx/
totale 0
-rw-r--r-- 1 root root 4096 mar 15 07:29 brightness
lrwxrwxrwx 1 root root 0 mar 15 07:29 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 mar 15 07:29 max_brightness
drwxr-xr-x 2 root root 0 mar 15 07:29 power
lrwxrwxrwx 1 root root 0 mar 15 07:11 subsystem -> ../../../../../../class/leds
-rw-r--r-- 1 root root 4096 mar 15 07:11 trigger
-rw-r--r-- 1 root root 4096 mar 15 07:11 uevent

cat /sys/class/leds/ath5k-phy0::rx/trigger
none AC-online cpu0 cpu1 BAT0-charging-or-full BAT0-charging BAT0-full BAT0-charging-blink-full-solid rfkill0 rfkill1 [phy0rx] phy0tx phy0assoc phy0radio

cat /sys/class/leds/ath5k-phy0::tx/trigger
none AC-online cpu0 cpu1 BAT0-charging-or-full BAT0-charging BAT0-full BAT0-charging-blink-full-solid rfkill0 rfkill1 phy0rx [phy0tx] phy0assoc phy0radio

After workaround:

ls -l /sys/class/leds/ath5k-phy0::rx/
totale 0
-rw-r--r-- 1 root root 4096 mar 15 07:28 brightness
lrwxrwxrwx 1 root root 0 mar 15 07:28 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 mar 15 07:28 max_brightness
drwxr-xr-x 2 root root 0 mar 15 07:28 power
lrwxrwxrwx 1 root root 0 mar 15 07:11 subsystem -> ../../../../../../class/leds
-rw-r--r-- 1 root root 4096 mar 15 07:41 trigger
-rw-r--r-- 1 root root 4096 mar 15 07:11 uevent

ls -l /sys/class/leds/ath5k-phy0::tx/
totale 0
-rw-r--r-- 1 root root 4096 mar 15 07:29 brightness
lrwxrwxrwx 1 root root 0 mar 15 07:29 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 mar 15 07:29 max_brightness
drwxr-xr-x 2 root root 0 mar 15 07:29 power
lrwxrwxrwx 1 root root 0 mar 15 07:11 subsystem -> ../../../../../../class/leds
-rw-r--r-- 1 root root 4096 mar 15 07:41 trigger
-rw-r--r-- 1 root root 4096 mar 15 07:11 uevent

cat /sys/class/leds/ath5k-phy0::rx/trigger
none AC-online cpu0 cpu1 BAT0-charging-or-full BAT0-charging BAT0-full BAT0-charging-blink-full-solid rfkill0 rfkill1 phy0rx phy0tx phy0assoc [phy0radio]

cat /sys/class/leds/ath5k-phy0::tx/trigger
[none] AC-online cpu0 cpu1 BAT0-charging-or-full BAT0-charging BAT0-full BAT0-charging-blink-full-solid rfkill0 rfkill1 phy0rx phy0tx phy0assoc phy0radio

uname -a
Linux cristian-Compaq-Presario-C700-Notebook-PC 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:25:33 UTC 2013 i686 i686 i686 GNU/Linux