15 Apr
2011
15 Apr
'11
7:46 a.m.
Hi, I am completely new to ALSA and ASoC so my question formation may seems vague but I will try to be clear in objective. How can I access already detected/populated sound card from inside the kernel using standard ALSA kernel APIs? Any mapping of kernel api for the following steps -
1) Find the right ALSA-card. (using snd_card_create)
2) Find the wanted ALSA-control for this card with snd_ctl_find_numid(...).
3) Modify the control
I want to configure the vibrator from kernel using the ALSA kernel APIs.
_From user space alsa_amixer -Dhw set/sset "vibra command" "..." I want to do it from kernel space using ALSA apis.
BR Mickey