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.
When I first started this thread the headphones were not appearing in lsusb. But then after the dmesg suggested by somedude they started appearing:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0d8c:0001 C-Media Electronics, Inc. Audio Device
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Yes I did alsa restart. In sound>preferences I've tried setting everything to alsa and also setting everything to C-media usb audio but unfortunately still no joy. I don't have pulse audio. The headphones were a cheap pair bought from Maplins, Yoga EM-178. They are 'call-centre' style with a mic as well. The headset is a standard pair with a jack, which you then plug through a usb dongle.
1] When you modified alsa.conf to use your USB device instead of the 0 [NVidia ]: HDA-Intel - HDA NVidia0 [NVidia ]: HDA-Intel - HDA NVidia and restarted alsa, nothing should have come out of your speakers (which are connected to your on-board sound device), only your headphones. Maybe you need to double-check this all again?
2] There's little on the www about your device: Bus 002 Device 002: ID 0d8c:0001 C-Media Electronics, Inc. Audio Device, which either means it "just works" or there aren't many people using it.
3] Do your headphones work with anything else (eg any music player) ?
4] I hope you don't still have my script (even modified) running from rc.local, because if that is failing somehow it may be restoring your original setup for sound device 0 at the next boot.
So, trim things back to the bare minimum, and change one thing at a time. Test. Re-test.
Well I didn't have pulse audio when I wrote that, or at least it wasn't installed properly with all the plugins. Only yesterday had the pulseaudio shortcut appeared in the tool bar.
Your posts did help: over the weekend I managed to get the testing 'beep' through the headphones for the first time after re-typing the codes in terminal, then after a bit more tweaking I got them to work with media players. But I still had a problem with Flash sound. Then I saw the post I linked above, installed all the plugins he recommended, and managed to get pulseaudio to switch to the usb.
Hello, I would like to ask whether anyone can think of a similar approach for a more recent Yoga 5.1 USB Audio Connector.
As with the last person, it also seems to be a C-Media card. I am running standard 64 12.04 Ubuntu.
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7600000 irq 53
1 [Device ]: USB-Audio - USB Sound Device
C-Media INC. USB Sound Device at usb-0000:00:1a.0-1.2, full speed
The last person said that it eventually started to work for him. I am not sure how that happened, but it has not worked for me, and there seems to be a few differences to alsa but I really do not know enough to act upon that.
Added on edit: I can go into alsamixer and switch between devices from and to my USB device. Here the USB device only has two control bars: "PCM" and "Loudness". I can change "PCM", but "Loudness" is locked on 0. I don't know if that's relevant (I am afraid I don't really understand alsa) but a zero hanging over "Loudness" seemed worth mentioning.
Also, referring to a comment to the previous poster, I still get volume through speakers despite having switched to 1 on conf file and despite alsamixer opening onto the USB mixer on default - so the music still plays through the speakers and changing PCM has no effect upon that either way.
Further edit: Referring to edit above, I can stop the speakers by altering: defaults.pcm.device to 1. But this does not make the USB play.
I don't spend as much time here on LQ as I used to, and I was about to recommend that you start a new thread rather than resurrect this old one (long threads don't tend to get read by people who have not subscribed to them).
I did a quick search (ubuntu c-media electronics inc. audio adapter) and would suggest that you try the suggestions in this link
Follow the recommendations in that post, and you should be good to go.
Please let us (though probably only me, see above) know how you get on.