On Thu, Jul 7, 2011 at 7:06 PM, Jonathan Wilson <jfwf...@tpgi.com.au> wrote: > I am looking for information on the driver the responds to > /sys/class/i2c-adapter/i2c-1/1-0048/twl4030_vibra/pulse and in particular > details of just what it does with the numbers. > Pointers to the source code for the driver in question may also help > although I dont know the first thing about linux kernel drivers :P
Check out drivers/leds/leds-twl4030-vibra.c from the N900 kernel sources. vibra_set_seq() handles input from the pulse sysfs file. It takes a series of signed PWM strength values and durations in milliseconds. regards Philipp _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers