{"id":172,"date":"2008-08-11T15:31:11","date_gmt":"2008-08-11T10:01:11","guid":{"rendered":"http:\/\/brainstorms.in\/?p=172"},"modified":"2008-08-11T15:31:11","modified_gmt":"2008-08-11T10:01:11","slug":"installing-oss4-on-ubuntu-804","status":"publish","type":"post","link":"https:\/\/brainstorms.in\/?p=172","title":{"rendered":"Installing OSS4 on Ubuntu 8.04"},"content":{"rendered":"<p>I have been provided with a new Lenovo ThinkCentre\u00a0 M series machine\u00a0 at my office. The machine has decent specs like Pentium dual core. 1GB RAM and 160GB\u00a0 hdd.\u00a0 It came preloaded with windows vista. As I use Linux , I partitioned the hard disk and installed\u00a0 ubuntu8.04.\u00a0 Unfortunately\u00a0 sound is not working under Ubuntu.<\/p>\n<p>I\u00a0 looked at the\u00a0 lspci output and found out\u00a0\u00a0 the following.<\/p>\n<p>00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)<br \/>\nSubsystem: Lenovo Unknown device 100f<br \/>\nFlags: bus master, fast devsel, latency 0, IRQ 18<br \/>\nMemory at d0120000 (64-bit, non-prefetchable) [size=16K]<br \/>\nCapabilities: [50] Power Management version 2<br \/>\nCapabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0\/0 Enable-<br \/>\nCapabilities: [70] Express Unknown type IRQ 0<\/p>\n<p>A quick Google search for the card revealed several people reporting problems with ALSA, There are several workarounds reported. I thought of\u00a0 installing <a href=\" http:\/\/www.opensound.com\/\" target=\"_self\">OSS4<\/a>. Here is what I did. ( I think OSS is gpl compliant now, I am not sure)<\/p>\n<p>a)\u00a0 I installed the following packages.<\/p>\n<pre class=\"alt2\" style=\"border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;\" dir=\"ltr\">$  sudo apt-get install  oss-linux<\/pre>\n<p>You can also download the latest package from <a href=\"http:\/\/www.4front-tech.com\/download.cgi\" target=\"_blank\">here<\/a><\/p>\n<p>b) I use gnome desktop and for gnome utilises ESD for its sound interface.. I installed the following packages.<\/p>\n<pre class=\"alt2\" style=\"border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;\" dir=\"ltr\">$ sudo apt-get install esound esound-clients esound-common libesd0 libesd0-dev gstreamer0.10-esd<\/pre>\n<p>c) Next\u00a0 you have to prevent the default Alsa\u00a0 modules from loading up. This\u00a0 can be done via a file named<\/p>\n<p>\/etc\/modprobe.d\/blacklist<\/p>\n<p>Execute the following on command line.<\/p>\n<pre class=\"alt2\" style=\"border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;\" dir=\"ltr\">$ sudo chmod 776 \/etc\/modprobe.d\/blacklist\r\n$ sudo cat \/lib\/linux-sound-base\/noALSA.modprobe.conf &gt;&gt; \/etc\/modprobe.d\/blacklis<\/pre>\n<p>Please  take a look at  \/lib\/linux-sound-base\/noALSA.modprobe.conf. It contains the modules to be  blacklisted  for ALSA.<\/p>\n<p>d) I added the following additional lines to \/etc\/modeprobe.d\/blacklist<\/p>\n<pre class=\"alt2\" style=\"border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 146px; text-align: left;\" dir=\"ltr\">blacklist snd_hda_intel\r\nblacklist snd_mixer_oss\r\nblacklist snd_pcm\r\nblacklist snd_timer\r\nblacklist snd_page_alloc\r\nblacklist snd_hwdep\r\nblacklist snd\r\nblacklist soundcore<\/pre>\n<p>Now reconfigure the linux sound  base.<\/p>\n<pre class=\"alt2\" style=\"border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;\" dir=\"ltr\">sudo dpkg-reconfigure linux-sound-base<\/pre>\n<p>You will be prompted to select  the sound system. Select OSS.<br \/>\nNow reboot the system. The system will load OSS drivers instead of ALSA<\/p>\n<p>You can verify this with)<\/p>\n<pre class=\"alt2\" style=\"border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;\" dir=\"ltr\"># ossdetect -v\r\nDetected Intel High Definition Audio (ICH8)\r\nDetected Generic USB audio device (BETA<\/pre>\n<p>The OSS\u00a0 drivers can be loaded and unloaded using the commands<\/p>\n<pre class=\"alt2\" style=\"border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;\" dir=\"ltr\">#soundon\r\n#soundoff<\/pre>\n<p>You can launch a mixer with<\/p>\n<pre class=\"alt2\" style=\"border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;\" dir=\"ltr\">$ ossxmix<\/pre>\n<p>If you are on gnome you can create a launcher with ossxmix.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been provided with a new Lenovo ThinkCentre\u00a0 M series machine\u00a0 at my office. The machine has decent specs like Pentium dual core. 1GB RAM and 160GB\u00a0 hdd.\u00a0 It came preloaded with windows vista. As I use Linux , I partitioned the hard disk and installed\u00a0 ubuntu8.04.\u00a0 Unfortunately\u00a0 sound is not working under Ubuntu.&hellip; <a class=\"more-link\" href=\"https:\/\/brainstorms.in\/?p=172\">Continue reading <span class=\"screen-reader-text\">Installing OSS4 on Ubuntu 8.04<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6],"tags":[],"_links":{"self":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts\/172"}],"collection":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=172"}],"version-history":[{"count":0,"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts\/172\/revisions"}],"wp:attachment":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}