How to launch pulseaudio on embedded system

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

 



Le 04/09/2014 13:01, Tanu Kaskinen a ?crit :
> On Thu, 2014-09-04 at 12:17 +0200, DIEHCO R&D wrote:
>> Le 04/09/2014 11:32, Tanu Kaskinen a ?crit :
>>> On Tue, 2014-09-02 at 15:17 +0200, DIEHCO R&D wrote:
>>>> 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
>>> Looks good to me. Can you also paste the output of
>>>
>>>       udevadm info --query=all /sys/devices/platform/soc-audio/sound/card0
>>>
>>> If that also looks good, then I'm out of ideas.
>> root at eukrea-cpuimx25:~# udevadm info --query=all
>> --path=/sys/devices/platform/soc-audio/sound/card0
>> P: /devices/platform/soc-audio/sound/card0
>> E: DEVPATH=/devices/platform/soc-audio/sound/card0
>> E: SUBSYSTEM=sound
>> I don't know it is good...
> It has SUBSYSTEM=sound, so PulseAudio should pick it up.
>
>> 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.


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

  Powered by Linux