[alsa-devel] Accessing already probed snd_card in kernel space

Lu Guanqun guanqun.lu at intel.com
Fri Apr 15 10:36:17 CEST 2011


On Fri, Apr 15, 2011 at 04:27:08PM +0800, Shreshtha wrote:
> 
> 
> > So only way remains is to access the sound card from user space using ALSA
> > lib APIs and replace current usage of sysfs for haptic feedback. Please
> > suggest if it is right direction.
> 
> Is the sysfs API a _required_ Android API, or would Android allow you
> to write a user space driver?
> 
> [Shreshtha]  I found this one way of implementation seen on other devices. There can be other, and now I feel I require one.

You might use input subsystem to notify the userspace, just like jack's
implementation in sound subsystem.

> 
> Regards,
> Clemens
> 
> 
> 
> --
> shreshthakumar at gmail.com<mailto:shreshthakumar at gmail.com>

-- 
guanqun


More information about the Alsa-devel mailing list