LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 10-17-2011, 04:25 PM   #1
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Rep: Reputation: Disabled
Cmedia USB audio


OS: voyage linux (minimal, based on debian 6). Trying to get my usb 'audio card' to work.

lsusb -v lists it as;
Code:
C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)
Although it is one of these not a usb headset like the 'Planet UP-100' seem to be. But there doesn't seem to be a specific chip name??

There is a guide i believe for this thing at http://www.fuschlberger.net/cds/usb-audio/ But this guide is from 2005 so i'm not sure if it is still relevant??

It mentions snd_usb_audio is required, how do i check to see if i have this??

EDIT: aplay -l outputs
Code:
no soundcards found...

EDIT 2:
modprobe snd-usb-audio
Code:
snd_usb_audio not found.
How do i add this? does it have to be added in the kernel?? (if so, under what section is it?)

EDIT 3: ID is 0x0d8c 0x000e

Last edited by sdfi; 10-17-2011 at 07:29 PM.
 
Old 10-18-2011, 02:06 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,339

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
sind snd-usb-audio by doing a find in ;/lib/modules (fine -name snd_usb_audio.ko') or use locate or slocate if they're there.

You may need to add a device node to udev if the system doesn't have it. Have a look in the kernel ~Documentation/sound directory for helpful stuff.
 
Old 10-18-2011, 08:11 AM   #3
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
the find returned nothing.
 
Old 10-18-2011, 05:36 PM   #4
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
Any ideas? I couldn't find much about installing snd-usb-audio, or find anything about it in the kernel builder, and there was nothing about installing it in the docs that i found. ???
 
Old 10-19-2011, 01:55 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,339

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
No usb card here, but a bit of stuff on the disk. I ran 'locate snd-usb-audio'

It lives in ~kernel/sound/usb/snd-usb-audio.ko in the module tree
In the 2.6 kernel it's in ~sound/usb/

In the kernel .config, It's in the very end of the sound menu after all the cards. It exists.
 
Old 10-19-2011, 07:19 AM   #6
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
I couldn't locate it via 'make menuconfig', but in the .config file (which I assume menuconfig is just a frontend for?) CONFIG_SND_USB_AUDIO=m ..which means it should be there, right??

edit: it is under the 'console display driver support' section (of .config), wtf?"

edit 2: when plugging in the device ;
Code:
USB 4-1: new full speed USB device using uhci_hcd and address 2
usbcore: registered new interface driver usbhid
usbhid: USB hid core driver

Last edited by sdfi; 10-19-2011 at 07:46 AM.
 
Old 10-20-2011, 02:21 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,339

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Quote:
Originally Posted by sdfi View Post
I couldn't locate it via 'make menuconfig', but in the .config file (which I assume menuconfig is just a frontend for?) CONFIG_SND_USB_AUDIO=m ..which means it should be there, right??
No, that's not where I found it. It's in drivers --> sound -->Alsa -->USB sound devices as "USB audio/MIDI driver".

It depend on SOUND[=y] && !M68K && SND[=y] && USB[=y] This means if you haven't got those you mightn't see it!

Quote:
Originally Posted by sdfi View Post
edit: it is under the 'console display driver support' section (of .config), wtf?"
edit 2: when plugging in the device ;
Code:
USB 4-1: new full speed USB device using uhci_hcd and address 2
usbcore: registered new interface driver usbhid
usbhid: USB hid core driver
No, I'm not impressed with your sound card being grabbed by the HID driver. . . I'm afraid something is not perfect yet. They have acknowledged it's existence, which at least means it's connected. uhci_hcd is the usb-1.0 driver. I'd like to see it being grabbed by ehci_hcd which is usb-2.0.

Maybe ehci couldn't figure it, and dropped out throwing it at the usb-1.0 driver? That then woke up and said "Oh good, something for me to play with."
 
Old 10-22-2011, 10:57 AM   #8
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
I couldn't find any reference to M68K, but i set as you suggested to y and rebuilt, and it work now [aside: what is the different between m and y?... AFAICT y is in the core kernel and m is a module?? what is the practical result of this?]

Now, the only issue here remaining is that i cannot set the volume level now with mpc /mpd, despite the fact that it is possible to set it with 'alsamixer -c 0' Any ideas how do deal with this??

[aside 2: setting the volume to -0.1 db with alsamixer shouldn't introduce distorition should it??.. i only ask as the volume is shown in green/white/red as you increase the volume].
 
Old 10-23-2011, 03:54 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,339

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
/exposes himself as a mine of useless knowledge:-P.

m68k is the old cpu type used in Apple Macs before they went to the ppc, and then intel. It is/was Motorola's 58000 series - good for the '70s and '80s but not a great idea thereafter. You haven't got it.
Yes, 'm' is module and 'y' is compiled in. Long debate about which is better. If it starts on this thread I will unsubscribe from it :-).

Quote:
Now, the only issue here remaining is that i cannot set the volume level now with mpc /mpd, despite the fact that it is possible to set it with 'alsamixer -c 0' Any ideas how do deal with this??
Nope.
Quote:
[aside 2: setting the volume to -0.1 db with alsamixer shouldn't introduce distorition should it??.. i only ask as the volume is shown in green/white/red as you increase the volume].
I wouldn't think so. There are internal volume levels of a sort (The signal on this pin is 50mV pk-pk or 200mv pk-pk sort of thing) which are really in gobbledygook in alsa.conf AFAIK.

Now that you have your sound drivers, if you're having distortion, best to delete the soundcard and reinstall it to clear the config, in case you have some default settings.
 
  


Reply



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
CMedia Usb Headset 43-203 Not available through preferences nacoku Linux - Hardware 0 06-13-2009 05:46 PM
Why I can't use USB audio device when onboard audio enabled in install RockyZ Fedora 6 03-28-2009 07:40 PM
openSUSE 10.3 does not install on-board Cmedia CM6501 audio of Asus M2N-E SLI mobo DeekBeek Linux - Hardware 6 02-09-2008 08:34 AM
no sound in slackware 10.2 with cmedia high definition audio device pete1000 Slackware 2 09-30-2005 01:06 AM
Cmedia ac97 audio problem SpeedTek Linux - Hardware 1 03-15-2005 05:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:52 AM.

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