Re: [Alsa-user] USB Audio and selecting optical out

2018-04-08 Thread James

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB Audio and selecting optical out

2018-04-08 Thread Ralf Mardorf
On Sun, 8 Apr 2018 16:41:08 +0200, Marc Haber wrote:
>Ping? noone?

All my DAT recorder drives are broken, the only reason to keep them is
to have DACs and ADCs I could use via S/PDIF, in addition to the analog
I/Os and ADAT I/Os of my audio devices, just in case I ever should need
additional I/Os, which actually never happened. You already could get a
semi-professional OOTB Linux compatible, especially class compliant
audio device, for half of the price even a second hand DAT recorder
does cost. I could use my broken DAT recorders converters via S/PDIF
with my audio devices.

1. One of my broken DAT recorders is a Sony consumer DAT. Better
discontinue to use a consumer DAT recorder, soon or later they all
suffer from drive issues.

2. If you wish to continue using a DAT recorder in combination with
your computer, then consider to spend more than 23,85 € for your
computer's audio device.

It isn't worth the hassle to save on the wrong things.

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB Audio and selecting optical out

2018-04-08 Thread Marc Haber
Ping? noone?

Greetings
Marc


On Sat, Mar 31, 2018 at 09:02:00PM +0200, Marc Haber wrote:
> 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.
> 
> I have tried:
>   - mpg321
>   - juk
>   - mixxx
>   - audacity
> 
> All of those with pulseaudio, with pasuspender active while tying to use
> plain ALSA, and I even made my first steps with jack. All I got was
> silence, or analog playbay, and never even a "yes, there is a signal to
> sync on" from the DAT deck.
> 
> Are there any ideas what I could additionally try?
> 
> Greetings
> Marc
> 
> 
> 
> 
> I apologize that the USB device is not the only sound device present in
> the machine, it does have on-board sound, an active sound link via
> DisplayPort to the Monitor and an CMI8738 PCI sound card that I am
> reluctant to pull without the new USB device working.
> 
> 
> [1/5013]mh@fan:~ $ sudo aplay -l
> [sudo] password for mh: 
>  List of PLAYBACK Hardware Devices 
> card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 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
> default   
>
> Playback/recording through the PulseAudio sound server
>
> null  
>
> Discard all samples (playback) or generate zero samples (capture) 
>
> sysdefault:CARD=SB
>
> HDA ATI SB, ALC892 Analog 
>
> Default Audio Device  
>
> front:CARD=SB,DEV=0   
>
> HDA ATI