[pulseaudio-discuss] How to launch pulseaudio on embedded system
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Fri Sep 5 03:50:44 PDT 2014
On Thu, 2014-09-04 at 14:09 +0200, DIEHCO R&D wrote:
> Le 04/09/2014 13:01, Tanu Kaskinen a écrit :
> > On Thu, 2014-09-04 at 12:17 +0200, DIEHCO R&D wrote:
> >> Maybe I could use module-alsa-source or module-alsa-source ? I did some
> >> try without success because of wrong argument.
> > Yes, that's an option if udev doesn't work. Instead of the sink/source
> > modules, though, I recommend using module-alsa-card:
> >
> > load-module module-alsa-card device_id=cpuimxaudio
> >
> Yes, I tested that and I have the error :
> module-alsa-card.c: Card 'cpuimxaudio' doesn't exist: No such device
> and with
> load-module module-alsa-card device_id=cpuimxaudio
> I have the error :
> module-alsa-card.c: Card '/dev/snd/controlC0' doesn't exist: Permission
> denied
>
> Also I remenber Adding the user root to the "pulse-access" group (after
> creating it) or to the existing "pulse" group does not help "pactl list
> cards" to have access.
The problem is that the "pulse" user doesn't have access to the devices
under /dev/snd. You need to fix that somehow. There are several ways to
do that:
- Create an "audio" group (if it doesn't exist yet), then do "chown
root:audio /dev/snd/*", and then add the "pulse" user to the "audio"
group.
- Give the "pulse" user directly access to the devices: "chown
pulse:pulse /dev/snd/*".
- Give everyone access to the devices: "chmod a+rw /dev/snd/*".
--
Tanu
More information about the pulseaudio-discuss
mailing list