How to launch pulseaudio on embedded system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux