Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 02-09-2009, 02:01 PM   #1
LQ Newbie
Registered: Feb 2009
Location: Sweden
Distribution: Slackware
Posts: 19

Rep: Reputation: 1
Unable to get optical/spdif input working on soundcard/CM106-F :(

Hi, please help me, I recently bought this Sweex sc004 (Chip: CM106-F) usb soundcard.

Everything with it works great, without the optical/toslink/spdif input, wich unfourtionately was the reason that I bought the card (I don't know about the output.).

It seems like what ever I try (goggled several hours I'm afraid ), I can't get any sound out, through the speakers or in audacity. I just don't seem to have any options for it in the alsamixer, see screenshot.

My lsusb shows:
0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound
Alsa's loaded driver is usb-sound-device.

aplay -l shows:
**** List of PLAYBACK Hardware Devices ****
card 0: default [USB Sound Device        ], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
aplay -L shows:
    USB Sound Device        , USB Audio
    Default Audio Device
    USB Sound Device        , USB Audio
    Front speakers
    USB Sound Device        , USB Audio
    4.0 Surround output to Front and Rear speakers
    USB Sound Device        , USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
    USB Sound Device        , USB Audio
    5.0 Surround output to Front, Center and Rear speakers
    USB Sound Device        , USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    USB Sound Device        , USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    USB Sound Device        , USB Audio
    IEC958 (S/PDIF) Digital Audio Output
    Discard all samples (playback) or generate zero samples (capture)
cat /proc/asound/devices gives:
  0: [ 0]   : control
  1:        : sequencer
 16: [ 0- 0]: digital audio playback
 24: [ 0- 0]: digital audio capture
The computer I try to get it working on runs 'Slackware 12.2', the kernel, alsa 1.0.17.

Am I missing something, or is it possible to tweak it to work somehow?
If it's of any interest I can email you the chipset manual, with some info about the CM106.
Old 02-11-2009, 11:30 AM   #2
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,239
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
does slackware 12.2 use pulse audio ? I have a friend that is running the latest Suse and he can't get the spidf on his card working either, he said it has to do with pules audio grabing the first output and refusing to let you use anything else. (or something to that effect) he was very frustrated with it afgter having invested a considerable amount of time trying to get it working.

Yes heres the reoprt..
Many soundcards have more than one ALSA device, for example for analog and digital output. The HAL module currently ignores all devices except the first one, so that makes it impossible to select digital output without manual modification of the configuration file (or manual module load). Is there a specific reason why these devices are being ignored, i.e. will it cause issues with some soundcards if we change that?

01/24/09 00:16:23 changed by lennart

* status changed from reopened to closed.
* resolution set to fixed.
* milestone set to 0.9.15.

PA in git is now able to automatically detect different possible profiles (i.e. "Stereo Analog" vs. "Stereo IEC958" vs. "Analog 5.1" and so on) to access ALSA devices and allows "hot" switching between.
I don't know if this applies to you or not..
Old 02-12-2009, 05:33 AM   #3
LQ Newbie
Registered: Feb 2009
Location: Sweden
Distribution: Slackware
Posts: 19

Original Poster
Rep: Reputation: 1
Hi farslayer, thanks for your reply!

Slackware doesn't use pulseaudio as default, but still it may be some similiar problem. I'll definately try to download the (pulseaudio) version in git and hope for the best!

I'll post again with my results.

Last edited by athor; 02-12-2009 at 05:39 AM.


alsa, input, optical, spdif

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
no sound in Fedora 8 "PULSEAUDIO: Unable to connect-" using onboard Optical spdif Legolas327 Fedora 12 07-27-2009 08:58 PM
Aureon 5.1 Fun Soundcard under opensuse 10.3. Digital optical output not working rod_thomson Linux - Hardware 0 10-13-2007 06:38 PM
Optical spdif, no sound from soundcard squeaks_27 Linux - Hardware 0 12-29-2005 10:32 PM
Optical SPDIF lost in Hercules GTXP otchie1 Linux - Hardware 1 07-27-2004 08:26 PM
getting SPDIF (optical) out with via8233a on RH 8 donshl Linux - Hardware 0 01-08-2003 06:30 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration