Problème Carte son USB externe CMedia CM108

La vidéo HDMI ou composite et la sortie audio PWM du Raspberry Pi

Modérateur : Francois

Répondre
Mighé
Messages : 1
Enregistré le : lun. 11 juil. 2016 12:26

Problème Carte son USB externe CMedia CM108

Message par Mighé » lun. 11 juil. 2016 14:53

Bonjour,

J'ai un soucis avec la carte son CMedia CM108 sur un raspi 2 avec Jessie update/upgrade ok
elle est bien reconnue...
il semble qu'elle soit pas reconnu par ALSA
différent processus sont décrit en Anglais sur le net
mais diffère si c'est Whezzy ou Jessie
Bref je m'y retrouve pas

Ci dessous les différentes informations
et les messages d'erreurs
Merci d'avance de votre aide svp

Mighé

lsusb

Bus 001 Device 010: ID 0d8c:0014 C-Media Electronics, Inc.

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
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
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

dmesg | grep C-Media

[ 5.371172] usb 1-1.3.4: Manufacturer: C-Media Electronics Inc.
[ 5.385313] input: C-Media Electronics Inc. USB Audio Device as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.3/0003:0D8C:0014.0005/input/input3
[ 5.453111] hid-generic 0003:0D8C:0014.0005: input,hidraw4: USB HID v1.00 Device [C-Media Electronics Inc. USB Audio Device] on usb-3f980000.usb-
1.3.4/input3

dans le alsamixer elle apparait mais pas par défaut.....

elle est là en DEV=0

USB PnP Sound Device, USB Audio
Direct hardware device without any conversions

Press any key to list the devices.
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
dmix:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Direct sample mixing device
dmix:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct sample snooping device
hw:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Hardware device with all software conversions
sysdefault:CARD=Device
Default Audio Device
front:CARD=Device,DEV=0
USB Audio Device, USB Audio
Front speakers
surround21:CARD=Device,DEV=0
USB Audio Device, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Device,DEV=0
USB Audio Device, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
USB Audio Device, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
USB Audio Device, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
USB Audio Device, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
USB Audio Device, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
USB Audio Device, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Device,DEV=0
USB Audio Device, USB Audio
Direct sample mixing device
dsnoop:CARD=Device,DEV=0
USB Audio Device, USB Audio
Direct sample snooping device
hw:CARD=Device,DEV=0
USB Audio Device, USB Audio
Direct hardware device without any conversions
plughw:CARD=Device,DEV=0
USB Audio Device, USB Audio
Hardware device with all software conversions


le soft m'offre le choix de la sélectionner ( DEV=0) mais quand j'exécute le soft patatrac... erreurs .....

en enregistrement
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM DEV=0
arecord: main:722: audio open error: No such file or directory

en lecture
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM DEV=0
aplay: main:722: audio open error: No such file or directory

Encore merci de m'avoir lu

Répondre

Retourner vers « Les sorties Vidéo et Audio du Raspberry Pi »