Hi, vibrator hardware is present in audio module and there is ASoC driver in
kernel for same.
In actual vibrator hardware (rotary) is connected to D class amplifier of
audio chip (similar to how headphones are connected).
set of "alsa_amixer -Dhw set/sset "vibrator commands" "... "" configures
(set the route, path, sound volume etc.) the vibrator and make it play.
I want to use vibrator for haptic feedback. How to link haptic feedback to
vibrator playback. Should I use ALSA APIs to perform same? Where should it
be placed in android dir structure?
I see one implementation using timed_output driver with sysfs interface
(sys/class/timed_output/vibrator/enable).
But accessing ALSA device from inside the kernel (from timed_output vibrator
driver) is prohibited.
(http://mailman.alsa-project.org/pipermail/alsa-devel/2011-April/038865.html
)

Please suggest

BR
Shreshtha

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to