Intel ICH family - Building OSS into your kernel

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

Intel ICH family - Building OSS into your kernel

Postby Kaye on Sat Aug 29, 2009 12:36 am

Hello again everyone,

The first thing I ever had to do in Linux was fix my sound. I spent more than a day looking for a good fix after Husse's general ICH fix did nothing for me, so I just realized I should share this with everyone else to save people a lot of searching (hopefully). My fix was a complete switch to OSS, as is detailed in this walkthrough: Open Sound System: Building OSSv4 from source.

This should work for anyone with an Intel sound card (I've helped a few people with different cards through it, and no one has had a problem). Now, there are a few things to consider before doing this:
1. After this, you will be using OSS rather than ALSA, meaning any problems you have later on (with a specific application for example) will require a different fix than for the general Linux population. You'll want to go to the Open Sound forums for tech support.
2. If you're using KDE, kmix is not compatible with OSS at the moment (due to a bug which is apparently being worked on). To remedy this, you'll have to use a few bash scripts as a workaround (see below for more information on that).

So, if you've decided this is the way for you, there are a few extra things you should know post-install. For one thing, after the last step (sudo make install), an error will be repeated a bunch of times (module is already in use). This is normal. Restart, and you should have fully functioning sound. Next, in order to make applications work without too much configuration, open the Sound menu from the control center, and change everything there to OSS rather than ALSA. This will make applications default to OSS, saving you from a lot of hassle later on in life.

Issues:
This section is based completely on my own experiences. I've tested this method in KDE, Gnome, and XFCE, and it has worked flawlessly in all three desktops, other than these minor hiccups which I've found easily remedied.
1. Workaround for KMix (and media consoles/volume hotkeys as well): Follow this guide. After saving the scripts, you'll need to give them execute privileges
Code: Select all
chmod +x /path/to/file
then assign them to a global hotkey of your choosing (this will be different for each desktop).
2. Sound is too quiet/my volume controls don't work: You need to open your sound mixer (as long as you're not in KDE. In KDE, the only fix is the one above), set it to OSS, and basically play around with the switches until you find which one is actually controlling your volume. As far as I can tell, the reason OSS works while ALSA doesn't is that OSS hooks into every hardware piece involving sound, meaning you have access to many switches that don't actually do anything. For me, sound is controlled by the switches vmix0-outvol and misc.mix21. It'll be different for each person.
3. Flash is too quiet: This is a common problem with Linux due to Adobe's bad flash packaging. I've found it's somewhat helpful to switch to their official package
Code: Select all
apt remove --purge flashplugin-nonfree & apt install adobe-flashplugin
However, flash will still not be as loud as native music. Hopefully this'll be fixed by Adobe in the near future.

Other than that, I haven't had any problems. The first thing I do now on a fresh install is switch everything to OSS. It makes my life easy and full of music :P Good luck, and happy minting.
"In somnis veritas"
Antivirus or defragging?
Image
User avatar
Kaye
Level 5
Level 5
 
Posts: 942
Joined: Fri Feb 06, 2009 5:05 pm
Location: Boston College

Linux Mint is funded by ads and donations.
 

Re: Intel ICH family - Building OSS into your kernel

Postby Husse on Sun Aug 30, 2009 4:26 pm

This probably works very well, but I would recommend it only as a last resort
However I have included a link to here in my standard solution for HDA sound via a link from this topic
I find it very satisfying that people strive to present good solutions in the forum
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19717
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Intel ICH family - Building OSS into your kernel

Postby Kaye on Sun Aug 30, 2009 7:16 pm

The main reason I posted it is that it was the only solution that would work for me. I spent a very long time attempting every ALSA fix I could find on the net, but nothing seemed to work. This took me about twenty minutes, everything has worked perfectly, and I've never had a single problem after the initial configuration. Although I do understand that it should not be the first thing a new user attempts.. maybe I should add that to the main post?
"In somnis veritas"
Antivirus or defragging?
Image
User avatar
Kaye
Level 5
Level 5
 
Posts: 942
Joined: Fri Feb 06, 2009 5:05 pm
Location: Boston College

Re: Intel ICH family - Building OSS into your kernel

Postby Husse on Mon Aug 31, 2009 5:14 am

maybe I should add that to the main post?

Let's hope people read the entire topic before doing something :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19717
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Intel ICH family - Building OSS into your kernel

Postby bedes on Thu Sep 03, 2009 9:33 pm

I would like to try this option as ALSA is driving me nuts.

Can you let me know if there is anything I need to remove before I start the walkthrough?
bedes
Level 1
Level 1
 
Posts: 3
Joined: Thu Sep 03, 2009 7:53 pm

Re: Intel ICH family - Building OSS into your kernel

Postby Kaye on Thu Sep 03, 2009 9:41 pm

You shouldn't really need to remove anything.. OSS should be an alternative to ALSA in your system.
"In somnis veritas"
Antivirus or defragging?
Image
User avatar
Kaye
Level 5
Level 5
 
Posts: 942
Joined: Fri Feb 06, 2009 5:05 pm
Location: Boston College

Re: Intel ICH family - Building OSS into your kernel

Postby bedes on Thu Sep 03, 2009 10:16 pm

Ok. thx kaye.
bedes
Level 1
Level 1
 
Posts: 3
Joined: Thu Sep 03, 2009 7:53 pm

Re: Intel ICH family - Building OSS into your kernel

Postby igorzwx on Sat Sep 05, 2009 6:44 pm

Hi all!

I would propose to read these howtos on OSS4:
https://help.ubuntu.com/community/OpenSound
http://martinbaselier.wordpress.com/
http://wiki.archlinux.org/index.php/OSS ... io_devices

OSS4 seems to be an ideal solution for old boxes (with old sound cards).
But with High Definition Audio (HDA), not everything goes smooth.
You may see this on OSS4 forum.

OSS4 is great, but if your HDA soundcard is not in the list of supported hardware, you are out of luck.
And, what is more, some OSS4 drivers may have bugs.
For example, this sound card seems to be problematic:
Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: AndroidJunkie and 17 guests