How to launch pulseaudio on embedded system

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

 



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...

Maybe I could use module-alsa-source or module-alsa-source ? I did some 
try without success because of wrong argument.
root at eukrea-cpuimx25:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: cpuimxaudio [cpuimx-audio], device 0: TLV320AIC23 
tlv320aic23-hifi-0 []
   Subdevices: 1/1
   Subdevice #0: subdevice #0


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

  Powered by Linux