View Single Post
Posts: 52 | Thanked: 33 times | Joined on Oct 2011 @ Poland, Tricity
#27
Originally Posted by juiceme View Post
OK, I have bee struggling with the vibration device for some time, as it was extremely annoying why I could not make it work.

I did quite a lot of searching, before it hit home that the device actually needs to be initialized with a set of waveform samples before it is usable. I kind of thought it is enough to write a set of input_event structures to it to make it work, but turns out those events only trigger the internal works to play out a pre-loaded sample on the vibrator device.

[...]
So did I understood this right - you've managed to "play" some predefined vibration on init? If so I would be interested in source or preferably even a working binary :-). I'd like to change my preinit so that phones vibrates when the system is ready for choosing my system.

BTW. Have you tried a to play few low notes to make a tick sound rather then vibration? Or maybe even play some wav?
 

The Following 2 Users Say Thank You to eccenux For This Useful Post: