Neo1973:GTA01:Kernel
From Openmoko
(Difference between revisions)
m (Made a table) |
|||
Line 2: | Line 2: | ||
/sys/class/backlight/gta01-bl is a directory containing: | /sys/class/backlight/gta01-bl is a directory containing: | ||
− | actual_brightness reports on current set brightness. (0-5096) | + | {| cellspacing="0" border="1" |
− | uevent ? | + | !filename |
− | brightness set brightness echo 1000 >brightness | + | !description |
− | + | |- | |
− | + | |actual_brightness | |
+ | |reports on current set brightness. (0-5096) | ||
+ | |- | ||
+ | |max_brightness | ||
+ | |Maximum possible brightness | ||
+ | |- | ||
+ | |subsystem | ||
+ | | | ||
+ | |- | ||
+ | |uevent | ||
+ | |? | ||
+ | |- | ||
+ | |brightness | ||
+ | | dim with something like:<pre>set brightness echo 1000 >brightness </pre> | ||
+ | |- | ||
+ | |} | ||
− | /sys/class/leds/gta01:vibrator/brightness - echo 1>brightness | + | ---- |
+ | |||
+ | /sys/class/leds/gta01:vibrator/brightness - | ||
+ | * turn vibrator on: | ||
+ | echo 1>/sys/class/leds/gta01:vibrator/brightness | ||
+ | * turn vibrator of: | ||
+ | echo 1>/sys/class/leds/gta01:vibrator/brightness | ||
[[Category:OpenMoko]] | [[Category:OpenMoko]] |
Revision as of 19:56, 8 August 2007
This is a rough cut at documenting stuff as I find it.
/sys/class/backlight/gta01-bl is a directory containing:
filename | description |
---|---|
actual_brightness | reports on current set brightness. (0-5096) |
max_brightness | Maximum possible brightness |
subsystem | |
uevent | ? |
brightness | dim with something like:set brightness echo 1000 >brightness |
/sys/class/leds/gta01:vibrator/brightness -
- turn vibrator on:
echo 1>/sys/class/leds/gta01:vibrator/brightness
- turn vibrator of:
echo 1>/sys/class/leds/gta01:vibrator/brightness