Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips_and_tricks [2013/02/01 21:31]
paulf [Wireless connectivity without NetworkManager] add APN specification
tips_and_tricks [2013/02/15 17:13]
turbooster [Using side LEDs and WiFi LED]
Line 8: Line 8:
 ===== Lid and jack insertion events ===== ===== Lid and jack insertion events =====
 You can use a lightweight https://github.com/gandro/input-event-daemon, it should listen on ''/dev/input/event4'' for ''LID:0'' and ''LID:1'' events. You can use a lightweight https://github.com/gandro/input-event-daemon, it should listen on ''/dev/input/event4'' for ''LID:0'' and ''LID:1'' events.
 +
 +===== Using side LEDs and WiFi LED =====
 +(This is for the 12.04 kernel)
 +The LEDs on the side can be triggered by echoing values between 0 and 7 to
 +  echo 7 > /sys/devices/platform/nvec.0/nvec-leds.0/leds/nvec-led/brightness
 +for different blinking-patterns (need to be root). Try
 +  echo 0 > brightness ; sleep 1 ; echo 7 > brightness ; sleep .2;echo 1 > brightness
 +to 'allways-on' the side LEDs
 +
 +You can also set different triggers for the WiFi LED. To see the available options do
 +  cat /sys/devices/platform/nvec.0/leds-gpio/leds/wifi-led/trigger
 +then to change the trigger (temporarily) do for example
 +  echo mmc0 > /sys/devices/platform/nvec.0/leds-gpio/leds/wifi-led/trigger
 +to get eMMC activity.
 +
  
 ===== Video playback ===== ===== Video playback =====
Log In