Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone know of a distro that has good 5.1 surround sound support, Ubuntu will only detect 2 of my 5 speakers and sub. I have a CMedia sound card and the Logitech X-530 speakers.
Any Linux distribution have the same problems with surround sound. You will have to either edit/create $HOME/.asoundrc to create simulated surround sound from two channel sources or play movies that have surround sound included in the audio track. Some music CD/DVD includes surround sound but they are either simulated surround sound or special software you have to use to decode the sound. Though if you use $HOME/.asoundrc to created simulated surround sound, the subwoofer channel will still output the full range of frequencies. This means you need an active low-pass filter between the sound card and subwoofer amplifier.
The above code uses the route library to copy and lower the volume when told to do so. The rear and front channels are lowered for 5.1 setups to produce a sense of multiple channels and ambient sound. The voices will seem to be heard from only the center channel even though the left and right front channels are producing it too. In the 4 channel setup, subwoofer is left out and the difference in channels can be more defined. The 4 channel setup will add better transients and spacious because the subwoofer is left out. The 4.0 channel setup is better for music. The 4.1 setup includes a subwoofer. This setup is much better for movies and satellite/subwoofer setups.
I wouldn't recommend Gentoo itself to you just yet (give it a few months), but that HOWTO got my 7.1 setup working very nicely indeed, thankyou.
Everyone's .asoundrc is a little bit different, so I wouldn't recommend copying directly off anyone else (no offence, Electro [apologies for putting the wrong name here earlier]) - if you're up to it, that HOWTO should give you the information you need to set one up of your own.
As a side note, http://gentoo-wiki.com is an excellent resource for all number of Linux things - and while it is obviously Gentoo-centric, it can be an invaluable guide no matter what distro you use.
Last edited by Napalm Llama; 08-13-2006 at 06:35 AM.
alright I almost have it working, the only problem is on surround sound in the alsa mixer it only lets me choose the rear left or the rear right. It won't let me have both. Any ideas?
i have the same speakers and sound card ( 4-channel one ) and i was able to get 4.1 sorround working. all i did was double click on the speaker vol button in the taskbar and tell the volume controller to add the 3d sorround buttons for the CMedia card. after that i just turned it on and now the front and rear speakers are working fine. thats for Fedora though.......
Real surround sound is not all channels with the same volume. It is actually all channels have their own volumes. Normally the center channel is the dominate channel. The front left and right channels provides stage shifting but their volume are lower than the center channel. The rear channels provides ambient sound. These speakers should never be directed to the listening area. A lot of people set up the rears like they do for the fronts which is wrong. The rears have to create a null to the listening area to not be as bright as the fronts but reflected and reverb sound. To do this is easy. Direct the rears away from the listening area but at a diffused material. You will still hear the ricochet from the rears but it will produce better results.
The lines that I provided for $HOME/.asoundrc provides the best simulated surround sound from a stereo source even with out reverb and reflection. The lines from the gentoo-wiki site provides wrong surround sound setup because they use duplicate which copies and keeps the same volume for all channels. This gets the job done but it is lazy although my lines are much better. Of course you need to tweak the lines a little bit to make it work for your sound card.
Real surround sound is not all channels with the same volume. It is actually all channels have their own volumes. Normally the center channel is the dominate channel. The front left and right channels provides stage shifting but their volume are lower than the center channel. The rear channels provides ambient sound. These speakers should never be directed to the listening area. A lot of people set up the rears like they do for the fronts which is wrong. The rears have to create a null to the listening area to not be as bright as the fronts but reflected and reverb sound. To do this is easy. Direct the rears away from the listening area but at a diffused material. You will still hear the ricochet from the rears but it will produce better results.
The lines that I provided for $HOME/.asoundrc provides the best simulated surround sound from a stereo source even with out reverb and reflection. The lines from the gentoo-wiki site provides wrong surround sound setup because they use duplicate which copies and keeps the same volume for all channels. This gets the job done but it is lazy although my lines are much better. Of course you need to tweak the lines a little bit to make it work for your sound card.
Well in stereo it's simulated but when i use a dvd it sounds like a 5.1 should. Any ways i'm happy. Very happy.
The lines from the gentoo-wiki site provides wrong surround sound setup because they use duplicate which copies and keeps the same volume for all channels. This gets the job done but it is lazy although my lines are much better.
Ah, I see what you're doing now - I agree, that should be a lot better. Do you think there's any chance you could update the Wiki with your wisdom?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.