How to launch pulseaudio on embedded system

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

 



Le 02/09/2014 12:35, Tanu Kaskinen a ?crit :
> On Tue, 2014-09-02 at 11:24 +0200, DIEHCO R&D wrote:
>> Le 02/09/2014 10:57, Tanu Kaskinen a ?crit :
>>>>>> (...)
>>>>>> I: [pulseaudio] module-udev-detect.c: Found 0 cards.
>>>>> The debug logs before this line should tell why there weren't any sound
>>>>> cards found.
>>>> module-udev-detect.so found. I don't see if there is problem in log below.
>>> Ok, so according to udev there are no sound devices. What does "ls
>>> -l /dev/snd" print?
>>>
>> root at eukrea-cpuimx25:~# ls -l /dev/snd
>> crw-rw----    1 root     root      116,   0 Sep  2 09:13 controlC0
>> crw-rw----    1 root     root      116,  24 Sep  2 09:13 pcmC0D0c
>> crw-rw----    1 root     root      116,  16 Sep  2 09:13 pcmC0D0p
>> crw-rw----    1 root     root      116,   1 Sep  2 09:13 seq
>> crw-rw----    1 root     root      116,  33 Sep  2 09:13 timer
> Hmm, pulseaudio probably can't use these devices, because they are
> accessible only to root and pulseaudio runs under the "pulse" user, so
> modifying the access rights is required, but I think the log indicates
> that pulseaudio doesn't even try, because according to udev there are no
> sound cards.
>
> What does "udevadm info /dev/snd/controlC0" print?
root at eukrea-cpuimx25:~# udevadm info /dev/snd/controlC0
missing option
root at eukrea-cpuimx25:~# udevadm info --query=all --name=/dev/snd/controlC0
P: /devices/platform/soc-audio/sound/card0/controlC0
N: snd/controlC0
E: DEVNAME=/dev/snd/controlC0
E: DEVPATH=/devices/platform/soc-audio/sound/card0/controlC0
E: MAJOR=116
E: MINOR=0
E: SUBSYSTEM=sound

>
>> and see attached the "pulseaudio --system -vvvv &" and "pactl list
>> cards" outputs with the lines:
>> W: [pulseaudio] protocol-native.c: Denied access to client with invalid
>> authorization data.
>> Connection failure: Access denied
> Add the user to the "pulse-access" group, or pass "auth-anonymous=true"
> to module-native-protocol-unix in /etc/pulse/system.pa to allow any user
> to access the server.
>
I use second way and then :
root at eukrea-cpuimx25:~# pactl list cards
I: [pulseaudio] client.c: Created 0 "Native client (UNIX socket client)"
I: [pulseaudio] protocol-native.c: Client authenticated anonymously.
D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29
D: [pulseaudio] protocol-native.c: SHM possible: no
D: [pulseaudio] protocol-native.c: Negotiated SHM: no
I: [pulseaudio] client.c: Freed 0 "pactl"
I: [pulseaudio] protocol-native.c: Connection died.

(pulseaudio still running)


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

  Powered by Linux