Re: USB Audio and selecting optical out

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

 



On 31/03/18 20:02, Marc Haber wrote:
Hi,

I have been experimenting with USB audio devices recently and have
settled on an USB device which seems to be a weird OEM device labeled by
the german company CSL. The device announces itself on the USB as
"0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device". I am
pasting the output of lsusb -v, aplay -l and aplay -L below and am
willing to deliver any additional information that may helpful here.

It is very important for me that I can use the
optical ports that the device has for both recording audio to the
computer and playing back audio from the computer. Amazon Link:
https://www.amazon.de/CSL-Soundkarte-Lautsprecher-gleichzeitige-Audiogeräte/dp/B00KXAVBQY

The device is recording audio just fine, from the analog inputs and from
the optical input. What I have not been able to is playing back through
the optical output. I have connected a Sony DTC-60ES DAT deck to the
output, which does not seem to properly sync on the output. The "digital
input" indicator on the DAT deck does not stop blinking which is an
indicator of "no signal".

I have tried playing around with alsamixer, but didn't find any fader
for the digital output, nor did I find an output switch. I was also
never able to stop the device from playing back from the analog output.
Even when I select the IEC958 digital output in pavucontrol, playback
continues from the analog output.

card 2: CMI8738 [C-Media CMI8738], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 2: CMI8738 [C-Media CMI8738], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 2: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI IEC958]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 3: Device [USB Sound Device], device 0: USB Audio [USB Audio]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
[2/5014]mh@fan:~ $ sudo aplay -L
iec958:CARD=SB,DEV=0
     HDA ATI SB, ALC892 Digital
     IEC958 (S/PDIF) Digital Audio Output
iec958:CARD=CMI8738,DEV=0
     C-Media CMI8738, C-Media PCI DAC/ADC
     IEC958 (S/PDIF) Digital Audio Output
iec958:CARD=Device,DEV=0
     USB Sound Device, USB Audio
     IEC958 (S/PDIF) Digital Audio Output
Hi,

In order to get output to the digital output, you need to use the "iec958" device.
E.g.:
speaker-test -c2 -d iec958:CARD=CMI8738,DEV=0 --rate 48000

Note that you also appear to have a digital out of the SB card, so you need to select the card when outputting.

You might also need to mess with AES0 settings. Google for that.

Kind Regards

James


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux