PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : raspberrypi 3 - usb sound card



Klaus1
20.11.19, 17:45
Hallo,

habe das Problem meine usb soundkarte beim rasperrypi einfach nicht zum Laufen zu bringen.
bekomme immer: Device or resource busy...
Meine Versuche, inklusive logs:



raspi-config:
7 advanced options - AUDIO - 0.. AUTO


root@raspberrypi:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 1: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
Subdevices: 1/1
Subdevice #0: subdevice #0




root@raspberrypi:~# cat /etc/asound.conf
pcm.!default {
type hw
card 0
}

ctl.!default {
type hw
card 0
}


root@raspberrypi:~# cat /proc/asound/modules
0 snd_usb_audio
1 snd_bcm2835
root@raspberrypi:~#

root@raspberrypi:~/squeezelite# aplay test-sound-raspberry-tips.wav
aplay: main:788: audio open error: Device or resource busy

Klaus1
20.11.19, 20:26
​habs schon gefunden. sorry. ein weiterer prozess (squeezeplayer) hat die ressource belegt!

stefan.becker
20.11.19, 20:27
Ich meine mich erinnern zu können, dass es mehrere Distributionen für den Raspi gibt. Und noch mehr Typen von USB Soundkarten. Kann mich aber auch irren.