Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have an Acer laptop, some time ago the headphone jack broke so I purchased a USB headphone set. The manufacturer is Yoga and the model is EM-178. I think the USB plug itself has a C Media chip inside. I was using Vista originally.
Anyway I recently converted to Ubuntu 9.4 and unfortunately I can't get ubuntu to recognise this device. There is no automounting, it does not even appear in lsusb. I've plugged in other usb devices with no problem, it's just this one I have the problem with.
Sound from the laptop speakers is fine. I have tried looking at sound>preferences but since it doesn't even recognise the usb is there then I can't select it.
I'm currently using OSS for the sound system, but it didn't work with ALSA either.
I've searched numerous forums and google searches on this, tried a few different things and nothing's worked.
If lsusb doesn't show the device, you may want to look at the system logs for error messages.
Try this: open a console, plug in the device, give it a few seconds and listen to the hard disk for activity and then type dmesg in the console. You should see some kernel messages relevant to the usb device. That may help pinpoint the problem.
Thanks for that. Just tried dmesg. Here's the relevant piece of info:
[ 2458.860093] usb 2-4: new full speed USB device using ohci_hcd and address 3
[ 2459.112626] usb 2-4: configuration #1 chosen from 1 choice
[ 2459.114360] Reinsert of an audioctl device 4/0 - USB sound device
[ 2459.199251] Reinsert of an audio streaming device 4/1 - USB sound device
I'm sure I won't be able to help you get this working, but I will try to suggest a couple of things.
It looks like the device is recognized, so you may want to try lspci to see if the audio devices show up. In which case you will need to find drivers specifically for it.
Second thing is - look through dmesg to check for other clues - the message says 'reinserted' so it 'saw' it before.
dmesg | grep usb
Thanks somedude. I will try this. I think I might have to resign myself to finding a new pair of headphones that are compatible with linux. However I've not yet found a model that specifically mentions this, most of them mention windows/mac only.
Thanks a lot. I will try this tonight. Actually, I was thinking of buying some usb speakers, then simply plugging in a pair of headphones in the relevant speaker socket. It's a real shame these usb audio devices don't work straight away as they do in Windows. I'm really happy with ubuntu except with this problem.
OK I tried the script and despite the logic of it my headphones still don't work. After trying tredegar's suggestion I tried somedude's dmesg and this is what came up:
[ 0.561682] usbcore: registered new interface driver usbfs
[ 0.561697] usbcore: registered new interface driver hub
[ 0.561721] usbcore: registered new device driver usb
[ 4.368081] usb usb1: configuration #1 chosen from 1 choice
[ 4.426052] usb usb2: configuration #1 chosen from 1 choice
[ 4.426240] usbcore: registered new interface driver libusual
[ 4.426270] usbcore: registered new interface driver usbserial
[ 4.426296] usbcore: registered new interface driver usbserial_generic
[ 4.426298] usbserial: USB Serial Driver core
[ 5.000042] usb 2-4: new full speed USB device using ohci_hcd and address 2
[ 5.218016] usb 2-4: configuration #1 chosen from 1 choice
[ 13.893438] usbcore: registered new interface driver snd-usb-audio
[ 1150.557640] usb 2-4: USB disconnect, address 2
[ 1173.084042] usb 2-4: new full speed USB device using ohci_hcd and address 3
[ 1173.314335] usb 2-4: configuration #1 chosen from 1 choice
No obvious errors??
Maybe Acer laptops are just not meant to use linux.
I put the code in, changed 0's to 1's and saved. In the mixer it is recognising the USB device, the volumes are all up. Unfortunately, the sound is still coming from the speakers, not the headphones. I've selected Usb in sound>preferences but still no joy.
Unfortunately, the sound is still coming from the speakers, not the headphones.
This is very strange.
Did you restart alsa-utils ? Otherwise those changes to the conf file will not be recognised.
Are you using pulseaudio or something strange?
What exactly are your USB headphones - the output of lsusb should tell us, though you said in your first post that they weren't detected, maybe not by name, but the USB IDs should be listed. Please post them.
Don't you need any software for USB Headphone?
If they're detected by the kernel, they should "just work" without any additional software.