View source for Neo1973:GTA01:Kernel

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to Neo1973:GTA01:Kernel.

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