News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

USB sound cards

Started by krys, February 25, 2009, 05:00:50 PM

Previous topic - Next topic

krys

Hey guys, I have been sitting on a USB port sound card (actually just a usb stick) for a while and havent been able to get it to work. However I had somewhat of a breakthrough last night while chatting with Thom. I now have it working with KDE and I feel like I am getting close to success with LMCE. Here is what I have done so far.

plug the stick in (obviously)
edit the /etc/asound.conf file. Change everything  inside the quotations to "plughw:1" save and exit
edit /etc/pluto/xine.conf   Find two lines that start with audio.alsa and change after the first : to say plughw:1

reload router and you should be at the point where I am. Amarok and mplayer and Xine all play through USB on the Desktop, but I still get no sound from it when inside LMCE.

Once I get it completely figured out I will make a wiki, please post if you have successfully set up a USB sound device in LMCE.
-Krys

krys

Anyone have a hint for me? I feel like I am sooo close to getting this working. I think the problem lies in the fact that LMCE uses a different form of xine when it plays media and I need to find the .conf for that xine and make the same alterations.... problem is I dont know where that is at or if it even exists.

tschak909

 /etc/pluto/xine.conf is the right file. I verified it in the source code.

I also verified that the problem you're having because Xine_Player is reconfiguring that file on the fly based on the settings in web admin.

Go to Web Admin > Media Director and look at Audio Settings, it is currently set to Stereo.

Change this to Manual Settings, save, reload router.

Xine_Player will now respect the settings in this file, and your changes for plughw:1 should work.

This will be an okay work-around until I can make changes to handle USB sound cards more efficiently.

-Thom

krys

Did as instructed and I now have sound... Thanks a Million!

one last remaining issue is I cant control the volume from LMCE. I disable the onboard sound controller and rebooted but still I have to manually go into KDE and adjust the volume labeled PCM. Also a note, for some reason it is super sensitive, when the dial is at about 5% volume it destroys my headphone speakers.

Once again, thanks a million! For now I will just use speakers that have their own vol control.
-Krys