PDA

View Full Version : [all variants] Hardy 8.04 & OSS4 (Alternative to ALSA)



Pages : [1] 2

Temüjin
May 4th, 2008, 03:01 AM
Now that Ubuntu 8.04 is out and all the old info is archived, I figured it was time for a new thread on OSS4.

Link to the OpenSound System project forum: http://www.4front-tech.com/forum/index.php
I encourage you to register an account there and use their Linux forum if your issue is more pertinent to OSS itself and not installing/using it on Ubuntu. This ensures that users of other Linux distros will have a chance to benefit from or give feedback on your issue, and ensures that we keep non-Ubuntu issues off of these forums, which are already loaded with unresolved issues.

I will be updating this thread with new information and announcements, so remember to subscribe to it.

Temüjin
May 4th, 2008, 03:02 AM
The OSS4 Install Guide has moved to: https://help.ubuntu.com/community/OpenSound

Mr. Sunshine
May 4th, 2008, 03:19 AM
Excuse my ignorance, but what is the advantage of using OSS4 instead of ALSA? I was under the impression that OSS is outdated and ALSA should be used.

Is it for older hardware? Or is the sound quality better than ALSA?

Temüjin
May 4th, 2008, 03:30 AM
I was under the impression that OSS is outdated and ALSA should be used.
This is a common misconception. Please read Hannu's blog post "OSS is Dead. Long Live OSS!" here: http://4front-tech.com/hannublog/?p=5

Mr. Sunshine
May 4th, 2008, 03:52 AM
That was enlightning. There are two forks of OSS: a GPL one which is outdated and this one, which is binary only.

However, that is unimportant.

What I really want to know is: will OSS4 give better sound with than ALSA? I have a HD Audio chipset.

Temüjin
May 4th, 2008, 04:01 AM
The blog is about a year old. Since that time, I believe all of OSS is now GPL'd except for some non-Linux stuff (BSD, Solaris & other Unix OS's) and a select few modules whose vendors still have NDA's with 4front.


What I really want to know is: will OSS4 give better sound with than ALSA?
It did on my sound card (M-Audio Revolution). If your sound works properly, I would not recommend that you switch at this time. But I do think you'll like the upcoming release of OSS 4.1. If you decide to switch, I would recommend using the Mercurial repo version rather than a .deb package because the HD Audio modules have had a lot of work put into them for the new build.

pickboy87
May 4th, 2008, 08:12 PM
Ok, so I've followed your guide and I'm still having trouble getting sound to work properly. It shows up correctly with ossinfo -v (I have M-Audio Revolution 5.1) and after I installed the package from a failsafe terminal I tried out osstest and it worked for every one of my audio devices (HDA Intel [onboard sound], M-Audio Revolution and my USB audio device), but once I logged in to Ubuntu, it doesn't play audio.

What I have tried is going to the sound options under System -> Preferences -> Sound and changed them all to OSS (I get sound out of both speakers with "test", but the right speaker crackles sometimes [it's only done this in linux with OSS and at medium-high volume]. Every other application I don't get any sound. Any advice?

My guess is it's something similar to Windows where I just need to select M-Audio as my default audio device, but I just can't seem to figure out how.

OS is Hardy Heron 8.04 AMD 64 bit. Any information you need, I'll give to ya!

Thanks for the help,
Nathan.

pickboy87
May 4th, 2008, 08:12 PM
Double Post...

Temüjin
May 4th, 2008, 09:40 PM
Nathan, are you using your onboard sound for any purpose? If not, it would be best to disable it in the BIOS.

You should also remove the virtual mixer (vmix) because the M-Audio Revolution does mixing with hardware :)

So:

sudo soundoff
cd /usr/lib/oss/etc
gksudo gedit installed_drivers
(Remove all lines except the M-Audio Revo)

sudo soundon

pickboy87
May 4th, 2008, 10:47 PM
Awesome, I'll give it a try once I get home. And yeah, I was thinking the same thing about disabling the onboard sound in the BIOS. I used to use it in windows specifically for the mic, and my M-Audio for music but I really don't have any need for it now.

I really appreciate the help and you taking your time out to help answer my question. I'll edit this post once I try it, and if that still doesn't work, I'll PM you.

Edit: Alright, well I've disabled my onboard sound, and tried what you've said. As far as I can tell, the crackling is gone in the right speaker [I think it was the mixer causing the problem]. Tried osstest again and it gives me sound and it works properly, but I still have some minor issues (I don't think I have login sounds still - haven't rebooted though...). I figured out about Amarok giving me trouble (had been messing around with it and accidently selected some DSP for source [or something...], changed it back and it works again]. I still have trouble with flash audio, but I haven't followed the guide as far as that goes. I'll update this post later if I a) run into more troubles and b) so that I can explain further to people that may have run into similar problems.

Thanks once again for your help, its much appreciated.

Edit 2: Ugh, ran into a whole slew of errors now after reboot. Now I don't get any sound (it says it won't start OSS due to errors). I'm gonna just reformat and install Ubuntu again and start fresh. I've disabled the onboard and am gonna see if ALSA works (but I plan on using OSS again). Windows crapped out on me too for no apparent reason (said it was missing some file ndl something or other) - didn't even mess with Windows and it just decided not to work...God I love linux so much more :-D


This is what I get when I try this:


nathan@linux-desktop:~$ sudo soundon
[sudo] password for nathan:
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/lib/oss/etc/devices.list: No such file or directory
No /usr/lib/oss/etc/installed_drivers - cannot continue

AndyJS
May 5th, 2008, 01:24 AM
Awesome, I'll give it a try once I get home. And yeah, I was thinking the same thing about disabling the onboard sound in the BIOS. I used to use it in windows specifically for the mic, and my M-Audio for music but I really don't have any need for it now.

I really appreciate the help and you taking your time out to help answer my question. I'll edit this post once I try it, and if that still doesn't work, I'll PM you.

Edit: Alright, well I've disabled my onboard sound, and tried what you've said. As far as I can tell, the crackling is gone in the right speaker [I think it was the mixer causing the problem]. Tried osstest again and it gives me sound and it works properly, but I still have some minor issues (I don't think I have login sounds still - haven't rebooted though...). I figured out about Amarok giving me trouble (had been messing around with it and accidently selected some DSP for source [or something...], changed it back and it works again]. I still have trouble with flash audio, but I haven't followed the guide as far as that goes. I'll update this post later if I a) run into more troubles and b) so that I can explain further to people that may have run into similar problems.

Thanks once again for your help, its much appreciated.

Edit 2: Ugh, ran into a whole slew of errors now after reboot. Now I don't get any sound (it says it won't start OSS due to errors). I'm gonna just reformat and install Ubuntu again and start fresh. I've disabled the onboard and am gonna see if ALSA works (but I plan on using OSS again). Windows crapped out on me too for no apparent reason (said it was missing some file ndl something or other) - didn't even mess with Windows and it just decided not to work...God I love linux so much more :-D


This is what I get when I try this:


nathan@linux-desktop:~$ sudo soundon
[sudo] password for nathan:
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/lib/oss/etc/devices.list: No such file or directory
No /usr/lib/oss/etc/installed_drivers - cannot continue


Hate to say this but it sounds to me like you may have hard disk problems if your Windows install wont boot and your linux install is now complaining about missing files and directories :(

pickboy87
May 5th, 2008, 02:39 PM
Hate to say this but it sounds to me like you may have hard disk problems if your Windows install wont boot and your linux install is now complaining about missing files and directories :(

I might, but I really don't think so. I researched the missing file a while back (it happened to me and my friend - just once each) and it seems to be a common but uncommon problem. I never really did find an answer for why it happens and no one really knew why either...

As for the missing files in Linux...while, I was dinking around with the sound, but all I did was exactly what Temujin said.


As of right now, I've reinstalled Linux, followed the guide again (wasn't getting sound out of ALSA) and deleted the vmixer off the list. I have yet to reboot, so I'll let you know what happens then shortly. osstest works, and removing the vmixer did help with the crackle. Let's hope no files go missing. Oh, and as far as I can tell, for some reason I'm still not getting sound when I login or logout. I can get sound out of audio devices (still not flash, but then again I haven't messed with it either) and movies.

/fingers crossed it doesn't f--- up again.


Edit: Alright, well I just rebooted and I'm still not getting sound out of the login and logout. I went to go test it under System -> Preferences -> Sound and still got no sound out of it (oh and had to switch all the sound outputs to OSS). I'm not that concerned about it, was just curious why no sound. Just played an mp3 and a movie and did get sound (one in Amarok and one is Totem). Gonna try the flash one in a bit.


Edit 2: Ok, so I've got 2 last problems. One, the sound mixer you suggested by doing ossxmix "works". It shows up correctly, but every time I try to adjust the volume, it shoots it right back to where it was before. So I can't tamper with the volume. The second problem I have is, I'm a little confused still on your flash tutorial. I got to step 2 (my file or directory was not found), but it says to do something to a file...which file and where do I find it?

radamo
May 6th, 2008, 03:01 AM
Please help... Just installed OSS4 and after doing the patch steps on my 64bit Ubuntu I can't load the ossxmix app.

ossinfo returns the following:
Version info: OSS 4.0 (b1015/200803240317) (0x00040003)
Platform: Linux/x86_64 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 (lintest)

Number of audio devices: 0
Number of audio engines: 0
Number of mixer devices: 0


Device objects
0: osscore0 OSS core services
1: ossusb0 USB audio core services
2: vmix0 OSS transparent virtual mixer


Mixer devices

Audio devices


So not only won't the mixer load it does not see my X-Fi sound card.

How can I fix this? Thanks for any help.

RA

Temüjin
May 6th, 2008, 03:16 AM
pickboy87, the command to edit the file is:

gksudo gedit /usr/lib/oss/lib/flashsupport.c
I'm going to add that to the guide. Thanks for the feedback.

radamo, x-fi support is still in the beta phase. My suggestion would be to try the latest build of OSS 4.1 . A guide on that will be coming soon. :)

radamo
May 6th, 2008, 11:53 AM
...
radamo, x-fi support is still in the beta phase. My suggestion would be to try the latest build of OSS 4.1 . A guide on that will be coming soon. :)

Okay, I understand that x-fi support is beta. So I have re-enabled my onboard sound which previously worked in both Alsa and OSS. I have removed OSS and reinstalled Alsa... Cannot get on board to work anymore. No audio devices seem to get recognized. appreciate the help.

RA

eturea
May 6th, 2008, 12:10 PM
I have successfully installed OSSv4, but with an annoying problem. Every time sound starts I hear pops and clicks in one speaker, right speaker.
I use QuodLibet as player and every time is loading a new song it clicks. Only Amarok can play a playlist without clicks, but if I dare to change the playing song it clicks again.
I have an M-Audio Audiophille 2496, installed on Ubuntu 64bit 8.04 (installed on windows partition with wubi). I don't use vmix.
Today I plan to install from source oss-v4.1-build080423-src-gpl.tar.bz2 and if that doesn't work I'm out of ideas.
Any suggestions are greatly appreciated!
Thank you

Temüjin
May 6th, 2008, 01:16 PM
Prerequisite Packages:

sudo apt-get -y install linux-headers-`uname -r` build-essential gawk libtool binutils libgtk2.0-dev linux-sound-base mercurial libesd0 libssl0.9.8 libssl-dev
If you want system sounds:

sudo apt-get -y install esound esound-clients esound-common libesd0-dev
Obtaining and building OSS4.1 beta

cd /usr/src
sudo hg clone http://mercurial.opensound.com/ oss-devel
cd ~/
mkdir oss41build
cd oss41build/
sudo sh /usr/src/oss-devel/configure
sudo make
sudo make install

radamo
May 6th, 2008, 01:28 PM
radamo,

Thank you for your patience. Below is the procedure I used to install OSS 4.1 from the mercurial repo. If your system complains about ALSA still running, then I recommend doing this procedure from 'recovery mode'.


sudo /etc/init.d/alsa-utils stop
sudo apt-get -y remove alsa-oss oss-compat alsa-base libesd-alsa0

sudo apt-get -y install linux-headers-`uname -r` build-essential gawk libtool libgtk2.0-dev libesd0 wget linux-sound-base gcc-multilib libesd0-dev mercurial libssl0.9.8 libssl-dev
cd /usr/src
sudo hg clone http://mercurial.opensound.com/ oss-devel
cd ~/
mkdir oss41build
cd oss41build/
sudo sh /usr/src/oss-devel/configure
sudo make
sudo make install

Are you thinking that I need 4.1 just to get my onboard working or is this to get OSS working with my X-fi. At this point I am ok getting my on board working again... even with Alsa which worked very well... The only reason I went through all this and now have no sound is to try to take advantage of my sound card.

Thanks,
RA

Temüjin
May 6th, 2008, 01:51 PM
Are you thinking that I need 4.1 just to get my onboard working or is this to get OSS working with my X-fi.
Both.

radamo
May 6th, 2008, 02:28 PM
Both.

radamo@lintest:/usr/src$ sudo hg clone http://mercurial.opensound.com/ oss-devel
sudo: hg: command not found


I get up to the step above... Is there a typo in the above? I have never seen hg as a command?
Thanks,
RA

radamo
May 6th, 2008, 02:37 PM
radamo@lintest:/usr/src$ sudo hg clone http://mercurial.opensound.com/ oss-devel
sudo: hg: command not found


I get up to the step above... Is there a typo in the above? I have never seen hg as a command?
Thanks,
RA

Nevermind... I needed to install mercurial...now moving further...
Thanks,
RA

radamo
May 6th, 2008, 02:48 PM
radamo,

Thank you for your patience. Below is the procedure I used to install OSS 4.1 from the mercurial repo. If your system complains about ALSA still running, then I recommend doing this procedure from 'recovery mode'.


sudo /etc/init.d/alsa-utils stop
sudo apt-get -y remove alsa-oss oss-compat alsa-base libesd-alsa0

sudo apt-get -y install linux-headers-`uname -r` build-essential gawk libtool libgtk2.0-dev libesd0 wget linux-sound-base gcc-multilib libesd0-dev mercurial libssl0.9.8 libssl-dev
cd /usr/src
sudo hg clone http://mercurial.opensound.com/ oss-devel
cd ~/
mkdir oss41build
cd oss41build/
sudo sh /usr/src/oss-devel/configure
sudo make
sudo make install

Completed all of the above and got "no mixers in the system"

Tried to run ossxmix -

Get back: No mixers are availble

Is this better or worse?

ossinfo still returns no audio devices...
Version info: OSS 4.1 (b 080423/200805061338) (0x00040090)
Platform: Linux/x86_64 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 (lintest)

Number of audio devices: 0
Number of audio engines: 0
Number of MIDI devices: 0
Number of mixer devices: 0


Device objects
0: osscore0 OSS core services
1: ossusb0 USB audio core services
2: vmix0 OSS transparent virtual mixer

MIDI devices (/dev/midi*)

Mixer devices

Audio devices

Temüjin
May 6th, 2008, 03:59 PM
Please run:

sudo ossdetect -v
What output does it give?

radamo
May 6th, 2008, 04:21 PM
Please run:

sudo ossdetect -v
What output does it give?

Detected Intel High Definition Audio (P35)
Detected Generic USB audio/MIDI device (BETA)
Detected OSS Transparent Virtual Mixing Architecture

Thanks,
RA

Temüjin
May 6th, 2008, 04:52 PM
radamo,
Your HD audio should work now. If it does not, please make a thread on the OSS forum (I saw you made an account there).

radamo
May 6th, 2008, 05:06 PM
radamo,
Your HD audio should work now. If it does not, please make a thread on the OSS forum (I saw you made an account there).

Will do... from the Sound applet I get the following if I press Test:

audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Failed to connect stream: Invalid argument

terminator14
May 6th, 2008, 05:24 PM
@Temüjin

I'm a linux noob like I'm sure a lot of us reading you post are and I'd just like to say THANKS A LOT :)... I have been trying to get my X-Fi to work on Linux for probably over a year, waiting for new drivers from creative to come out, and trying stuff people have written about, trying and waiting. Following your guide, I was able to set up my X-Fi on Ubuntu 8.04 in minutes. I can't thank you enough.

BTW, the only thing I don't have working is my media keyboard won't increase/decrease the sound and that sort of thing. You mention that here:



ADDENDUM: Volume Control Patch The current gstreamer-based volume control in GNOME is incompatible with OSSv4, meaning your mouse wheel and media buttons won't work. To remedy the issue, try Clive Wright's patch (http://4front-tech.com/forum/viewtopic.php?t=2357&highlight=). I've also built and attached an AMD64 version to this post. Note that this patch was updated on 1/8/08, so if you tried it before then and it didn't work, try again.
Also, if you'd prefer to map commands to your shortcut keys, here are some scripts to use (http://wiki.archlinux.org/index.php/OSS) (at the bottom of the page).


It seems that http://www.4front-tech.com is down right now and I can't get Clive Wright's Patch. Can anyone point out a mirror for this? I would find it myself but I have no idea what the file name of the patch is...

Temüjin
May 6th, 2008, 06:28 PM
Following your guide, I was able to set up my X-Fi on Ubuntu 8.04 in minutes. I can't thank you enough.
Awesome! If you'd like to thank me, please edit your post and remove the huge quote :P (I expect this thread to get rather long as it is)


It seems that http://www.4front-tech.com is down right now and I can't get Clive Wright's Patch.
The forum works fine for me at the time of this post. Just to make sure, I've added the 32-bit version to the original post.

seawright
May 6th, 2008, 06:33 PM
http://homepage.ntlworld.com/clive_wright/download/gstreamer-ossv4.tar.gz
contains patch and 32 bit version of libgstossaudio.so

regards,
Clive

terminator14
May 6th, 2008, 07:19 PM
Awesome! If you'd like to thank me, please edit your post and remove the huge quote :P (I except this thread to get rather long as it is)

Got it. Thanks again for the How To.


http://homepage.ntlworld.com/clive_wright/download/gstreamer-ossv4.tar.gz
contains patch and 32 bit version of libgstossaudio.so

regards,
Clive

Worked like a charm. Thanks

eturea
May 7th, 2008, 10:23 AM
I've changed envy24_nfrags setting: no effect!
I've installed oss-v4.1-build080423-src-gpl: no effect!
I'm lost! :(
For now I'll use Amarok (is the only one who can play a playlist - with one click sound on the first song!)

pickboy87
May 7th, 2008, 05:23 PM
Alright, I've got another small problem for ya Temujin. So everything is working relativly smoothly in terms of sound...the only other problem I've run into is playing multiple sounds at once. For instance, when I'm browsing and listening to music and run into a flash page, the only way I can listen to the flash is when I completely stop playing my music. Do you have a solution oh wise one? :-D

Temüjin
May 8th, 2008, 05:40 PM
Alright, I've got another small problem for ya Temujin. So everything is working relativly smoothly in terms of sound...the only other problem I've run into is playing multiple sounds at once. For instance, when I'm browsing and listening to music and run into a flash page, the only way I can listen to the flash is when I completely stop playing my music. Do you have a solution oh wise one? :-D
The solution is to use EsounD because the envy24ht driver doesn't seem to play well with multiple sound streams. I know the hardware is capable of playing/mixing multiple sound streams because I used to do it in Windows (and I was using ASIO to bypass Windows' mixer).

Right now, I'm actually working on the same issue myself (i.e. getting EsounD up and running). I'll let you know if I have success :)

xproject
May 9th, 2008, 01:28 AM
After searching the internet for hours, I feel like I am the only person in the world who is trying to install OSS4 in Kubuntu 8.04 KDE4 remix.



I have followed your instructions, OSS installs fine, ossinfo tells me that my X-Fi card is detected, but osstest does not output anything to the speakers. I think the problem is that I cannot fully remove Alsa -- when I apt-get remove alsa-base, it becomes apparent that KDE4 is dependent on alsa-base. Unless I want to get rid of KDE4, I cannot uninstall alsa.

Any suggestions?

Temüjin
May 9th, 2008, 01:47 AM
Any suggestions?
Write to the Kubuntu devs and tell them you want an OSS4 spin? Sorry, but I don't like KDE/Kubuntu and my attempt to work with Kubuntu 8.04/KDE 3.5.x didn't go so well: http://ubuntuforums.org/showthread.php?t=747054

Out of curiosity, do you have the linux-sound-base package installed?

xproject
May 9th, 2008, 02:32 AM
Out of curiosity, do you have the linux-sound-base package installed?

Yes it is -- version 1.0.16-0ubuntu4. And thanks for the quick reply.

dlikhten
May 10th, 2008, 07:30 PM
ossdetect -v


Detected Creative SB X-Fi (EARLY BETA)
Detected Intel High Definition Audio (P35)
Detected Generic USB audio device (BETA)
Detected OSS Transparent Virtual Mixing Architecture

ossinfo


Version info: OSS 4.0 (b1015/200803240256) (0x00040003)
Platform: Linux/i686 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 (dlikhten-desktop)

Number of audio devices: 12
Number of audio engines: 28
Number of mixer devices: 2


Device objects
0: osscore0 OSS core services
1: hdaudio0 Intel HD Audio interrupts=34939 (34940)
HD Audio controller Intel HD Audio
Vendor ID 0x8086293e
Subvendor ID 0x1458a002
Codec 2: ALC885 (0x10ec0885/0x1458a002)
2: sbxfi0 Sound Blaster X-Fi (SB073x) interrupts=65075 (65075)
PCI device 1102:0005, subdevice 1102:0031
3: ossusb0 USB audio core services
4: vmix0 OSS transparent virtual mixer


Mixer devices
0: High Definition Audio ALC885 (Mixer 0 of device object 1)
1: Sound Blaster X-Fi (SB073x) (Mixer 0 of device object 2)

Audio devices
HD Audio front /dev/oss/hdaudio0/pcm0 (device index 0)
HD Audio rear /dev/oss/hdaudio0/pcm1 (device index 1)
HD Audio center/LFE /dev/oss/hdaudio0/pcm2 (device index 2)
HD Audio side /dev/oss/hdaudio0/pcm3 (device index 3)
HD Audio pcm4 /dev/oss/hdaudio0/pcm4 (device index 4)
HD Audio spdif-out /dev/oss/hdaudio0/spdout0 (device index 5)
High Definition Audio rec /dev/oss/hdaudio0/pcmin0 (device index 6)
High Definition Audio rec1 /dev/oss/hdaudio0/pcmin1 (device index 7)
High Definition Audio rec2 /dev/oss/hdaudio0/pcmin2 (device index 8)
High Definition Audio spdif-in /dev/oss/hdaudio0/spdin0 (device index 9)
Sound Blaster X-Fi (SB073x) output /dev/oss/sbxfi0/pcm0 (device index 10)
Sound Blaster X-Fi (SB073x) input /dev/oss/sbxfi0/pcmin0 (device index 11)


Using Ubuntu 8.04 (gnome)


I get no sound. I set up the "sound" configuration (though GUI) to use OSS, I still get absolutely no sound.

Is there any configuration needed to enable everything after installation?

Temüjin
May 10th, 2008, 08:12 PM
dlikhten,

Link to the OpenSound System project forum: http://www.4front-tech.com/forum/index.php
I encourage you to register an account there and use their Linux forum if your issue is more pertinent to OSS itself and not installing it on Ubuntu. This ensures that users of other Linux distros will have a chance to benefit from or give feedback on your issue, and ensures that we keep non-Ubuntu issues off of these forums, which are already loaded with unresolved issues.

dlikhten
May 10th, 2008, 08:54 PM
Alrighty, I will do that, if I have any luck I'll post here what worked for me.

dlikhten
May 10th, 2008, 09:05 PM
Alrighty, I will do that, if I have any luck I'll post here what worked for me.

Ok here we go:

Get this version of OSS4 -- customized to work with XFI

oss.tar.bz2 (http://www.fileupyours.com/view/77985/oss.tar.bz2)

Then follow these instructions on how to install it.
Instructions (http://www.4front-tech.com/wiki/index.php/Building_OSSv4_from_source#Building_the_OSS_sound_ system_from_source)

Retrieved from THIS POST (http://www.4front-tech.com/forum/viewtopic.php?t=2621)

Running osstest will ensure that your sound card is working. There is, however, an issue: If you have 2 sound cards (onboard + xfi) you need to have Linux use your xfi instead of the onboard. What I wound up doing is disabling my onboard from BIOS (I don't need it anyways), and Ubuntu used XFI as the main (and only) sound card. You can also blacklist your other sound card.

:guitar:

nezach
May 10th, 2008, 10:31 PM
Temüjin - thanks a lot for the info you provided.

I compiled OSS 4.1 from their repo and my X-Fi works great now.

Thanks again.

Paul

Zorael
May 10th, 2008, 11:28 PM
Okay, so, newbie questions incoming.

I'm a user and not a developer, but even so, I'm terribly weak to the FOSS ideal. And not just because I'm a poor student. Having read the "OSS is dead" blog post and random other google hits from subsequent cursory research, I think more highly of OSS now. So I'd like to take the leap and see if it works for me.

Will this new-and-improved OSS work with any and all programs that already support the old OSS?
What about mixing? Will any app *ever* nick exclusive access?
Can this be installed alongside ALSA or will I have to remove all traces of it? I'm running pulse now, on my Kubuntu 8.04 x86_64 where it isn't included by default, and getting everything to work was an adventure in itself. If, by any chance, my card won't work with OSS4 (though it's listed in the supported devices page; ICH7 HDA), I'd have to embark on the same adventure to get pulse restored, so I'm naturally treading lightly.
What of compatibility plugins/wrappers toward other sound architectures? If I have an app that *really* only wants to output in ALSA, am I screwed?
Does it feature app-specific volume settings?
To what extent are multiple soundcards supported? I can move sources between sinks in pulse, for instance, in realtime. Anything along those lines?


Well, the best thing that could happen were if pulse had OSS support, I guess. But as far as I know, it's ALSA-only, right?

Temüjin
May 11th, 2008, 04:27 AM
1. Yes
2. OSS uses its own mixer (vmix) and with simple patches, plays nice with the Gnome/Ubuntu volume control. It's also capable of hardware mixing.
3. If "getting everything to work was an adventure in itself", then don't fix something that's not broken. You even pointed out that your motivation to use OSS4 is far more idealistic than practical.
4. http://www.4front-tech.com/wiki/index.php/Configuring_Applications_for_OSSv4
5. See 4
6. PulseAudio is a sound server and it works well with ALSA. The Open Sound System has a different purpose. Read more of Hannu's blog if you want to know the technical differences: http://4front-tech.com/hannublog/

flyinraptr
May 11th, 2008, 05:46 AM
Temüjin -
I was looking at the supported devices - didn't appear to be any TV Tuners - is this the case? Or is there a workaround? My primary sound is SB Audigy (chip on mobo) - I had pulled my Xfi card out a long time ago as I could never get it to work properly. My TV Tuner is a DVICO RT Fusion which uses the Conexant cx23888 chip (cx8811_alsa). After reading about OSS4 - was thinking about throwing my Xfi card back in the system - would it be possible to route the tv audio through the Xfi using OSS?

Thanks -

Temüjin
May 11th, 2008, 06:00 AM
flyinraptr,
I have no idea, as I am not a developer on the project. Please ask on the OSS forum if you are interested (the OSS Developer subforum)

flyinraptr
May 11th, 2008, 06:10 AM
flyinraptr,
I have no idea, as I am not a developer on the project. Please ask on the OSS forum if you are interested (the OSS Developer subforum)

Sorry - my bad. I'll check out the OSS forum. Thanks for the info.

Zorael
May 11th, 2008, 09:47 AM
3. If "getting everything to work was an adventure in itself", then don't fix something that's not broken. You even pointed out that your motivation to use OSS4 is far more idealistic than practical.
Well, of course. Using Linux to begin with was far more idealistic than practical; with a laptop bundled with XP MCE 2005 as well as a free upgrade to Vista Home Premium *and* paid-for support, I'm supposed to be content and happy with Notepad, Internet Explorer, Outlook Express and Frontpage. Only I'm tired to death of applications created to look pretty to give the idea of solid coding, when they in fact hardly work. Not to mention the embrace-extend-extinguish practise, which I find disgusting. Again, opinion, ideology.

I counter your "don't fix something that's not broken" with what'll ever be as close to a motto as I'll ever have: "just because it works doesn't mean it can't be improved."

That said, I'll likely give it a go.

Temüjin
May 11th, 2008, 12:25 PM
That said, I'll likely give it a go.
Attaboy :) I admire your pioneering spirit. Keep me posted.

Zorael
May 11th, 2008, 12:48 PM
If you decide to switch, I would recommend using the Mercurial repo version rather than a .deb package because the HD Audio modules have had a lot of work put into them for the new build.
Should I use the downloadable (amd64) .deb or this external repo (to which I can't find a link) if I have an Intel HDA chipset?

zorael@sunspire:~$ lshw -C multimedia; aplay -l
WARNING: you should run this program as super-user.
*-multimedia
description: Audio device
product: 82801G (ICH7 Family) High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=HDA Intel latency=0 module=snd_hda_intel
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

Temüjin
May 11th, 2008, 01:01 PM
Try the OSS 4.0 .deb method first. If jack sensing and/or ossxmix does not work properly, then we'll work with the OSS 4.1 repo.

benmore
May 11th, 2008, 02:16 PM
I managed to get the sound working without the reboot into failsafe.
It was a clean install with all updates and the sound driver installed.
Just needed to use the 'sudo soundon' line and I could hear the sound initialize.

Thanks for the guide.

Temüjin
May 11th, 2008, 02:23 PM
I managed to get the sound working without the reboot into failsafe.
It was a clean install with all updates and the sound driver installed.
Just needed to use the 'sudo soundon' line and I could hear the sound initialize.

Thanks for the guide.
Awesome. The install process has gotten easier since I wrote the first guide. I wonder if that reboot is necessary for all users nowadays...


Thanks for the guide.
No problem. :)

Zorael
May 11th, 2008, 02:49 PM
I get this when I connect my Creative SB MP3+ USB device.

Bus 002 Device 002: ID 041e:3010 Creative Technology, Ltd SoundBlaster MP3+

[ 675.151791] usb 2-2: new full speed USB device using uhci_hcd and address 2
[ 675.367950] usb 2-2: configuration #1 chosen from 1 choice
[ 675.371233] New audioctl device 2/0 - Creative Sound Blaster MP3+
[ 675.391867] New audio streaming device 2/1 - Creative Sound Blaster MP3+
[ 675.391995] New audio streaming device 2/2 - Creative Sound Blaster MP3+
[ 675.458691] snd: Unknown symbol unregister_sound_special
[ 675.458790] snd: Unknown symbol register_sound_special_device
[ 675.459043] snd: Unknown symbol sound_class
[ 675.460461] snd_hwdep: Unknown symbol snd_info_register
[ 675.460494] snd_hwdep: Unknown symbol snd_info_create_module_entry
[ 675.460525] snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.460564] snd_hwdep: Unknown symbol snd_info_free_entry
[ 675.460600] snd_hwdep: Unknown symbol snd_unregister_oss_device
[ 675.460634] snd_hwdep: Unknown symbol snd_verbose_printk
[ 675.460665] snd_hwdep: Unknown symbol snd_register_oss_device
[ 675.460697] snd_hwdep: Unknown symbol snd_ctl_register_ioctl
[ 675.460728] snd_hwdep: Unknown symbol snd_card_file_add
[ 675.460765] snd_hwdep: Unknown symbol snd_iprintf
[ 675.460796] snd_hwdep: Unknown symbol snd_major
[ 675.460836] snd_hwdep: Unknown symbol snd_unregister_device
[ 675.460869] snd_hwdep: Unknown symbol snd_device_new
[ 675.460908] snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl
[ 675.460946] snd_hwdep: Unknown symbol snd_lookup_oss_minor_data
[ 675.460979] snd_hwdep: Unknown symbol snd_lookup_minor_data
[ 675.461010] snd_hwdep: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.461043] snd_hwdep: Unknown symbol snd_card_file_remove
[ 675.461073] snd_hwdep: Unknown symbol snd_register_device_for_dev
[ 675.466843] snd_seq_device: Unknown symbol snd_info_register
[ 675.466876] snd_seq_device: Unknown symbol snd_info_create_module_entry
[ 675.466907] snd_seq_device: Unknown symbol snd_info_free_entry
[ 675.466939] snd_seq_device: Unknown symbol snd_seq_root
[ 675.466973] snd_seq_device: Unknown symbol snd_verbose_printk
[ 675.467007] snd_seq_device: Unknown symbol snd_iprintf
[ 675.467049] snd_seq_device: Unknown symbol snd_device_new
[ 675.479591] snd: Unknown symbol unregister_sound_special
[ 675.479690] snd: Unknown symbol register_sound_special_device
[ 675.479980] snd: Unknown symbol sound_class
[ 675.481656] snd_seq_device: Unknown symbol snd_info_register
[ 675.481688] snd_seq_device: Unknown symbol snd_info_create_module_entry
[ 675.481719] snd_seq_device: Unknown symbol snd_info_free_entry
[ 675.481752] snd_seq_device: Unknown symbol snd_seq_root
[ 675.481807] snd_seq_device: Unknown symbol snd_verbose_printk
[ 675.481841] snd_seq_device: Unknown symbol snd_iprintf
[ 675.481889] snd_seq_device: Unknown symbol snd_device_new
[ 675.484374] snd_rawmidi: Unknown symbol snd_info_register
[ 675.484407] snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.484459] snd_rawmidi: Unknown symbol snd_seq_device_new
[ 675.484495] snd_rawmidi: Unknown symbol snd_info_free_entry
[ 675.484531] snd_rawmidi: Unknown symbol snd_unregister_oss_device
[ 675.484566] snd_rawmidi: Unknown symbol snd_verbose_printk
[ 675.484597] snd_rawmidi: Unknown symbol snd_register_oss_device
[ 675.484632] snd_rawmidi: Unknown symbol snd_ctl_register_ioctl
[ 675.484663] snd_rawmidi: Unknown symbol snd_card_file_add
[ 675.484701] snd_rawmidi: Unknown symbol snd_iprintf
[ 675.484736] snd_rawmidi: Unknown symbol snd_major
[ 675.484782] snd_rawmidi: Unknown symbol snd_oss_info_register
[ 675.484813] snd_rawmidi: Unknown symbol snd_unregister_device
[ 675.484849] snd_rawmidi: Unknown symbol snd_device_new
[ 675.484881] snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
[ 675.484926] snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
[ 675.484962] snd_rawmidi: Unknown symbol snd_lookup_minor_data
[ 675.484992] snd_rawmidi: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.485026] snd_rawmidi: Unknown symbol snd_info_create_card_entry
[ 675.485060] snd_rawmidi: Unknown symbol snd_card_file_remove
[ 675.485093] snd_rawmidi: Unknown symbol snd_register_device_for_dev
[ 675.485151] snd_rawmidi: Unknown symbol snd_device_register
[ 675.489951] snd_usb_lib: Unknown symbol snd_rawmidi_receive
[ 675.490009] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_empty
[ 675.490041] snd_usb_lib: Unknown symbol snd_rawmidi_transmit
[ 675.490085] snd_usb_lib: Unknown symbol snd_verbose_printk
[ 675.490142] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_ack
[ 675.490207] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_peek
[ 675.490269] snd_usb_lib: Unknown symbol snd_rawmidi_new
[ 675.490302] snd_usb_lib: Unknown symbol snd_rawmidi_set_ops
[ 675.491480] snd_timer: Unknown symbol snd_info_register
[ 675.491512] snd_timer: Unknown symbol snd_info_create_module_entry
[ 675.491548] snd_timer: Unknown symbol snd_info_free_entry
[ 675.491604] snd_timer: Unknown symbol snd_verbose_printk
[ 675.491643] snd_timer: Unknown symbol snd_iprintf
[ 675.491687] snd_timer: Unknown symbol snd_ecards_limit
[ 675.491722] snd_timer: Unknown symbol snd_oss_info_register
[ 675.491754] snd_timer: Unknown symbol snd_unregister_device
[ 675.491792] snd_timer: Unknown symbol snd_device_new
[ 675.491859] snd_timer: Unknown symbol snd_register_device_for_dev
[ 675.503235] snd: Unknown symbol unregister_sound_special
[ 675.503335] snd: Unknown symbol register_sound_special_device
[ 675.503603] snd: Unknown symbol sound_class
[ 675.504332] snd: Unknown symbol unregister_sound_special
[ 675.504457] snd: Unknown symbol register_sound_special_device
[ 675.504808] snd: Unknown symbol sound_class
[ 675.505613] snd: Unknown symbol unregister_sound_special
[ 675.505709] snd: Unknown symbol register_sound_special_device
[ 675.505987] snd: Unknown symbol sound_class
[ 675.506698] snd_hwdep: Unknown symbol snd_info_register
[ 675.506731] snd_hwdep: Unknown symbol snd_info_create_module_entry
[ 675.506763] snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.506794] snd_hwdep: Unknown symbol snd_info_free_entry
[ 675.506830] snd_hwdep: Unknown symbol snd_unregister_oss_device
[ 675.506864] snd_hwdep: Unknown symbol snd_verbose_printk
[ 675.506895] snd_hwdep: Unknown symbol snd_register_oss_device
[ 675.506927] snd_hwdep: Unknown symbol snd_ctl_register_ioctl
[ 675.506959] snd_hwdep: Unknown symbol snd_card_file_add
[ 675.506996] snd_hwdep: Unknown symbol snd_iprintf
[ 675.507026] snd_hwdep: Unknown symbol snd_major
[ 675.507067] snd_hwdep: Unknown symbol snd_unregister_device
[ 675.507100] snd_hwdep: Unknown symbol snd_device_new
[ 675.507139] snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl
[ 675.507177] snd_hwdep: Unknown symbol snd_lookup_oss_minor_data
[ 675.507210] snd_hwdep: Unknown symbol snd_lookup_minor_data
[ 675.507241] snd_hwdep: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.507274] snd_hwdep: Unknown symbol snd_card_file_remove
[ 675.507305] snd_hwdep: Unknown symbol snd_register_device_for_dev
[ 675.507558] snd_timer: Unknown symbol snd_info_register
[ 675.507592] snd_timer: Unknown symbol snd_info_create_module_entry
[ 675.507628] snd_timer: Unknown symbol snd_info_free_entry
[ 675.507684] snd_timer: Unknown symbol snd_verbose_printk
[ 675.507723] snd_timer: Unknown symbol snd_iprintf
[ 675.507787] snd_timer: Unknown symbol snd_ecards_limit
[ 675.507823] snd_timer: Unknown symbol snd_oss_info_register
[ 675.507854] snd_timer: Unknown symbol snd_unregister_device
[ 675.507892] snd_timer: Unknown symbol snd_device_new
[ 675.507959] snd_timer: Unknown symbol snd_register_device_for_dev
[ 675.508641] snd_pcm: Unknown symbol snd_info_register
[ 675.508674] snd_pcm: Unknown symbol snd_info_create_module_entry
[ 675.508704] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.508764] snd_pcm: Unknown symbol snd_timer_notify
[ 675.508802] snd_pcm: Unknown symbol snd_timer_interrupt
[ 675.508833] snd_pcm: Unknown symbol snd_info_free_entry
[ 675.508865] snd_pcm: Unknown symbol snd_add_device_sysfs_file
[ 675.508904] snd_pcm: Unknown symbol snd_info_get_str
[ 675.508975] snd_pcm: Unknown symbol snd_verbose_printk
[ 675.509038] snd_pcm: Unknown symbol snd_ctl_register_ioctl
[ 675.509068] snd_pcm: Unknown symbol snd_card_file_add
[ 675.509129] snd_pcm: Unknown symbol snd_iprintf
[ 675.509175] snd_pcm: Unknown symbol snd_major
[ 675.509245] snd_pcm: Unknown symbol snd_unregister_device
[ 675.509281] snd_pcm: Unknown symbol snd_timer_new
[ 675.509312] snd_pcm: Unknown symbol snd_device_new
[ 675.509367] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
[ 675.509419] snd_pcm: Unknown symbol snd_lookup_minor_data
[ 675.509450] snd_pcm: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.509491] snd_pcm: Unknown symbol snd_info_create_card_entry
[ 675.509522] snd_pcm: Unknown symbol snd_power_wait
[ 675.509557] snd_pcm: Unknown symbol snd_device_free
[ 675.509607] snd_pcm: Unknown symbol snd_card_file_remove
[ 675.509638] snd_pcm: Unknown symbol snd_register_device_for_dev
[ 675.509705] snd_pcm: Unknown symbol snd_device_register
[ 675.509738] snd_pcm: Unknown symbol snd_info_get_line
[ 675.614498] snd_usb_audio: Unknown symbol snd_ctl_add
[ 675.614573] snd_usb_audio: Unknown symbol snd_pcm_new
[ 675.614715] snd_usb_audio: Unknown symbol snd_card_register
[ 675.614777] snd_usb_audio: Unknown symbol snd_card_free
[ 675.614844] snd_usb_audio: Unknown symbol snd_card_proc_new
[ 675.614907] snd_usb_audio: Unknown symbol snd_usb_create_midi_interface
[ 675.615023] snd_usb_audio: Unknown symbol snd_pcm_stop
[ 675.615123] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_minmax
[ 675.615198] snd_usb_audio: Unknown symbol snd_pcm_format_physical_width
[ 675.615276] snd_usb_audio: Unknown symbol snd_ctl_find_id
[ 675.615339] snd_usb_audio: Unknown symbol snd_verbose_printk
[ 675.615407] snd_usb_audio: Unknown symbol snd_ctl_new1
[ 675.615491] snd_usb_audio: Unknown symbol snd_component_add
[ 675.615556] snd_usb_audio: Unknown symbol snd_pcm_hw_rule_add
[ 675.615676] snd_usb_audio: Unknown symbol snd_card_new
[ 675.615779] snd_usb_audio: Unknown symbol snd_iprintf
[ 675.615840] snd_usb_audio: Unknown symbol snd_ctl_boolean_mono_info
[ 675.615903] snd_usb_audio: Unknown symbol snd_pcm_lib_ioctl
[ 675.615975] snd_usb_audio: Unknown symbol snd_hwdep_new
[ 675.616049] snd_usb_audio: Unknown symbol snd_pcm_new_stream
[ 675.616229] snd_usb_audio: Unknown symbol snd_card_free_when_closed
[ 675.616298] snd_usb_audio: Unknown symbol snd_ctl_notify
[ 675.616445] snd_usb_audio: Unknown symbol snd_pcm_set_ops
[ 675.616563] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_list
[ 675.616675] snd_usb_audio: Unknown symbol snd_device_new
[ 675.616742] snd_usb_audio: Unknown symbol snd_pcm_rate_to_rate_bit
[ 675.616876] snd_usb_audio: Unknown symbol snd_pcm_suspend_all
[ 675.616941] snd_usb_audio: Unknown symbol snd_card_disconnect
[ 675.617242] snd_usb_audio: Unknown symbol snd_pcm_period_elapsed
[ 675.617332] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect
[ 675.618584] snd_hwdep: Unknown symbol snd_info_register
[ 675.618650] snd_hwdep: Unknown symbol snd_info_create_module_entry
[ 675.618719] snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.618781] snd_hwdep: Unknown symbol snd_info_free_entry
[ 675.618854] snd_hwdep: Unknown symbol snd_unregister_oss_device
[ 675.618924] snd_hwdep: Unknown symbol snd_verbose_printk
[ 675.618987] snd_hwdep: Unknown symbol snd_register_oss_device
[ 675.619087] snd_hwdep: Unknown symbol snd_ctl_register_ioctl
[ 675.619151] snd_hwdep: Unknown symbol snd_card_file_add
[ 675.619225] snd_hwdep: Unknown symbol snd_iprintf
[ 675.619286] snd_hwdep: Unknown symbol snd_major
[ 675.619375] snd_hwdep: Unknown symbol snd_unregister_device
[ 675.619442] snd_hwdep: Unknown symbol snd_device_new
[ 675.619533] snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl
[ 675.619610] snd_hwdep: Unknown symbol snd_lookup_oss_minor_data
[ 675.619677] snd_hwdep: Unknown symbol snd_lookup_minor_data
[ 675.619774] snd_hwdep: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.619839] snd_hwdep: Unknown symbol snd_card_file_remove
[ 675.619901] snd_hwdep: Unknown symbol snd_register_device_for_dev
[ 675.657554] ossusb: Endpoint control write error -110
[ 675.657567] Failed to set 48000 Hz sampling rate
[ 675.657574] osscore: Trigger (input) failed
[ 675.660692] snd_seq_device: Unknown symbol snd_info_register
[ 675.660760] snd_seq_device: Unknown symbol snd_info_create_module_entry
[ 675.660823] snd_seq_device: Unknown symbol snd_info_free_entry
[ 675.660890] snd_seq_device: Unknown symbol snd_seq_root
[ 675.660958] snd_seq_device: Unknown symbol snd_verbose_printk
[ 675.661062] snd_seq_device: Unknown symbol snd_iprintf
[ 675.661147] snd_seq_device: Unknown symbol snd_device_new
[ 675.661966] snd_seq_device: Unknown symbol snd_info_register
[ 675.662037] snd_seq_device: Unknown symbol snd_info_create_module_entry
[ 675.662101] snd_seq_device: Unknown symbol snd_info_free_entry
[ 675.662167] snd_seq_device: Unknown symbol snd_seq_root
[ 675.662235] snd_seq_device: Unknown symbol snd_verbose_printk
[ 675.662303] snd_seq_device: Unknown symbol snd_iprintf
[ 675.662426] snd_seq_device: Unknown symbol snd_device_new
[ 675.674491] snd: Unknown symbol unregister_sound_special
[ 675.674682] snd: Unknown symbol register_sound_special_device
[ 675.675186] snd: Unknown symbol sound_class
[ 675.677619] snd: Unknown symbol unregister_sound_special
[ 675.677846] snd: Unknown symbol register_sound_special_device
[ 675.678393] snd: Unknown symbol sound_class
[ 675.683242] snd_seq_device: Unknown symbol snd_info_register
[ 675.683314] snd_seq_device: Unknown symbol snd_info_create_module_entry
[ 675.683377] snd_seq_device: Unknown symbol snd_info_free_entry
[ 675.683463] snd_seq_device: Unknown symbol snd_seq_root
[ 675.683531] snd_seq_device: Unknown symbol snd_verbose_printk
[ 675.683599] snd_seq_device: Unknown symbol snd_iprintf
[ 675.683724] snd_seq_device: Unknown symbol snd_device_new
[ 675.684607] snd_rawmidi: Unknown symbol snd_info_register
[ 675.684679] snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.684742] snd_rawmidi: Unknown symbol snd_seq_device_new
[ 675.684813] snd_rawmidi: Unknown symbol snd_info_free_entry
[ 675.684886] snd_rawmidi: Unknown symbol snd_unregister_oss_device
[ 675.684956] snd_rawmidi: Unknown symbol snd_verbose_printk
[ 675.685061] snd_rawmidi: Unknown symbol snd_register_oss_device
[ 675.685131] snd_rawmidi: Unknown symbol snd_ctl_register_ioctl
[ 675.685192] snd_rawmidi: Unknown symbol snd_card_file_add
[ 675.685269] snd_rawmidi: Unknown symbol snd_iprintf
[ 675.685345] snd_rawmidi: Unknown symbol snd_major
[ 675.685428] snd_rawmidi: Unknown symbol snd_oss_info_register
[ 675.685490] snd_rawmidi: Unknown symbol snd_unregister_device
[ 675.685564] snd_rawmidi: Unknown symbol snd_device_new
[ 675.685629] snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
[ 675.685756] snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
[ 675.685830] snd_rawmidi: Unknown symbol snd_lookup_minor_data
[ 675.685891] snd_rawmidi: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.685957] snd_rawmidi: Unknown symbol snd_info_create_card_entry
[ 675.686032] snd_rawmidi: Unknown symbol snd_card_file_remove
[ 675.686098] snd_rawmidi: Unknown symbol snd_register_device_for_dev
[ 675.686166] snd_rawmidi: Unknown symbol snd_device_register
[ 675.698088] snd_seq_device: Unknown symbol snd_info_register
[ 675.698122] snd_seq_device: Unknown symbol snd_info_create_module_entry
[ 675.698154] snd_seq_device: Unknown symbol snd_info_free_entry
[ 675.698187] snd_seq_device: Unknown symbol snd_seq_root
[ 675.698221] snd_seq_device: Unknown symbol snd_verbose_printk
[ 675.698255] snd_seq_device: Unknown symbol snd_iprintf
[ 675.698298] snd_seq_device: Unknown symbol snd_device_new
[ 675.700783] snd_rawmidi: Unknown symbol snd_info_register
[ 675.700816] snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.700847] snd_rawmidi: Unknown symbol snd_seq_device_new
[ 675.700882] snd_rawmidi: Unknown symbol snd_info_free_entry
[ 675.700919] snd_rawmidi: Unknown symbol snd_unregister_oss_device
[ 675.700954] snd_rawmidi: Unknown symbol snd_verbose_printk
[ 675.700985] snd_rawmidi: Unknown symbol snd_register_oss_device
[ 675.701020] snd_rawmidi: Unknown symbol snd_ctl_register_ioctl
[ 675.701051] snd_rawmidi: Unknown symbol snd_card_file_add
[ 675.701090] snd_rawmidi: Unknown symbol snd_iprintf
[ 675.701124] snd_rawmidi: Unknown symbol snd_major
[ 675.701165] snd_rawmidi: Unknown symbol snd_oss_info_register
[ 675.701196] snd_rawmidi: Unknown symbol snd_unregister_device
[ 675.701232] snd_rawmidi: Unknown symbol snd_device_new
[ 675.701265] snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
[ 675.701310] snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
[ 675.701346] snd_rawmidi: Unknown symbol snd_lookup_minor_data
[ 675.701377] snd_rawmidi: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.701410] snd_rawmidi: Unknown symbol snd_info_create_card_entry
[ 675.701445] snd_rawmidi: Unknown symbol snd_card_file_remove
[ 675.701477] snd_rawmidi: Unknown symbol snd_register_device_for_dev
[ 675.701510] snd_rawmidi: Unknown symbol snd_device_register
[ 675.706844] snd_usb_lib: Unknown symbol snd_rawmidi_receive
[ 675.706902] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_empty
[ 675.706933] snd_usb_lib: Unknown symbol snd_rawmidi_transmit
[ 675.706999] snd_usb_lib: Unknown symbol snd_verbose_printk
[ 675.707056] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_ack
[ 675.707122] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_peek
[ 675.707184] snd_usb_lib: Unknown symbol snd_rawmidi_new
[ 675.707216] snd_usb_lib: Unknown symbol snd_rawmidi_set_ops
[ 675.707732] snd_timer: Unknown symbol snd_info_register
[ 675.707765] snd_timer: Unknown symbol snd_info_create_module_entry
[ 675.707801] snd_timer: Unknown symbol snd_info_free_entry
[ 675.707857] snd_timer: Unknown symbol snd_verbose_printk
[ 675.707896] snd_timer: Unknown symbol snd_iprintf
[ 675.707940] snd_timer: Unknown symbol snd_ecards_limit
[ 675.707980] snd_timer: Unknown symbol snd_oss_info_register
[ 675.708011] snd_timer: Unknown symbol snd_unregister_device
[ 675.708048] snd_timer: Unknown symbol snd_device_new
[ 675.708115] snd_timer: Unknown symbol snd_register_device_for_dev
[ 675.714023] snd_usb_lib: Unknown symbol snd_rawmidi_receive
[ 675.714082] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_empty
[ 675.714113] snd_usb_lib: Unknown symbol snd_rawmidi_transmit
[ 675.714156] snd_usb_lib: Unknown symbol snd_verbose_printk
[ 675.714212] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_ack
[ 675.714278] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_peek
[ 675.714340] snd_usb_lib: Unknown symbol snd_rawmidi_new
[ 675.714371] snd_usb_lib: Unknown symbol snd_rawmidi_set_ops
[ 675.714821] snd_timer: Unknown symbol snd_info_register
[ 675.714853] snd_timer: Unknown symbol snd_info_create_module_entry
[ 675.714888] snd_timer: Unknown symbol snd_info_free_entry
[ 675.714944] snd_timer: Unknown symbol snd_verbose_printk
[ 675.714982] snd_timer: Unknown symbol snd_iprintf
[ 675.715027] snd_timer: Unknown symbol snd_ecards_limit
[ 675.715062] snd_timer: Unknown symbol snd_oss_info_register
[ 675.715092] snd_timer: Unknown symbol snd_unregister_device
[ 675.715129] snd_timer: Unknown symbol snd_device_new
[ 675.715197] snd_timer: Unknown symbol snd_register_device_for_dev
[ 675.715805] snd: Unknown symbol unregister_sound_special
[ 675.715900] snd: Unknown symbol register_sound_special_device
[ 675.716158] snd: Unknown symbol sound_class
[ 675.723555] snd: Unknown symbol unregister_sound_special
[ 675.723676] snd: Unknown symbol register_sound_special_device
[ 675.723929] snd: Unknown symbol sound_class
[ 675.726513] snd_timer: Unknown symbol snd_info_register
[ 675.726546] snd_timer: Unknown symbol snd_info_create_module_entry
[ 675.726582] snd_timer: Unknown symbol snd_info_free_entry
[ 675.726638] snd_timer: Unknown symbol snd_verbose_printk
[ 675.726678] snd_timer: Unknown symbol snd_iprintf
[ 675.726722] snd_timer: Unknown symbol snd_ecards_limit
[ 675.726757] snd_timer: Unknown symbol snd_oss_info_register
[ 675.726789] snd_timer: Unknown symbol snd_unregister_device
[ 675.726826] snd_timer: Unknown symbol snd_device_new
[ 675.726892] snd_timer: Unknown symbol snd_register_device_for_dev
[ 675.727418] snd_pcm: Unknown symbol snd_info_register
[ 675.727451] snd_pcm: Unknown symbol snd_info_create_module_entry
[ 675.727483] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.727537] snd_pcm: Unknown symbol snd_timer_notify
[ 675.727576] snd_pcm: Unknown symbol snd_timer_interrupt
[ 675.727607] snd_pcm: Unknown symbol snd_info_free_entry
[ 675.727638] snd_pcm: Unknown symbol snd_add_device_sysfs_file
[ 675.727677] snd_pcm: Unknown symbol snd_info_get_str
[ 675.727748] snd_pcm: Unknown symbol snd_verbose_printk
[ 675.727811] snd_pcm: Unknown symbol snd_ctl_register_ioctl
[ 675.727841] snd_pcm: Unknown symbol snd_card_file_add
[ 675.727879] snd_pcm: Unknown symbol snd_iprintf
[ 675.727927] snd_pcm: Unknown symbol snd_major
[ 675.727990] snd_pcm: Unknown symbol snd_unregister_device
[ 675.728025] snd_pcm: Unknown symbol snd_timer_new
[ 675.728056] snd_pcm: Unknown symbol snd_device_new
[ 675.728112] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
[ 675.728161] snd_pcm: Unknown symbol snd_lookup_minor_data
[ 675.728192] snd_pcm: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.728233] snd_pcm: Unknown symbol snd_info_create_card_entry
[ 675.728264] snd_pcm: Unknown symbol snd_power_wait
[ 675.728298] snd_pcm: Unknown symbol snd_device_free
[ 675.728348] snd_pcm: Unknown symbol snd_card_file_remove
[ 675.728380] snd_pcm: Unknown symbol snd_register_device_for_dev
[ 675.728456] snd_pcm: Unknown symbol snd_device_register
[ 675.728489] snd_pcm: Unknown symbol snd_info_get_line
[ 675.729281] snd_usb_audio: Unknown symbol snd_ctl_add
[ 675.729315] snd_usb_audio: Unknown symbol snd_pcm_new
[ 675.729383] snd_usb_audio: Unknown symbol snd_card_register
[ 675.729414] snd_usb_audio: Unknown symbol snd_card_free
[ 675.729448] snd_usb_audio: Unknown symbol snd_card_proc_new
[ 675.729479] snd_usb_audio: Unknown symbol snd_usb_create_midi_interface
[ 675.729537] snd_usb_audio: Unknown symbol snd_pcm_stop
[ 675.729568] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_minmax
[ 675.729606] snd_usb_audio: Unknown symbol snd_pcm_format_physical_width
[ 675.729644] snd_usb_audio: Unknown symbol snd_ctl_find_id
[ 675.729675] snd_usb_audio: Unknown symbol snd_verbose_printk
[ 675.729706] snd_usb_audio: Unknown symbol snd_ctl_new1
[ 675.729740] snd_usb_audio: Unknown symbol snd_component_add
[ 675.729772] snd_usb_audio: Unknown symbol snd_pcm_hw_rule_add
[ 675.729831] snd_usb_audio: Unknown symbol snd_card_new
[ 675.729862] snd_usb_audio: Unknown symbol snd_iprintf
[ 675.729894] snd_usb_audio: Unknown symbol snd_ctl_boolean_mono_info
[ 675.729925] snd_usb_audio: Unknown symbol snd_pcm_lib_ioctl
[ 675.729962] snd_usb_audio: Unknown symbol snd_hwdep_new
[ 675.729996] snd_usb_audio: Unknown symbol snd_pcm_new_stream
[ 675.730086] snd_usb_audio: Unknown symbol snd_card_free_when_closed
[ 675.730120] snd_usb_audio: Unknown symbol snd_ctl_notify
[ 675.730176] snd_usb_audio: Unknown symbol snd_pcm_set_ops
[ 675.730235] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_list
[ 675.730291] snd_usb_audio: Unknown symbol snd_device_new
[ 675.730322] snd_usb_audio: Unknown symbol snd_pcm_rate_to_rate_bit
[ 675.730389] snd_usb_audio: Unknown symbol snd_pcm_suspend_all
[ 675.730422] snd_usb_audio: Unknown symbol snd_card_disconnect
[ 675.730555] snd_usb_audio: Unknown symbol snd_pcm_period_elapsed
[ 675.730599] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect
[ 675.748632] snd_timer: Unknown symbol snd_info_register
[ 675.748667] snd_timer: Unknown symbol snd_info_create_module_entry
[ 675.748703] snd_timer: Unknown symbol snd_info_free_entry
[ 675.748760] snd_timer: Unknown symbol snd_verbose_printk
[ 675.748798] snd_timer: Unknown symbol snd_iprintf
[ 675.748851] snd_timer: Unknown symbol snd_ecards_limit
[ 675.748887] snd_timer: Unknown symbol snd_oss_info_register
[ 675.748919] snd_timer: Unknown symbol snd_unregister_device
[ 675.748977] snd_timer: Unknown symbol snd_device_new
[ 675.749045] snd_timer: Unknown symbol snd_register_device_for_dev
[ 675.749716] snd_pcm: Unknown symbol snd_info_register
[ 675.749750] snd_pcm: Unknown symbol snd_info_create_module_entry
[ 675.749782] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.749837] snd_pcm: Unknown symbol snd_timer_notify
[ 675.749876] snd_pcm: Unknown symbol snd_timer_interrupt
[ 675.749908] snd_pcm: Unknown symbol snd_info_free_entry
[ 675.749943] snd_pcm: Unknown symbol snd_add_device_sysfs_file
[ 675.749989] snd_pcm: Unknown symbol snd_info_get_str
[ 675.750061] snd_pcm: Unknown symbol snd_verbose_printk
[ 675.750124] snd_pcm: Unknown symbol snd_ctl_register_ioctl
[ 675.750155] snd_pcm: Unknown symbol snd_card_file_add
[ 675.750194] snd_pcm: Unknown symbol snd_iprintf
[ 675.750241] snd_pcm: Unknown symbol snd_major
[ 675.750325] snd_pcm: Unknown symbol snd_unregister_device
[ 675.750361] snd_pcm: Unknown symbol snd_timer_new
[ 675.750391] snd_pcm: Unknown symbol snd_device_new
[ 675.750446] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
[ 675.750495] snd_pcm: Unknown symbol snd_lookup_minor_data
[ 675.750526] snd_pcm: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.750568] snd_pcm: Unknown symbol snd_info_create_card_entry
[ 675.750600] snd_pcm: Unknown symbol snd_power_wait
[ 675.750639] snd_pcm: Unknown symbol snd_device_free
[ 675.750688] snd_pcm: Unknown symbol snd_card_file_remove
[ 675.750719] snd_pcm: Unknown symbol snd_register_device_for_dev
[ 675.750786] snd_pcm: Unknown symbol snd_device_register
[ 675.750819] snd_pcm: Unknown symbol snd_info_get_line
[ 675.751939] snd_usb_audio: Unknown symbol snd_ctl_add
[ 675.751974] snd_usb_audio: Unknown symbol snd_pcm_new
[ 675.752043] snd_usb_audio: Unknown symbol snd_card_register
[ 675.752074] snd_usb_audio: Unknown symbol snd_card_free
[ 675.752108] snd_usb_audio: Unknown symbol snd_card_proc_new
[ 675.752139] snd_usb_audio: Unknown symbol snd_usb_create_midi_interface
[ 675.752197] snd_usb_audio: Unknown symbol snd_pcm_stop
[ 675.752228] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_minmax
[ 675.752266] snd_usb_audio: Unknown symbol snd_pcm_format_physical_width
[ 675.752323] snd_usb_audio: Unknown symbol snd_ctl_find_id
[ 675.752355] snd_usb_audio: Unknown symbol snd_verbose_printk
[ 675.752386] snd_usb_audio: Unknown symbol snd_ctl_new1
[ 675.752420] snd_usb_audio: Unknown symbol snd_component_add
[ 675.752452] snd_usb_audio: Unknown symbol snd_pcm_hw_rule_add
[ 675.752512] snd_usb_audio: Unknown symbol snd_card_new
[ 675.752543] snd_usb_audio: Unknown symbol snd_iprintf
[ 675.752574] snd_usb_audio: Unknown symbol snd_ctl_boolean_mono_info
[ 675.752609] snd_usb_audio: Unknown symbol snd_pcm_lib_ioctl
[ 675.752645] snd_usb_audio: Unknown symbol snd_hwdep_new
[ 675.752684] snd_usb_audio: Unknown symbol snd_pcm_new_stream
[ 675.752775] snd_usb_audio: Unknown symbol snd_card_free_when_closed
[ 675.752809] snd_usb_audio: Unknown symbol snd_ctl_notify
[ 675.752865] snd_usb_audio: Unknown symbol snd_pcm_set_ops
[ 675.752924] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_list
[ 675.753003] snd_usb_audio: Unknown symbol snd_device_new
[ 675.753035] snd_usb_audio: Unknown symbol snd_pcm_rate_to_rate_bit
[ 675.753101] snd_usb_audio: Unknown symbol snd_pcm_suspend_all
[ 675.753134] snd_usb_audio: Unknown symbol snd_card_disconnect
[ 675.753271] snd_usb_audio: Unknown symbol snd_pcm_period_elapsed
[ 675.753316] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect
[ 675.761736] snd: Unknown symbol unregister_sound_special
[ 675.761833] snd: Unknown symbol register_sound_special_device
[ 675.762090] snd: Unknown symbol sound_class
[ 675.762769] snd_hwdep: Unknown symbol snd_info_register
[ 675.762803] snd_hwdep: Unknown symbol snd_info_create_module_entry
[ 675.762834] snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.762865] snd_hwdep: Unknown symbol snd_info_free_entry
[ 675.762902] snd_hwdep: Unknown symbol snd_unregister_oss_device
[ 675.762937] snd_hwdep: Unknown symbol snd_verbose_printk
[ 675.762987] snd_hwdep: Unknown symbol snd_register_oss_device
[ 675.763019] snd_hwdep: Unknown symbol snd_ctl_register_ioctl
[ 675.763051] snd_hwdep: Unknown symbol snd_card_file_add
[ 675.763089] snd_hwdep: Unknown symbol snd_iprintf
[ 675.763119] snd_hwdep: Unknown symbol snd_major
[ 675.763160] snd_hwdep: Unknown symbol snd_unregister_device
[ 675.763194] snd_hwdep: Unknown symbol snd_device_new
[ 675.763233] snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl
[ 675.763275] snd_hwdep: Unknown symbol snd_lookup_oss_minor_data
[ 675.763308] snd_hwdep: Unknown symbol snd_lookup_minor_data
[ 675.763339] snd_hwdep: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.763381] snd_hwdep: Unknown symbol snd_card_file_remove
[ 675.763412] snd_hwdep: Unknown symbol snd_register_device_for_dev
[ 675.764074] snd_seq_device: Unknown symbol snd_info_register
[ 675.764106] snd_seq_device: Unknown symbol snd_info_create_module_entry
[ 675.764138] snd_seq_device: Unknown symbol snd_info_free_entry
[ 675.764172] snd_seq_device: Unknown symbol snd_seq_root
[ 675.764205] snd_seq_device: Unknown symbol snd_verbose_printk
[ 675.764239] snd_seq_device: Unknown symbol snd_iprintf
[ 675.764301] snd_seq_device: Unknown symbol snd_device_new
[ 675.773249] snd: Unknown symbol unregister_sound_special
[ 675.773345] snd: Unknown symbol register_sound_special_device
[ 675.773598] snd: Unknown symbol sound_class
[ 675.774161] snd_seq_device: Unknown symbol snd_info_register
[ 675.774193] snd_seq_device: Unknown symbol snd_info_create_module_entry
[ 675.774224] snd_seq_device: Unknown symbol snd_info_free_entry
[ 675.774257] snd_seq_device: Unknown symbol snd_seq_root
[ 675.774291] snd_seq_device: Unknown symbol snd_verbose_printk
[ 675.774325] snd_seq_device: Unknown symbol snd_iprintf
[ 675.774369] snd_seq_device: Unknown symbol snd_device_new
[ 675.774767] snd_rawmidi: Unknown symbol snd_info_register
[ 675.774800] snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.774832] snd_rawmidi: Unknown symbol snd_seq_device_new
[ 675.774868] snd_rawmidi: Unknown symbol snd_info_free_entry
[ 675.774906] snd_rawmidi: Unknown symbol snd_unregister_oss_device
[ 675.774942] snd_rawmidi: Unknown symbol snd_verbose_printk
[ 675.774973] snd_rawmidi: Unknown symbol snd_register_oss_device
[ 675.775008] snd_rawmidi: Unknown symbol snd_ctl_register_ioctl
[ 675.775040] snd_rawmidi: Unknown symbol snd_card_file_add
[ 675.775079] snd_rawmidi: Unknown symbol snd_iprintf
[ 675.775113] snd_rawmidi: Unknown symbol snd_major
[ 675.775154] snd_rawmidi: Unknown symbol snd_oss_info_register
[ 675.775185] snd_rawmidi: Unknown symbol snd_unregister_device
[ 675.775222] snd_rawmidi: Unknown symbol snd_device_new
[ 675.775254] snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
[ 675.775300] snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
[ 675.775336] snd_rawmidi: Unknown symbol snd_lookup_minor_data
[ 675.775367] snd_rawmidi: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.775400] snd_rawmidi: Unknown symbol snd_info_create_card_entry
[ 675.775435] snd_rawmidi: Unknown symbol snd_card_file_remove
[ 675.775467] snd_rawmidi: Unknown symbol snd_register_device_for_dev
[ 675.775501] snd_rawmidi: Unknown symbol snd_device_register
[ 675.776275] snd_usb_lib: Unknown symbol snd_rawmidi_receive
[ 675.776331] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_empty
[ 675.776372] snd_usb_lib: Unknown symbol snd_rawmidi_transmit
[ 675.776415] snd_usb_lib: Unknown symbol snd_verbose_printk
[ 675.776471] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_ack
[ 675.776537] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_peek
[ 675.776598] snd_usb_lib: Unknown symbol snd_rawmidi_new
[ 675.776631] snd_usb_lib: Unknown symbol snd_rawmidi_set_ops
[ 675.777177] snd_timer: Unknown symbol snd_info_register
[ 675.777210] snd_timer: Unknown symbol snd_info_create_module_entry
[ 675.777246] snd_timer: Unknown symbol snd_info_free_entry
[ 675.777302] snd_timer: Unknown symbol snd_verbose_printk
[ 675.777340] snd_timer: Unknown symbol snd_iprintf
[ 675.777384] snd_timer: Unknown symbol snd_ecards_limit
[ 675.777419] snd_timer: Unknown symbol snd_oss_info_register
[ 675.777450] snd_timer: Unknown symbol snd_unregister_device
[ 675.777487] snd_timer: Unknown symbol snd_device_new
[ 675.777553] snd_timer: Unknown symbol snd_register_device_for_dev
[ 675.784616] snd: Unknown symbol unregister_sound_special
[ 675.784712] snd: Unknown symbol register_sound_special_device
[ 675.784988] snd: Unknown symbol sound_class
[ 675.790196] snd_timer: Unknown symbol snd_info_register
[ 675.790229] snd_timer: Unknown symbol snd_info_create_module_entry
[ 675.790265] snd_timer: Unknown symbol snd_info_free_entry
[ 675.790321] snd_timer: Unknown symbol snd_verbose_printk
[ 675.790360] snd_timer: Unknown symbol snd_iprintf
[ 675.790404] snd_timer: Unknown symbol snd_ecards_limit
[ 675.790439] snd_timer: Unknown symbol snd_oss_info_register
[ 675.790471] snd_timer: Unknown symbol snd_unregister_device
[ 675.790508] snd_timer: Unknown symbol snd_device_new
[ 675.790575] snd_timer: Unknown symbol snd_register_device_for_dev
[ 675.791101] snd_pcm: Unknown symbol snd_info_register
[ 675.791133] snd_pcm: Unknown symbol snd_info_create_module_entry
[ 675.791165] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl_compat
[ 675.791220] snd_pcm: Unknown symbol snd_timer_notify
[ 675.791259] snd_pcm: Unknown symbol snd_timer_interrupt
[ 675.791290] snd_pcm: Unknown symbol snd_info_free_entry
[ 675.791321] snd_pcm: Unknown symbol snd_add_device_sysfs_file
[ 675.791360] snd_pcm: Unknown symbol snd_info_get_str
[ 675.791432] snd_pcm: Unknown symbol snd_verbose_printk
[ 675.791495] snd_pcm: Unknown symbol snd_ctl_register_ioctl
[ 675.791527] snd_pcm: Unknown symbol snd_card_file_add
[ 675.791565] snd_pcm: Unknown symbol snd_iprintf
[ 675.791612] snd_pcm: Unknown symbol snd_major
[ 675.791676] snd_pcm: Unknown symbol snd_unregister_device
[ 675.791711] snd_pcm: Unknown symbol snd_timer_new
[ 675.791743] snd_pcm: Unknown symbol snd_device_new
[ 675.791798] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
[ 675.791846] snd_pcm: Unknown symbol snd_lookup_minor_data
[ 675.791878] snd_pcm: Unknown symbol snd_ctl_register_ioctl_compat
[ 675.791920] snd_pcm: Unknown symbol snd_info_create_card_entry
[ 675.791952] snd_pcm: Unknown symbol snd_power_wait
[ 675.791987] snd_pcm: Unknown symbol snd_device_free
[ 675.792037] snd_pcm: Unknown symbol snd_card_file_remove
[ 675.792068] snd_pcm: Unknown symbol snd_register_device_for_dev
[ 675.792136] snd_pcm: Unknown symbol snd_device_register
[ 675.792169] snd_pcm: Unknown symbol snd_info_get_line
[ 675.792953] snd_usb_audio: Unknown symbol snd_ctl_add
[ 675.792988] snd_usb_audio: Unknown symbol snd_pcm_new
[ 675.793056] snd_usb_audio: Unknown symbol snd_card_register
[ 675.793088] snd_usb_audio: Unknown symbol snd_card_free
[ 675.793121] snd_usb_audio: Unknown symbol snd_card_proc_new
[ 675.793153] snd_usb_audio: Unknown symbol snd_usb_create_midi_interface
[ 675.793211] snd_usb_audio: Unknown symbol snd_pcm_stop
[ 675.793242] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_minmax
[ 675.793280] snd_usb_audio: Unknown symbol snd_pcm_format_physical_width
[ 675.793319] snd_usb_audio: Unknown symbol snd_ctl_find_id
[ 675.793351] snd_usb_audio: Unknown symbol snd_verbose_printk
[ 675.793382] snd_usb_audio: Unknown symbol snd_ctl_new1
[ 675.793415] snd_usb_audio: Unknown symbol snd_component_add
[ 675.793448] snd_usb_audio: Unknown symbol snd_pcm_hw_rule_add
[ 675.793508] snd_usb_audio: Unknown symbol snd_card_new
[ 675.793539] snd_usb_audio: Unknown symbol snd_iprintf
[ 675.793570] snd_usb_audio: Unknown symbol snd_ctl_boolean_mono_info
[ 675.793601] snd_usb_audio: Unknown symbol snd_pcm_lib_ioctl
[ 675.793637] snd_usb_audio: Unknown symbol snd_hwdep_new
[ 675.793670] snd_usb_audio: Unknown symbol snd_pcm_new_stream
[ 675.793760] snd_usb_audio: Unknown symbol snd_card_free_when_closed
[ 675.793795] snd_usb_audio: Unknown symbol snd_ctl_notify
[ 675.793852] snd_usb_audio: Unknown symbol snd_pcm_set_ops
[ 675.793911] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_list
[ 675.793967] snd_usb_audio: Unknown symbol snd_device_new
[ 675.793998] snd_usb_audio: Unknown symbol snd_pcm_rate_to_rate_bit
[ 675.794065] snd_usb_audio: Unknown symbol snd_pcm_suspend_all
[ 675.794098] snd_usb_audio: Unknown symbol snd_card_disconnect
[ 675.794231] snd_usb_audio: Unknown symbol snd_pcm_period_elapsed
[ 675.794275] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect
[ 675.908428] ossusb: Endpoint control write error -110
[ 675.908438] Failed to set 48000 Hz sampling rate
[ 675.908442] osscore: Trigger failed
...which, uh, doesn't seem promising.

How can I try to output a test sound to that device? Better yet, is there an easy way to change which device an application outputs to? Amarok (xine), for instance, has three options; auto, /dev/dsp and /dev/sound/dsp, which makes me suspect I need to look elsewhere.

And while I'm asking stupid questions, you mentioned and linked towards a Gnome volume mixer patch; is there a similar one for KDE's kmix? I'd use pulse's but it doesn't seem to want to play nice with OSS. The volume up/down keys also call kmix.

edit: It works with my integrated sound, forgot to mention that.

Temüjin
May 11th, 2008, 03:15 PM
Ok, we'll either have to uninstall ALSA or blacklist the modules, because they're interfering. Please run:

lsmod | grep snd


you mentioned and linked towards a Gnome volume mixer patch; is there a similar one for KDE's kmix?
I tried to build the kde-multimedia package from source, but it didn't turn out so well. See: http://ubuntuforums.org/showthread.php?t=747054


I'd use pulse's but it doesn't seem to want to play nice with OSS
The OSS and PulseAudio developers are trying to collaborate right now. http://4front-tech.com/forum/viewtopic.php?t=2507&highlight=pulseaudio

Zorael
May 11th, 2008, 03:33 PM
zorael@sunspire:~$ lsmod | grep snd
zorael@sunspire:~$

I discovered ossinfo and osstest n, and as such verified that the USB device works.

zorael@sunspire:~$ ossinfo
Version info: OSS 4.0 (b1015/200803240317) (0x00040003)
Platform: Linux/x86_64 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 (sunspire)

Number of audio devices: 12
Number of audio engines: 28
Number of mixer devices: 2


Device objects
0: osscore0 OSS core services
1: hdaudio0 Intel HD Audio interrupts=1109 (1110)
HD Audio controller Intel HD Audio
Vendor ID 0x808627d8
Subvendor ID 0x1025006c
Codec 0: ALC883 (0x10ec0883/0x1025162d)
Codec 1: Conexant2bfa (0x14f12bfa)
2: ossusb0 USB audio core services
3: usb041e3010-0 Creative Sound Blaster MP3+
4: usb041e3010-1 Creative Sound Blaster MP3+
5: usb041e3010-2 Creative Sound Blaster MP3+
6: vmix0 OSS transparent virtual mixer


Mixer devices
0: High Definition Audio ALC883 (Mixer 0 of device object 1)
1: Creative Sound Blaster MP3+ (Mixer 0 of device object 3)

Audio devices
HD Audio front /dev/oss/hdaudio0/pcm0 (device index 0)
HD Audio rear /dev/oss/hdaudio0/pcm1 (device index 1)
HD Audio center/LFE /dev/oss/hdaudio0/pcm2 (device index 2)
HD Audio side /dev/oss/hdaudio0/pcm3 (device index 3)
HD Audio pcm4 /dev/oss/hdaudio0/pcm4 (device index 4)
HD Audio modem-out /dev/oss/hdaudio0/pcm5 (device index 5)
HD Audio spdif-out /dev/oss/hdaudio0/spdout0 (device index 6)
High Definition Audio rec1 /dev/oss/hdaudio0/pcmin0 (device index 7)
High Definition Audio rec2 /dev/oss/hdaudio0/pcmin1 (device index 8)
High Definition Audio modem-in /dev/oss/hdaudio0/pcmin2 (device index 9)
Creative Sound Blaster MP3+ play /dev/oss/usb041e3010-1/pcm0 (device index 10)
Creative Sound Blaster MP3+ rec /dev/oss/usb041e3010-2/pcmin0 (device index 11)

zorael@sunspire:~$ osstest 10
Sound subsystem and version: OSS 4.0 (b1015/200803240317) (0x00040003)
Platform: Linux/x86_64 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008

*** Scanning sound adapter #-1 ***
/dev/oss/usb041e3010-1/pcm0 (audio engine 10): Creative Sound Blaster MP3+ play
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47958.00 Hz (-0.09%)>

*** All tests completed OK ***
It doesn't seem to support hotplugging though; I have to do soundoff and soundon again to get OSS to load its drivers.

zorael@sunspire:~$ ls /dev/oss
hdaudio0 usb041e3010-0 usb041e3010-1 usb041e3010-2

<disconnection and reconnection of the device>

zorael@sunspire:~$ ossinfo
Version info: OSS 4.0 (b1015/200803240317) (0x00040003)
Platform: Linux/x86_64 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 (sunspire)

Number of audio devices: 14
Number of audio engines: 38
Number of mixer devices: 3


Device objects
0: osscore0 OSS core services
1: hdaudio0 Intel HD Audio interrupts=1109 (1110)
HD Audio controller Intel HD Audio
Vendor ID 0x808627d8
Subvendor ID 0x1025006c
Codec 0: ALC883 (0x10ec0883/0x1025162d)
Codec 1: Conexant2bfa (0x14f12bfa)
2: ossusb0 USB audio core services
3: usb041e3010-0 Creative Sound Blaster MP3+
4: usb041e3010-1 Creative Sound Blaster MP3+
5: usb041e3010-2 Creative Sound Blaster MP3+
6: vmix0 OSS transparent virtual mixer
7: usb041e3010-3 Creative Sound Blaster MP3+
8: usb041e3010-4 Creative Sound Blaster MP3+
9: usb041e3010-5 Creative Sound Blaster MP3+


Mixer devices
0: High Definition Audio ALC883 (Mixer 0 of device object 1)
1: (Creative Sound Blaster MP3+ )(Mixer 0 of device object 3)
2: Creative Sound Blaster MP3+ (Mixer 0 of device object 7)

Audio devices
HD Audio front /dev/oss/hdaudio0/pcm0 (device index 0)
HD Audio rear /dev/oss/hdaudio0/pcm1 (device index 1)
HD Audio center/LFE /dev/oss/hdaudio0/pcm2 (device index 2)
HD Audio side /dev/oss/hdaudio0/pcm3 (device index 3)
HD Audio pcm4 /dev/oss/hdaudio0/pcm4 (device index 4)
HD Audio modem-out /dev/oss/hdaudio0/pcm5 (device index 5)
HD Audio spdif-out /dev/oss/hdaudio0/spdout0 (device index 6)
High Definition Audio rec1 /dev/oss/hdaudio0/pcmin0 (device index 7)
High Definition Audio rec2 /dev/oss/hdaudio0/pcmin1 (device index 8)
High Definition Audio modem-in /dev/oss/hdaudio0/pcmin2 (device index 9)
(Creative Sound Blaster MP3+ play /dev/oss/usb041e3010-1/pcm0 ) (device index 10)
(Creative Sound Blaster MP3+ rec /dev/oss/usb041e3010-2/pcmin0 ) (device index 11)
Creative Sound Blaster MP3+ play /dev/oss/usb041e3010-4/pcm0 (device index 12)
Creative Sound Blaster MP3+ rec /dev/oss/usb041e3010-5/pcmin0 (device index 13)

zorael@sunspire:~$ osstest 12
Sound subsystem and version: OSS 4.0 (b1015/200803240317) (0x00040003)
Platform: Linux/x86_64 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008

*** Scanning sound adapter #-1 ***
/dev/oss/usb041e3010-4/pcm0 (audio engine 28): Creative Sound Blaster MP3+ play
- Performing audio playback test... /dev/oss/usb041e3010-4/pcm0: No such file or directory
The device file is missing from /dev.
Perhaps you have not installed and started Open Sound System yet
Can't open the device

*** Some errors were detected during the tests ***

zorael@sunspire:~$ ls /dev/oss
hdaudio0 usb041e3010-0 usb041e3010-1 usb041e3010-2

zorael@sunspire:~$ osstest 10
Sound subsystem and version: OSS 4.0 (b1015/200803240317) (0x00040003)
Platform: Linux/x86_64 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008

*** Scanning sound adapter #-1 ***
/dev/oss/usb041e3010-1/pcm0 (audio engine 10): Creative Sound Blaster MP3+ play
- Device not present - Skipping

*** All tests completed OK ***

Zorael
May 11th, 2008, 03:42 PM
sudo ossdetect -d rediscovers the usb device, though requires sudo, which is unfortunate. ossxmix is broken since it was first disconnected.

zorael@sunspire:~$ ossxmix
SNDCTL_MIX_NREXT: No such device or address

Think an upgrade to that 4.1 version would fix this, or should I just take it to the OSS forums?

Temüjin
May 11th, 2008, 03:46 PM
You have an interesting hardware setup, so I think we should take it the OSS4 forums and work with the experts and developers there, even if we try and install OSS 4.1.

nezach
May 11th, 2008, 11:51 PM
In order to use OSS with games like Sauerbraten you need to install package:

libsdl1.2debian-oss and remove libsdl1.2debian-alsa.

flyinraptr
May 12th, 2008, 02:25 AM
Problems trying to install -

Initially received error messages towards the end of the install - complaining about cx88_alsa still in use. I rebooted and added it to /etc/modprobe.d/blacklist. Rebooted back into failsafe terminal and tried running the install again - it fails with ...
cd: 3 can't cd to /usr/lib/oss/build
sh can't open install.sh
cat: /usr/lib/oss/version.dat: no such file or directory

It appears at this point I have a half-baked install. Tried uninstalling using apt-get and Synaptic - get a message "error processing".

How can I remove it to attempt a re-install?

Thanks -

Temüjin
May 12th, 2008, 03:13 AM
Problems trying to install -

Initially received error messages towards the end of the install - complaining about cx88_alsa still in use. I rebooted and added it to /etc/modprobe.d/blacklist. Rebooted back into failsafe terminal and tried running the install again - it fails with ...
cd: 3 can't cd to /usr/lib/oss/build
sh can't open install.sh
cat: /usr/lib/oss/version.dat: no such file or directory

It appears at this point I have a half-baked install. Tried uninstalling using apt-get and Synaptic - get a message "error processing".

How can I remove it to attempt a re-install?

Thanks -
As seawright linked to on the OSS forum:
http://www.4front-tech.com/forum/viewtopic.php?t=2054

flyinraptr
May 12th, 2008, 03:46 AM
As seawright linked to on the OSS forum:
http://www.4front-tech.com/forum/viewtopic.php?t=2054

Thanks -

Keldek
May 12th, 2008, 08:43 AM
radamo,

Thank you for your patience. Below is the procedure I used to install OSS 4.1 from the mercurial repo. If your system complains about ALSA still running, then I recommend doing this procedure from 'recovery mode'.


sudo /etc/init.d/alsa-utils stop
sudo apt-get -y remove alsa-oss oss-compat alsa-base libesd-alsa0

sudo apt-get -y install linux-headers-`uname -r` build-essential gawk libtool libgtk2.0-dev libesd0 esound esound-common linux-sound-base gcc-multilib libesd0-dev mercurial libssl0.9.8 libssl-dev
cd /usr/src
sudo hg clone http://mercurial.opensound.com/ oss-devel
cd ~/
mkdir oss41build
cd oss41build/
sudo sh /usr/src/oss-devel/configure
sudo make
sudo make install

I got to this part:

sudo apt-get -y remove alsa-oss oss-compat alsa-base libesd-alsa0

and this happened:


keldek@System-X:~$ sudo /etc/init.d/alsa-utils stop
* Shutting down ALSA... [ OK ]
keldek@System-X:~$ sudo apt-get -y remove alsa-oss oss-compat alsa-base libesd-alsa0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package alsa-oss is not installed, so not removed
Package oss-compat is not installed, so not removed
Package alsa-base is not installed, so not removed
The following packages were automatically installed and are no longer required:
sndfile-programs libavahi-qt3-1 libpano12-bin libwxbase2.6-0 libsigc++-1.2-5c2 libwxbase2.8-0 rosegarden-data libxine1-x libmodplug0c2 libxcb-xv0
libmp4v2-0 libtunepimp5 liblualib50 libiso9660-5 libcommons-cli-java libxine1-plugins libdvbpsi4 libxosd2 ruby1.8 libvlc0 libgdl-1-common hugin-data ruby
vlc-nox libboost-thread1.34.1 libmatroska0 libxine1-console libswt3.2-gtk-java libgda3-common libpano12-0 libifp4 flac libdvdnav4 libgnome-vfsmm-2.6-1c2a
libxine1-misc-plugins libxvmc1 libgda3-3 libcommons-lang-java kdelibs-data liblua50 libruby1.8 python-xlib libxcb-shape0 libxcb-shm0 libvcdinfo0 libebml0
libswt3.2-gtk-jni libnjb5 libofa0 autopano-sift libgdiplus vlc-plugin-pulse libseda-java libxine1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
agave alacarte amarok amarok-xine audacious-plugins-extra audacity bittornado-gui bluefish brasero bug-buddy compiz compiz-gnome contact-lookup-applet
creox deskbar-applet ekiga eog evince evolution evolution-data-server evolution-exchange evolution-plugins evolution-webcal f-spot fast-user-switch-applet
file-roller firefox-2-gnome-support freqtweak gcdmaster gconf-editor gedit gimp-gnomevfs gnome-applets gnome-control-center gnome-games gnome-media
gnome-netstatus-applet gnome-orca gnome-panel gnome-pilot gnome-pilot-conduits gnome-power-manager gnome-session gnome-settings-daemon gnome-specimen
gnome-spell gnome-terminal gnome-user-guide gnome-utils gnome-volume-manager gtkhtml3.14 hugin hugin-bin hugin-tools istanbul kdebase-bin kdebase-bin-kde3
kdelibs4c2a khelpcenter libarts1c2a libbonoboui2-0 libdeskbar-tracker libebook1.2-9 libecal1.2-7 libedata-book1.2-2 libedata-cal1.2-6
libedataserverui1.2-8 libeel2-2 libesd-alsa0 libexchange-storage1.2-3 libgail-gnome-module libgdl-1-0 libgdl-gnome-1-0 libgnome-desktop-2
libgnome-window-settings1 libgnome2-0 libgnome2-perl libgnome2.0-cil libgnomemm-2.6-1c2 libgnomeui-0 libgnomeuimm-2.6-1c2a libgtkhtml3.14-19
libgtkhtml3.16-cil liblpint-bonobo0 libpanel-applet2-0 libwxgtk2.6-0 libwxgtk2.8-0 mousetweaks nautilus nautilus-actions nautilus-cd-burner
nautilus-image-converter nautilus-sendto nautilus-share network-manager-gnome python-gnome2 python-gnome2-desktop python-gnome2-extras python-pyatspi
python-wxgtk2.6 python-wxversion rhythmbox rosegarden seahorse sooperlooper sound-juicer system-config-printer-gnome timidity tomboy totem totem-gstreamer
totem-mozilla totem-plugins tracker-search-tool tsclient ubuntu-docs ubuntustudio-audio ubuntustudio-graphics update-notifier vino vlc
xulrunner-1.9-gnome-support yelp
0 upgraded, 0 newly installed, 123 to remove and 0 not upgraded.
After this operation, 508MB disk space will be freed.
(Reading database ... 155777 files and directories currently installed.)
Removing ubuntustudio-graphics ...
Removing agave ...
Removing alacarte ...
Removing ubuntustudio-audio ...
@audio - rtprio 99

Removing audacious-plugins-extra ...
Removing audacity ...
Removing bittornado-gui ...
Removing bluefish ...
Removing brasero ...
Removing bug-buddy ...
Removing compiz ...
Removing compiz-gnome ...
Removing contact-lookup-applet ...
Removing creox ...
Removing libdeskbar-tracker ...
Removing deskbar-applet ...
Removing ekiga ...
Removing eog ...
Removing evince ...
Removing evolution-plugins ...
Removing evolution-exchange ...
Removing evolution ...
Removing evolution-data-server ...
Removing evolution-webcal ...
Removing f-spot ...
Removing fast-user-switch-applet ...
Removing file-roller ...
Removing firefox-2-gnome-support ...
Removing freqtweak ...
Removing gcdmaster ...
Removing gconf-editor ...
Removing gedit ...
Removing gimp-gnomevfs ...
Removing gnome-applets ...
Removing nautilus-image-converter ...
Removing nautilus-share ...
Removing nautilus-cd-burner ...
Removing nautilus-sendto ...
Removing nautilus ...
Removing gnome-panel ...
Removing gnome-terminal ...
Removing gnome-control-center ...
Removing gnome-games ...
Removing gnome-media ...
Removing gnome-netstatus-applet ...
Removing gnome-orca ...
Removing gnome-pilot-conduits ...
Removing gnome-pilot ...
Removing gnome-session ...
Removing gnome-power-manager ...
Removing gnome-settings-daemon ...
Removing gnome-specimen ...
Removing gnome-spell ...
Removing ubuntu-docs ...
Removing gnome-user-guide ...
Removing gnome-utils ...
Removing gnome-volume-manager ...
Removing gtkhtml3.14 ...
Removing hugin ...
Removing hugin-bin ...
Removing hugin-tools ...
Removing istanbul ...
Removing rosegarden ...
Removing kdebase-bin ...
Removing kdebase-bin-kde3 ...
Removing khelpcenter ...
Removing libgnome-window-settings1 ...
Removing tsclient ...
Removing tomboy ...
Removing seahorse ...
Removing python-gnome2-extras ...
Removing python-gnome2-desktop ...
Removing mousetweaks ...
Removing libgnome2.0-cil ...
Removing libgail-gnome-module ...
Removing libpanel-applet2-0 ...
Removing nautilus-actions ...
Removing update-notifier ...
Removing totem ...
Removing totem-plugins ...
Removing totem-mozilla ...
Removing totem-gstreamer ...
Removing sound-juicer ...
Removing rhythmbox ...
Removing system-config-printer-gnome ...
Removing python-pyatspi ...
Removing python-gnome2 ...
Removing network-manager-gnome ...
Removing liblpint-bonobo0 ...
Removing libgtkhtml3.16-cil ...
Removing libgtkhtml3.14-19 ...
Removing libgnomeuimm-2.6-1c2a ...
Removing tracker-search-tool ...
Removing libeel2-2 ...
Removing libgnome-desktop-2 ...
Removing yelp ...
Removing vino ...
Removing libgnome2-perl ...
Removing libgdl-gnome-1-0 ...
Removing libgdl-1-0 ...
Removing libgnomeui-0 ...
Removing libbonoboui2-0 ...
Removing libedataserverui1.2-8 ...
Removing libedata-book1.2-2 ...
Removing libebook1.2-9 ...
Removing libedata-cal1.2-6 ...
Removing libecal1.2-7 ...
Removing timidity ...
* Stopping TiMidity++ ALSA midi emulation... [ OK ]
Removing libwxgtk2.8-0 ...
Removing vlc ...
Removing sooperlooper ...
Removing xulrunner-1.9-gnome-support ...
Removing libexchange-storage1.2-3 ...
Removing libgnomemm-2.6-1c2 ...
Removing libgnome2-0 ...
Removing python-wxversion ...
Removing amarok ...
Removing amarok-xine ...
Removing kdelibs4c2a ...
Removing libarts1c2a ...
Removing python-wxgtk2.6 ...
Removing libwxgtk2.6-0 ...
Removing libesd-alsa0 ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
keldek@System-X:~$


SIGH :icon_frown:

Keldek
May 12th, 2008, 09:13 AM
I've gotten almost everything reinstalled from the list above, except now I run into this problem:


keldek@System-X:~$ sudo apt-get install ubuntustudio-audio
Reading package lists... Done
Building dependency tree
Reading state information... Done
ubuntustudio-audio is already the newest version.
The following packages were automatically installed and are no longer required:
libcommons-cli-java libswt3.2-gtk-java libcommons-lang-java
libswt3.2-gtk-jni libseda-java
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up timidity (2.13.2-19ubuntu1) ...
* Starting TiMidity++ ALSA midi emulation... [fail]
invoke-rc.d: initscript timidity, action "start" failed.
dpkg: error processing timidity (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntustudio-audio:
ubuntustudio-audio depends on timidity; however:
Package timidity is not configured yet.
dpkg: error processing ubuntustudio-audio (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
timidity
ubuntustudio-audio
E: Sub-process /usr/bin/dpkg returned an error code (1)
keldek@System-X:~$

fuzzyworbles
May 12th, 2008, 08:51 PM
Wait a second.. removing the alsa packages you mention here causes me to remove ubuntu-desktop. That doesn't seem right. I'm sure glad i didn't include the -y switch.

I recall installing oss4 in gutsy without removing anything. instead, i added alsa modules to the blacklist. maybe i should relocate that howto.

[edit] .. alright, since nobody else had complained about the ubuntu-desktop removal (and 'cause i realize that it's just a metapackage), i went ahead and followed through with your instructions.

now, gdm doesn't play fancy sounds when logging in, and more importantly, audacious doesn't work (yes, i've changed the settings, and it shows up under a pcm channel in ossxmix). zsnes doesn't work either when set to use oss. all of these used to work with oss4 under gutsy (actually, i used xmms under gutsy, not audacious -- regardless, it worked w/ oss4). what's up with this? at least totem works though, and so does flash under firefox. suggestions?

[edit] .. alright, i found that i can get gdm to (kind of) work if i change the audio player in gdm.conf to /usr/bin/ossplay, but it only does the bongo drums (login ready), but not the jungly noises after successfully logging in. i couldn't find anything on audacious except recompleing the output plugins from source with oss4=on configure parameters (which are off by default for some reason). so, i complied xmms that can actually use oss4 and uses less cpu than audacious. the streaming sucks though.

zsnes still doesn't have audio.

nezach
May 13th, 2008, 01:02 AM
I got to this part:

sudo apt-get -y remove alsa-oss oss-compat alsa-base libesd-alsa0

and this happened:


keldek@System-X:~$ sudo /etc/init.d/alsa-utils stop
* Shutting down ALSA... [ OK ]
keldek@System-X:~$ sudo apt-get -y remove alsa-oss oss-compat alsa-base libesd-alsa0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package alsa-oss is not installed, so not removed
Package oss-compat is not installed, so not removed
Package alsa-base is not installed, so not removed
The following packages were automatically installed and are no longer required:
sndfile-programs libavahi-qt3-1 libpano12-bin libwxbase2.6-0 libsigc++-1.2-5c2 libwxbase2.8-0 rosegarden-data libxine1-x libmodplug0c2 libxcb-xv0
libmp4v2-0 libtunepimp5 liblualib50 libiso9660-5 libcommons-cli-java libxine1-plugins libdvbpsi4 libxosd2 ruby1.8 libvlc0 libgdl-1-common hugin-data ruby
vlc-nox libboost-thread1.34.1 libmatroska0 libxine1-console libswt3.2-gtk-java libgda3-common libpano12-0 libifp4 flac libdvdnav4 libgnome-vfsmm-2.6-1c2a
libxine1-misc-plugins libxvmc1 libgda3-3 libcommons-lang-java kdelibs-data liblua50 libruby1.8 python-xlib libxcb-shape0 libxcb-shm0 libvcdinfo0 libebml0
libswt3.2-gtk-jni libnjb5 libofa0 autopano-sift libgdiplus vlc-plugin-pulse libseda-java libxine1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
agave alacarte amarok amarok-xine audacious-plugins-extra audacity bittornado-gui bluefish brasero bug-buddy compiz compiz-gnome contact-lookup-applet
creox deskbar-applet ekiga eog evince evolution evolution-data-server evolution-exchange evolution-plugins evolution-webcal f-spot fast-user-switch-applet
file-roller firefox-2-gnome-support freqtweak gcdmaster gconf-editor gedit gimp-gnomevfs gnome-applets gnome-control-center gnome-games gnome-media
gnome-netstatus-applet gnome-orca gnome-panel gnome-pilot gnome-pilot-conduits gnome-power-manager gnome-session gnome-settings-daemon gnome-specimen
gnome-spell gnome-terminal gnome-user-guide gnome-utils gnome-volume-manager gtkhtml3.14 hugin hugin-bin hugin-tools istanbul kdebase-bin kdebase-bin-kde3
kdelibs4c2a khelpcenter libarts1c2a libbonoboui2-0 libdeskbar-tracker libebook1.2-9 libecal1.2-7 libedata-book1.2-2 libedata-cal1.2-6
libedataserverui1.2-8 libeel2-2 libesd-alsa0 libexchange-storage1.2-3 libgail-gnome-module libgdl-1-0 libgdl-gnome-1-0 libgnome-desktop-2
libgnome-window-settings1 libgnome2-0 libgnome2-perl libgnome2.0-cil libgnomemm-2.6-1c2 libgnomeui-0 libgnomeuimm-2.6-1c2a libgtkhtml3.14-19
libgtkhtml3.16-cil liblpint-bonobo0 libpanel-applet2-0 libwxgtk2.6-0 libwxgtk2.8-0 mousetweaks nautilus nautilus-actions nautilus-cd-burner
nautilus-image-converter nautilus-sendto nautilus-share network-manager-gnome python-gnome2 python-gnome2-desktop python-gnome2-extras python-pyatspi
python-wxgtk2.6 python-wxversion rhythmbox rosegarden seahorse sooperlooper sound-juicer system-config-printer-gnome timidity tomboy totem totem-gstreamer
totem-mozilla totem-plugins tracker-search-tool tsclient ubuntu-docs ubuntustudio-audio ubuntustudio-graphics update-notifier vino vlc
xulrunner-1.9-gnome-support yelp
0 upgraded, 0 newly installed, 123 to remove and 0 not upgraded.
After this operation, 508MB disk space will be freed.
(Reading database ... 155777 files and directories currently installed.)
Removing ubuntustudio-graphics ...
Removing agave ...
Removing alacarte ...
Removing ubuntustudio-audio ...
@audio - rtprio 99

Removing audacious-plugins-extra ...
Removing audacity ...
Removing bittornado-gui ...
Removing bluefish ...
Removing brasero ...
Removing bug-buddy ...
Removing compiz ...
Removing compiz-gnome ...
Removing contact-lookup-applet ...
Removing creox ...
Removing libdeskbar-tracker ...
Removing deskbar-applet ...
Removing ekiga ...
Removing eog ...
Removing evince ...
Removing evolution-plugins ...
Removing evolution-exchange ...
Removing evolution ...
Removing evolution-data-server ...
Removing evolution-webcal ...
Removing f-spot ...
Removing fast-user-switch-applet ...
Removing file-roller ...
Removing firefox-2-gnome-support ...
Removing freqtweak ...
Removing gcdmaster ...
Removing gconf-editor ...
Removing gedit ...
Removing gimp-gnomevfs ...
Removing gnome-applets ...
Removing nautilus-image-converter ...
Removing nautilus-share ...
Removing nautilus-cd-burner ...
Removing nautilus-sendto ...
Removing nautilus ...
Removing gnome-panel ...
Removing gnome-terminal ...
Removing gnome-control-center ...
Removing gnome-games ...
Removing gnome-media ...
Removing gnome-netstatus-applet ...
Removing gnome-orca ...
Removing gnome-pilot-conduits ...
Removing gnome-pilot ...
Removing gnome-session ...
Removing gnome-power-manager ...
Removing gnome-settings-daemon ...
Removing gnome-specimen ...
Removing gnome-spell ...
Removing ubuntu-docs ...
Removing gnome-user-guide ...
Removing gnome-utils ...
Removing gnome-volume-manager ...
Removing gtkhtml3.14 ...
Removing hugin ...
Removing hugin-bin ...
Removing hugin-tools ...
Removing istanbul ...
Removing rosegarden ...
Removing kdebase-bin ...
Removing kdebase-bin-kde3 ...
Removing khelpcenter ...
Removing libgnome-window-settings1 ...
Removing tsclient ...
Removing tomboy ...
Removing seahorse ...
Removing python-gnome2-extras ...
Removing python-gnome2-desktop ...
Removing mousetweaks ...
Removing libgnome2.0-cil ...
Removing libgail-gnome-module ...
Removing libpanel-applet2-0 ...
Removing nautilus-actions ...
Removing update-notifier ...
Removing totem ...
Removing totem-plugins ...
Removing totem-mozilla ...
Removing totem-gstreamer ...
Removing sound-juicer ...
Removing rhythmbox ...
Removing system-config-printer-gnome ...
Removing python-pyatspi ...
Removing python-gnome2 ...
Removing network-manager-gnome ...
Removing liblpint-bonobo0 ...
Removing libgtkhtml3.16-cil ...
Removing libgtkhtml3.14-19 ...
Removing libgnomeuimm-2.6-1c2a ...
Removing tracker-search-tool ...
Removing libeel2-2 ...
Removing libgnome-desktop-2 ...
Removing yelp ...
Removing vino ...
Removing libgnome2-perl ...
Removing libgdl-gnome-1-0 ...
Removing libgdl-1-0 ...
Removing libgnomeui-0 ...
Removing libbonoboui2-0 ...
Removing libedataserverui1.2-8 ...
Removing libedata-book1.2-2 ...
Removing libebook1.2-9 ...
Removing libedata-cal1.2-6 ...
Removing libecal1.2-7 ...
Removing timidity ...
* Stopping TiMidity++ ALSA midi emulation... [ OK ]
Removing libwxgtk2.8-0 ...
Removing vlc ...
Removing sooperlooper ...
Removing xulrunner-1.9-gnome-support ...
Removing libexchange-storage1.2-3 ...
Removing libgnomemm-2.6-1c2 ...
Removing libgnome2-0 ...
Removing python-wxversion ...
Removing amarok ...
Removing amarok-xine ...
Removing kdelibs4c2a ...
Removing libarts1c2a ...
Removing python-wxgtk2.6 ...
Removing libwxgtk2.6-0 ...
Removing libesd-alsa0 ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
keldek@System-X:~$


SIGH :icon_frown:

Did you do it from the recovery mode? Try installing libesd0 and libesd0-dev before removing libesd-alsa0. That way you will not break that many dependencies.

fuzzyworbles
May 14th, 2008, 12:22 AM
you know, it's not really worth the upgrade for my ibm t30 with a basic boring ol' intel integrated sound card... slightly better sound quality at the cost of no system sounds and no support out-of-the-box with a variety of other packages. the most irritating was probably having to make sure nothing was occupying oss before going on standby... thanks anyway. I'm currently trying to get everything back to using alsa. lets see if that's as problematic as getting them to use oss4...

.. yup, I guess it is. can anybody point my in the right direction to get totem to stop saying that the device is occupied? i've removed oss4, reinstalled alsa, and reverted back from the gstreamer patch. gstreamer-properties tests well when set to alsa, and system sounds are back, but it's just totem that doesn't want to cooperate. help? anybody?

sync_85
May 14th, 2008, 02:24 PM
thank you very much.finally i can hear sound on my speaker.

Zorael
May 14th, 2008, 04:11 PM
http://insanecoding.blogspot.com/2007/05/sorry-state-of-sound-in-linux.html

I'm going to try compiling OSS 4.1 later and see if it works better, but so far my main gripes (with the prepackaged 4.0 version) are, in no particular order:

Doesn't work with Pulse. OSS4 isn't completely backwards compatible and Pulse calls some old-and-removed functions, and neither side places priority on fixing. I've the greatest respect for both dev teams for their work, just wish they'd play nice with eachother
ossxmix.
Confusage Incarnate™, rampant bars with no labeling, but I could likely use pulse's mixer if that worked
Seemingly no way of transfering sources between sinks, if I'm allowed to use pulse's terminology. I don't see why? (Or am I missing it? Perhaps I could use pulse's mixer for this, as well
Doesn't seem to support hotplugging of (usb) devices (see earlier posts in this thread), unplugging once breaks possibility of reconnecting without reloading OSS
KDE's kmix doesn't work at all, which by extension means my multimedia keys for volume up/down don't work. Not OSS's fault, just wish kmix was more flexible. Likely to improve in KDE4 with Phonon, but 4.0.4 is more like 4.0.0rc4. If anyone coding-proficient reads this, WTB kmix (and kmilo) patch :<
When doing soundon (which it does in the boot process), sound card is for a few seconds enabled with 100% volume and output from microphone not muted, which makes my ears bleed.

Shadowmeph
May 14th, 2008, 06:09 PM
I read a few at the 4front tech site and couldn't really find anything . anyway I bought a Xonar dx sound card and installed it on my Ubuntu hardy64bit using the instructions on this forum but my card doesn't work here is as much info as I know how to give
ossmix
Code:
Selected mixer 0/CMedia CMI8788
Known controls are:
pcm <both>[:<rightvol>] (currently 100:100)
rear <both>[:<rightvol>] (currently 100:100)
center <both>[:<rightvol>] (currently 40:40)
side <both>[:<rightvol>] (currently 75:75)
ext.monitor.multichannel ON|OFF (currently OFF)
ext.monitor.frontpanel ON|OFF (currently ON)
ext.monitor.spdif ON|OFF (currently OFF)
ext.routing.speaker-spread ON|OFF (currently OFF)
ext.routing.spdif-loopback ON|OFF (currently OFF)
spdif-out.enable ON|OFF (currently OFF)
spdif-out.adc/dac ON|OFF (currently OFF)
spdif-out.pro <Consumer> (currently Consumer)
spdif-out.audio <Audio> (currently Audio)
spdif-out.copy ON|OFF (currently OFF)
spdif-out.pre-emph ON|OFF (currently OFF)
spdif-out.rate <44> (currently 48KHz)
spdif-out.vbit ON|OFF (currently OFF)

ossinfo
Code:
Version info: OSS 4.0 (b1015/200803240317) (0x00040003)
Platform: Linux/x86_64 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 (dallas-desktop)
Number of audio devices: 2
Number of audio engines: 11
Number of mixer devices: 2
Device objects
0: osscore0 OSS core services
1: cmi87880 CMedia CMI8788 interrupts=7 (9)
2: ossusb0 USB audio core services
3: vmix0 OSS transparent virtual mixer
Mixer devices
0: CMedia CMI8788 (Mixer 0 of device object 1)
1: AC97 Input Mixer (CMI9780) (Mixer 1 of device object 1)
Audio devices
CMedia CMI8788 (MultiChannel) /dev/oss/cmi87880/pcm0 (device index 0)
CMedia CMI8788 (SPDIF) /dev/oss/cmi87880/pcm1 (device index 1)

under the sound settings in preference it doesn't show any oss at all
I did the osstest I get no sound but this is the output
osstest
Code:
Sound subsystem and version: OSS 4.0 (b1015/200803240317) (0x00040003)
Platform: Linux/x86_64 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008
*** Scanning sound adapter #-1 ***
/dev/oss/cmi87880/pcm0 (audio engine 0): CMedia CMI8788 (MultiChannel)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/cmi87880/pcm1 (audio engine 2): CMedia CMI8788 (SPDIF)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>

*** All tests completed OK ***

I went to the 4front-tech to try and get some help for my Xonar dx card and apparently the oss doesn't support my card but I was given a link to the oss-development site in which a person (Mario Goebbels) has made a patch for this but I am not sure of how to apply the patch , you see it is a bat file and being pretty new to Linux I am not sure how to apply the patch. I asked this on the 4front-tech site and they said I have to build my own, now I don't have any problem doing this but the instructions at http://4front-tech.com/wiki/index.php/Building_OSSv4_from_source are confusing to me because it doesn't show how I am to install the bat file at all also when I tried to follow the instructions I get lost. any help would be appreciated. and if I cannot get my card to work I could always go back to my onboard sound card but as of now that doesn't work either :(

Shadowmeph
May 14th, 2008, 08:38 PM
I downloaded the /testing/gpl ([ ] oss-v4.1-build080509..>) instructions and file and in the instructions it says to


cd /usr/src
which I did then it says
Quote:
restore the files in the tarball by executing the following command:
bunzip2 -c /tmp/oss-v4.1-build080509-src-gpl.tar.bz2 | tar xvf -
but when I do this I get


oss-v4.1-build080509-src-gpl/RELNOTES.txt
tar: oss-v4.1-build080509-src-gpl/RELNOTES.txt: Cannot open: No such file or directory
tar: Error exit delayed from previous errors

I just copy and pasted the last part because it pretty much says the same thing through out " no such directory"
and I do have the file in the tmp directory so I am not sure why it is doing that

Temüjin
May 14th, 2008, 09:13 PM
Edit: Ok, Hannu has fixed the Mercurial repo. :)

fuzzyworbles
May 15th, 2008, 03:08 PM
Can somebody PLEASE show me how to correctly restore alsa as it was before I installed OSS4? So far I've uninstalled it, and reinstalled everything that this how to instructed me to remove. This has left me with sound only when the application can use ESD, but direct alsa use still fails (it says that it's busy even when nothing is using it). Also, totem doesn't have audio even though it tests fine under gstreamer-properties. Finally, I can't use audacious because it emits a loud white noise when using ESD (and as I mentioned, ALSA is broken). What really confuses me is that ESD is just a mixing layer on ALSA, right? So... what's the deal? :confused:

Any help would be GREATLY appreciated!

.. ah ha! i guess installing oss4 mucks with kernel (i guess -- really i don't know) but reinstalling the kernel and ubuntu module package did the trick.

sheldoon
May 16th, 2008, 03:58 AM
Greetings all, an xubuntu newb here. Just got the OSS package to install, osstest works fine, gives no errors but I still have no sound. Running the SB-XFi Fatal1ty, using the digital coax output through the 5.25 extension bay. Anybody know how to enable that beast, or is that part of the beta support that's not been worked on yet?

PRGUY85
May 16th, 2008, 04:21 PM
I am trying to reinstall everything since I am having problems now with OSS.

Tried removing the oss-linux package through Synaptic and got the following:

E: oss-linux: subprocess pre-removal script returned error exit status 2

Temüjin
May 16th, 2008, 04:46 PM
PRGUY85:
http://www.4front-tech.com/forum/viewtopic.php?t=2054

spotteddog
May 16th, 2008, 07:00 PM
What would be the normal time-frame for this whole Creative X-fi problems thing to be fixed?
I've been trying Ubuntu for 4 weeks and have been waiting for (X-fi) sound, before making a complete migration from Vista to Ubuntu Hardy.
Apparently the OOS4 fix is so buggy it shouldn't be attempted by a newb (me). I could downgrade my sound card, but I don't want too.
How long do these things take. The X-Fi has been out for years.

(Not complaining. Just asking a question)

Temüjin
May 16th, 2008, 07:18 PM
spotteddog: I haven't heard any timeframe. As soon as an update is available for the X-fi or another OSS 4.0 build is released, I will post in this thread. You might want to subscribe to the X-fi thread: http://ubuntuforums.org/showthread.php?t=571656

youpo
May 17th, 2008, 04:38 AM
Installing OSS 4.0 From a .deb package

Check to see if your device is supported by OSS...


Thanks!

PRGUY85
May 18th, 2008, 04:32 PM
PRGUY85:
http://www.4front-tech.com/forum/viewtopic.php?t=2054

Worked.

ninocass
May 18th, 2008, 05:54 PM
Hey, thanks for the guide.

When i have music/video playering and the oss mixer is up i can see the volume levels increase and decrease on the graphics equaliser thingy however i cant hear any sound :S

ossinfo give me:



Version info: OSS 4.0 (b1015/200803240256) (0x00040003)
Platform: Linux/i686 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 (nino-xps-linux)

Number of audio devices: 8
Number of audio engines: 16
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: hdaudio0 Intel HD Audio interrupts=262207 (262207)
HD Audio controller Intel HD Audio
Vendor ID 0x8086284b
Subvendor ID 0x10280209
Codec 0: STAC9228X (0x83847616/0x10280209)
2: ossusb0 USB audio core services
3: vmix0 OSS transparent virtual mixer


Mixer devices
0: High Definition Audio STAC9228X (Mixer 0 of device object 1)

Audio devices
HD Audio front /dev/oss/hdaudio0/pcm0 (device index 0)
HD Audio center/LFE /dev/oss/hdaudio0/pcm1 (device index 1)
HD Audio rear /dev/oss/hdaudio0/pcm2 (device index 2)
HD Audio side /dev/oss/hdaudio0/pcm3 (device index 3)
HD Audio spdif-out /dev/oss/hdaudio0/spdout0 (device index 4)
High Definition Audio rec1 /dev/oss/hdaudio0/pcmin0 (device index 5)
High Definition Audio rec2 /dev/oss/hdaudio0/pcmin1 (device index 6)
High Definition Audio rec3 /dev/oss/hdaudio0/pcmin2 (device index 7)

pai60
May 19th, 2008, 02:48 PM
Hi, everyone. I just follow Temujin guide and ...magically sound and music everywhere from my x-fi! Thanks, man, really great job.

ninocass
May 19th, 2008, 07:40 PM
trying to remove ossv4 as i cant seem to ge tit working but i cant get alsa back on, i keep getting an error saying that there is no Gstramer or audio device :S

thanks

spotteddog
May 19th, 2008, 09:38 PM
I followed Temujin's instructions to uninstall ALSA and install OSS.
Everything seemed to install OK. I have the new mixer icon installed and everything seemed to be where it was supposed to be. I had the OSS option in my "Sound" menu, etc. I tried to apply the "patch", which failed. And then.....
After I rebooted, I had nothing: No OSS option in the "sounds" menu, No ALSA is installed.
I tried to start over again, but got the error "no ALSA install", then the install OSS fails.
I tried the "recovering from failed .deb install", but that also just returns errors.
So now I have no sound of any kind installed.

(And it all seemed to be going so well! :()

Where did I go wrong? What next?

Thanks

PRGUY85
May 20th, 2008, 04:48 AM
Hey, I installed Mythtv. How can I add sound there?

SOLVED

Temüjin
May 21st, 2008, 03:03 AM
For those using Kubuntu: I installed Kubuntu 8.04 on my stepdad's computer (SB Audigy) and had to install OSS4 since ALSA didn't work (surprise..). I'm not quite sure how I managed it, but after running the command below and rebooting, OSS4 was working with kmix. kmix didn't have all of the options ossxmix did, but it did have master volume, so I assume it would work if one had it setup to use multimedia keys or the scrollwheel to control volume.


sudo dpkg-reconfigure linux-sound-base

Rhapsody
May 21st, 2008, 04:00 AM
For those using Kubuntu: I installed Kubuntu 8.04 on my stepdad's computer (SB Audigy) and had to install OSS4 since ALSA didn't work (surprise..). I'm not quite sure how I managed it, but after running the command below and rebooting, OSS4 was working with kmix. kmix didn't have all of the options ossxmix did, but it did have master volume, so I assume it would work if one had it setup to use multimedia keys or the scrollwheel to control volume.
I was wondering about this myself. It seemed this topic had the age-old 'KDE Problem' where a problem was mentioned that probably existed in KDE, but the only solution given is for GNOME and I end up not knowing if I even have a problem, nor how to fix it if I do.

So I've got a Sound Blaster X-Fi XtremeGamer on Kubuntu 8.04, and it looks like I'll need OSSv4 to make it work. Will it work with KMix, and if not, how the hell do I use ossxmix with KDE?

PRGUY85
May 21st, 2008, 01:57 PM
Hey, is Skype OSS version a bit sluggish on your PCs?

spotteddog
May 22nd, 2008, 05:47 PM
I ended up reinstalling Hardy and I re-tried Temujin's OSS instructions for getting sound from my X-Fi. This time it worked and I have sound. Sounds great. Thanks Temujin.

But, I don't have any system sounds, though. How do I get my system sounds to work with OSS 4?

Anything else I need to do with my OSS and X-Fi? I have only tried to play CD's and they work fine. Haven't really had time to try anything else yet.

Thanks,

Spot

Temüjin
May 22nd, 2008, 07:34 PM
But, I don't have any system sounds, though. How do I get my system sounds to work with OSS 4?

For GNOME, you have to get ESD running and set the System -> Preferences -> Sound to use it. I'm not sure exactly how to to install it and have it start automatically. I do know you'll need to fire up Synaptic and make sure libesd0 is installed (which should remove libesd-alsa0).

To be honest, I haven't spent a whole lot of time on it because I don't want system sounds playing over my music anyway. I prefer to keep my build lightweight and running ESD and all sound through it just doesn't appeal to me.

Note to Kubuntu/KDE users: You'll need to get aRts up and running (do a search in Synaptic) and set System -> Prefences -> Sounds to use it.


Anything else I need to do with my OSS and X-Fi?
Tell Ubuntu to force OSS output. The following command will bring up an information message. Hit [Enter] to say OK and use the down-arrow to select 'OSS' on the next menu. Press the Tab key and [Enter] to say OK, and you'll be back at the terminal.

sudo dpkg-reconfigure linux-sound-base

spotteddog
May 22nd, 2008, 08:16 PM
Thanks Temüjin. You have been so helpful. Greatly appreciated. :popcorn:

Temüjin
May 22nd, 2008, 08:41 PM
Thanks Temüjin. You have been so helpful. Greatly appreciated.
Np. If you have any more issues, check what /dev/dsp is pointing at, i.e.:

cd /dev
ls -la | grep dsp
A full reinstall of Hardy shouldn't be necessary.

OpposingForce
May 22nd, 2008, 10:56 PM
Thanks for this guide, it helped me get my Xfi working. Will ALSA be supporting the XFI cards? And can I have alsa and oss4 installed at the same time

Temüjin
May 23rd, 2008, 12:07 AM
You can have alsa and OSS4 installed at the same time, but I would not recommend it.

To keep ALSA, but prevent it from running use the following command and restart the system:

sudo cat /lib/linux-sound-base/noALSA.modprobe.conf >> /etc/modprobe.d/blacklist

To undo the ALSA blacklist, delete all the "blacklist snd-" lines on the end of the file.

gksudo gedit /etc/modprobe.d/blacklist/
(There's probably a slick command to do this, but I can't think of one off the top of my head.)

As for preventing oss4 from loading at startup, I believe the following command will work:

cd /etc/init.d/; sudo gzip oss
And when you're ready for OSS4 again:

cd /etc/init.d/; sudo gunzip oss

If OSS still manages to load, a good ol' sudo soundoff will unload it and then you should be able to sudo modprobe the intended ALSA modules.

OpposingForce
May 23rd, 2008, 02:46 AM
Thanks, sounds like a lot of trouble though, but I'll keep that in mind. I guess I'll just have to wait until ALSA supports the XFi cards before I start using ALSA again.

adramalech
May 23rd, 2008, 04:43 PM
i was wondering why the ossxmix seems to return this...i get the popup ui and everything but this is the picture...

http://i272.photobucket.com/albums/jj179/adramalech707/Screenshot.png

StratusX
May 26th, 2008, 11:18 AM
Okay so I followed the guide hoping that with this version of OSS i could use my X-Fi in linux finally.

So I followed all the steps and everything was good till it got to

"Starting Open Sound System"

After about 5 seconds my computer completely froze. So I did a hard reboot and tried "sudo soundon" and got:

Previous start of OSS crashed the system
Please resolve the situation and remove file
"/usr/lib/oss/starting". Then start OSS by
running soundon again.

So I did that and after running sudo soundon my computer crashed again.

So I can install it just fine, just starting it crashes my computer =[

Any thoughts on what's wrong?

Thanks,
Ian

OpposingForce
May 26th, 2008, 01:10 PM
STratusX, maybe try reinstalling OSS4

OSS4 works with my card, but Totem does not work. I get an error "Invalid Argument- could not connect stream" when I try to load a video. Some fixes that I googled said going into preferences->sound and changing it to ALSA would work. But obviously since I removed ALSA that's not going to be an option. And whenever I go into the preferences->sound menu and hit test, I always get an error something like 'invalid argument' on any sound option that I attempt to "test". However, VLC works perfectly, with sound, right out of the box. I didn't need to tweak anything. Does it use OSS by default or something? My bug is not totally imperative that I resolve it, as an alternative media player (VLC) is avaibile and works fine, but I'd like to get to the bottom of this and maybe even help others solve this issue.

edit- I just got the new linux kernel update which ubuntu just alerted me to this morning. I started the new kernel and it said something about relinking modules. It said "oss started OK" and sound still works the same. This happens every time the kernel updates?

Temüjin
May 26th, 2008, 04:03 PM
OpposingForce:

sudo dpkg-reconfigure linux-sound-base Select OSS. Also make sure you go to System -> Preferences -> Sound and set the options appropriately.

If that doesn't work, make sure you have all the necessary plugins for totem/gstreamer (Do a search in synaptic)

OpposingForce
May 26th, 2008, 08:05 PM
OpposingForce:

sudo dpkg-reconfigure linux-sound-base Select OSS. Also make sure you go to System -> Preferences -> Sound and set the options appropriately.

If that doesn't work, make sure you have all the necessary plugins for totem/gstreamer (Do a search in synaptic)

Thanks, but I'm unsure of what to search for. There is still no option in the system->pref->sound menu for OSS.

Temüjin
May 26th, 2008, 08:19 PM
sudo apt-get install totem-gstreamer

OpposingForce
May 26th, 2008, 08:25 PM
sudo apt-get install totem-gstreamer

Thanks for the quick reply, but I got this


cory@cory-desktop:~$ sudo apt-get install totem-gstreamer
[sudo] password for cory:
Reading package lists... Done
Building dependency tree
Reading state information... Done
totem-gstreamer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.


and I ran


sudo dpkg-reconfigure linux-sound-base

And selected OSS, but oss still does not appear as an option in the GNOME sound menu.

ebike
May 27th, 2008, 03:57 AM
Hi Guys,

I have just tried this install for the Creative X-fi Xmod USB card.

I installed the .deb package and that went fine, blacklisted all the alsa stuff as elsewhere in this thread, rebooted.

The OSS installation worked for my internal sound card and osstest plays on that device, however it doesn't work on the USB X-Fi card.

Has anyone else tried with this card, or is it just not supported. I know alsa doesn't support it in 8.04, yet it worked with alsa on 7.10.

dmesg gives:

[ 172.596215] New audioctl device 1/0 - USB sound device
[ 172.608061] USB mixer unit read error -71
[ 172.609156] USB mixer unit read error -71
[ 172.612185] USB mixer unit read error -71
[ 172.615243] New audio streaming device 1/1 - USB sound device
[ 172.615335] New audio streaming device 1/2 - USB sound device
[ 172.616051] ossusb: oss usbaudio: Failed to set interface mode, error -71 - ignored
[ 172.617038] ossusb: oss usbaudio: Failed to set interface mode, error -71 - ignored
[ 172.618025] ossusb: Endpoint control write error -71
[ 172.618031] Failed to set 44100 Hz sampling rate
[ 172.618035] osscore: Trigger (input) failed
[ 172.619031] ossusb: Endpoint control write error -71
[ 172.619037] Failed to set 44100 Hz sampling rate
[ 172.619040] osscore: Trigger failed
[ 172.668021] usb 3-1: USB disconnect, address 98
[ 173.898977] usb 3-1: new full speed USB device using uhci_hcd and address 99
[ 174.065989] usb 3-1: configuration #1 chosen from 1 choice
[ 174.070874] usb 3-1: can't set config #1, error -84
[ 174.070924] usb 3-1: USB disconnect, address 99
[ 175.385756] usb 3-1: new full speed USB device using uhci_hcd and address 100
[ 175.551778] usb 3-1: configuration #1 chosen from 1 choice
[ 175.557656] usb 3-1: can't set config #1, error -84
[ 175.557706] usb 3-1: USB disconnect, address 100
[ 176.872550] usb 3-1: new full speed USB device using uhci_hcd and address 101
[ 177.038551] usb 3-1: configuration #1 chosen from 1 choice
[ 177.045303] usb 3-1: can't set config #1, error -84
[ 177.045353] usb 3-1: USB disconnect, address 101


ossinfo is:

Version info: OSS 4.0 (b1015/200803240256) (0x00040003)
Platform: Linux/i686 2.6.24-17-generic #1 SMP Thu May 1 14:31:33 UTC 2008 (Family)

Number of audio devices: 3
Number of audio engines: 20
Number of mixer devices: 2


Device objects
0: osscore0 OSS core services
1: via82330 VIA VT8235
2: ossusb0 USB audio core services
3: vmix0 OSS transparent virtual mixer
4: usb041e30d0-0 USB sound device
5: usb041e30d0-1 USB sound device
6: usb041e30d0-2 USB sound device


Mixer devices
0: VIA823x AC97 Mixer (CMI9739) (Mixer 0 of device object 1)
1: (USB sound device )(Mixer 0 of device object 4)

Audio devices
VIA VT8235 /dev/oss/via82330/pcm0 (device index 0)
(USB sound device play /dev/oss/usb041e30d0-1/pcm0 ) (device index 1)
(USB sound device rec /dev/oss/usb041e30d0-2/pcmin0 ) (device index 2)


lsmod shows the relevant modules:

Module Size Used by
vmix 14132 0
ossusb 56072 0
via8233 13296 0
osscore 565044 3 vmix,ossusb,via8233
ipv6 267780 8
binfmt_misc 12808 1
af_packet 23812 2
rfcomm 41744 2
l2cap 25728 13 rfcomm
bluetooth 61156 4 rfcomm,l2cap
ppdev 10372 0
cpufreq_powersave 2688 0
cpufreq_ondemand 9740 0
cpufreq_stats 7104 0
cpufreq_conservative 8712 0
cpufreq_userspace 5284 0
freq_table 5536 2 cpufreq_ondemand,cpufreq_stats
video 19856 0
output 4736 1 video
container 5632 0
dock 11280 0
sbs 15112 0
sbshc 7680 1 sbs
battery 14212 0
nfs 262540 1
lockd 67720 2 nfs
nfs_acl 4608 1 nfs
sunrpc 185884 9 nfs,lockd,nfs_acl
iptable_filter 3840 0
ip_tables 14820 1 iptable_filter
x_tables 16132 1 ip_tables
xfs 571416 1
ac 6916 0
lp 12324 0
usb_storage 73664 0
usbhid 31872 0
libusual 19108 1 usb_storage
hid 38784 1 usbhid
usblp 15872 0
nvidia 7825536 34
evdev 13056 4
i2c_viapro 9876 0
i2c_core 24832 2 nvidia,i2c_viapro
button 9232 0
parport_pc 36260 1
parport 37832 3 ppdev,lp,parport_pc
via_ircc 27796 0
analog 13600 0
shpchp 34452 0
pci_hotplug 30880 1 shpchp
irda 203068 1 via_ircc
gameport 16008 1 analog
pcspkr 4224 0
via_agp 11136 1
crc_ccitt 3072 1 irda
agpgart 34760 2 nvidia,via_agp
ext3 136712 1
jbd 48404 1 ext3
mbcache 9600 1 ext3
sg 36880 0
sr_mod 17956 0
cdrom 37408 1 sr_mod
sd_mod 30720 4
pata_acpi 8320 0
ata_generic 8324 0
floppy 59588 0
pata_via 13316 3
via_rhine 26632 0
mii 6400 1 via_rhine
libata 159344 3 pata_acpi,ata_generic,pata_via
scsi_mod 151436 5 usb_storage,sg,sr_mod,sd_mod,libata
ehci_hcd 37900 0
uhci_hcd 27024 0
usbcore 146028 8 ossusb,usb_storage,usbhid,libusual,usblp,ehci_hcd, uhci_hcd
thermal 16796 0
processor 36872 1 thermal
fan 5636 0
fbcon 42912 0
tileblit 3456 1 fbcon
font 9472 1 fbcon
bitblit 6784 1 fbcon
softcursor 3072 1 bitblit
fuse 50580 3

But, doesn't look like ossusb sees the device.
Any suggestions anyone?

Thanks.

OpposingForce
May 27th, 2008, 04:47 PM
Update

solved the problem with system sounds not working on my X-fi. I had to install esound by doing

sudo apt-get install esound libesd0

and 

sudo apt-get install esound-clients

Then I logged out, and back in to restart gnome, and heard the ubuntu theme music. It still doesnt show OSS or esound in the gnome sound program, but at least it works. Hope this helps others

Temüjin
May 27th, 2008, 05:25 PM
ebike, I don't know if your USB X-fi card is supported. I suggest making a thread on the OpenSound forums.
Other suggestions would include disabling your onboard audio in the BIOS if you're not using it (run soundoff, ossdetect -v, and soundon on the next boot if you do that) and configuring your audio program to resample to 48KHz (Creative/E-MU chips usually resample to 48KHz in hardware, but it appears the 44.1 KHz format is choking it.)
If you don't see a resampling setting in your media player, try installing Audacious (available in Synaptic/Ubuntu repo) for test purposes. It has a resampling option.

Temüjin
May 27th, 2008, 05:39 PM
Purging a Failed OSS4 .deb Install, the Ubuntu Way
(Based on http://www.4front-tech.com/forum/viewtopic.php?t=2054, thanks to Dev Mazumdar)


cd /var/lib/dpkg/info
sudo rm oss-linux*

Now run the following command and press Ctrl+F or click on the Find icon. Enter oss-linux and it should bring you to a block of text that looks similar to the quote below. Remove that block, save, and quit.


gksudo gedit /var/lib/dpkg/status


Package: oss-linux
Status: install ok installed
Priority: extra
Section: alien
Installed-Size: 8440
Maintainer: root <root@dev-desktop>
Architecture: amd64
Version: v4.0rc9-999
Depends: libatk1.0-0 (>= 1.12.1), libc6 (>= 2.4-1), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.3.0), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.10.3), libpango1.0-0 (>= 1.14.5), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxi6, libxinerama1, libxrandr2, libxrender1
Conffiles:
/etc/oss.conf 055432d38aaf37fc6de3dba4a95accc3
Description: Open Sound System sound drivers for Linux
Open Sound System for Linux (OSS/Linux) is a commercial quality sound driver
distributed by 4Front Technologies (http://www.opensound.com). OSS provides
support for practically all sound cards on the market including PnP and
many PCI ones. Installation and configuration is higly automated and easy to
perform. To obtain technical support and additional features, you will need to
order a license key from http://www.opensound.com/order.html
.
(Converted from a rpm package by alien version 8.64.)

spotteddog
May 27th, 2008, 08:27 PM
Update

solved the problem with sound systems not working on my X-fi. I had to install esound by doing

sudo apt-get install esound libesd0

and 

sudo apt-get install esound-clients

Then I logged out, and back in to restart gnome, and heard the ubuntu theme music. It still doesnt show OSS or esound in the gnome sound program, but at least it works. Hope this helps others
Thanks OpposingForce. It works for me too. (X-Fi, OSS4 and Hardy).

ebike
May 27th, 2008, 09:37 PM
ebike, I don't know if your USB X-fi card is supported. I suggest making a thread on the OpenSound forums.
Other suggestions would include disabling your onboard audio in the BIOS if you're not using it (run soundoff, ossdetect -v, and soundon on the next boot if you do that) and configuring your audio program to resample to 48KHz (Creative/E-MU chips usually resample to 48KHz in hardware, but it appears the 44.1 KHz format is choking it.)
If you don't see a resampling setting in your media player, try installing Audacious (available in Synaptic/Ubuntu repo) for test purposes. It has a resampling option.

Thanks for the advice, I will join that forum. I don't know about your logic on the 48k sampling rate. I get that error on the 44.1khz when the module is loaded (i.e when I plig the card into the USB), there are no programs trying to send data to the card at the time, I have disabled everything. The card hasn't really been recognized yet .....

StratusX
May 28th, 2008, 12:15 AM
STratusX, maybe try reinstalling OSS4

I've tried that. installing it isn't the problem. But trying to start it causes my system to crash.

Temüjin
May 28th, 2008, 05:12 AM
I've updated the guide. Please let me know if you have problems with the installation. If you get the package installed, but still don't hear sound, please post here: http://4front-tech.com/forum/index.php

jasontu
May 28th, 2008, 02:59 PM
http://ubuntuforums.org/showthread.php?t=809881&highlight=usb+microphone

Would it be possible that this OSS4 would help me fix my problem getting a USB microphone to work? (issue linked to above)

As it is the USB Audio Device is detected by system, it seems to even detect that there is a microphone on it. It plays sound to the headphones just fine, but it refuses to pick up sound from the microphone. I'm not at the machine now but I'm pretty sure that it is managed by ALSA at the moment. The USB mic is Gigaware, RadioShack's generic brand.

Thanks.

d58e7
May 29th, 2008, 04:25 AM
I'm not sure how to resolve this but I get this


(Reading database ... 123921 files and directories currently installed.)
Unpacking oss-linux (from oss-linux_v4.0-1015_amd64.deb) ...
Setting up oss-linux (v4.0-1015) ...
Building OSS Modules for Linux-unknown 2.6.24-12-generic

OSS build environment set up for REGPARM kernels


Warning: Cannot locate the Linux kernel development package for
Linux kernel version 2.6.24-12-generic
Please install the kernel development package if linking the
OSS modules fails.

The kernel development package may be called kernel-devel, kernel-smp-devel,
kernel-sources, kernel-headers or something like that. Please refer
to the documentation of your Linux distribution if there are any
difficulties in installing the kernel/driver development environment.

For your Linux distribution the right kernel source package
might be kernel-source.

Under Ubuntu you may need to prepare the kernel environment
after downloading the kernel sources using

sudo apt-get install linux-headers-2.6.24-12-generic
cd /usr/src/linux-headers-2.6.24-12-generic/
sudo make prepare
sudo make prepare scripts

Building module osscore
Failed to compile OSS
make -C /lib/modules/2.6.24-12-generic/build M=/usr/lib/oss/build modules
make: *** /lib/modules/2.6.24-12-generic/build: No such file or directory. Stop.
make: *** [default] Error 2
Starting Open Sound System
Relinking OSS kernel modules for "2.6.24-12-generic SMP mod_unload "
This may take few moments - please stand by...

OSS build environment set up for REGPARM kernels


Warning: Cannot locate the Linux kernel development package for
Linux kernel version 2.6.24-12-generic
Please install the kernel development package if linking the
OSS modules fails.

The kernel development package may be called kernel-devel, kernel-smp-devel,
kernel-sources, kernel-headers or something like that. Please refer
to the documentation of your Linux distribution if there are any
difficulties in installing the kernel/driver development environment.

For your Linux distribution the right kernel source package
might be kernel-source.

Under Ubuntu you may need to prepare the kernel environment
after downloading the kernel sources using

sudo apt-get install linux-headers-2.6.24-12-generic
cd /usr/src/linux-headers-2.6.24-12-generic/
sudo make prepare
sudo make prepare scripts

Building module osscore
Failed to compile OSS
make -C /lib/modules/2.6.24-12-generic/build M=/usr/lib/oss/build modules
make: *** /lib/modules/2.6.24-12-generic/build: No such file or directory. Stop.
make: *** [default] Error 2

Relinking the OSS kernel modules failed


I have tried sudo apt-get install linux-headers-2.6.24-12-generic but I get the following.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-2.6.24-12-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package linux-headers-2.6.24-12-generic has no installation candidate

Temüjin
May 29th, 2008, 04:42 AM
The latest ubuntu amd64 kernel is 2.6.24-17. You can retrieve it and the headers with

sudo apt-get install linux-generic linux-headers-2.6.24-17-generic

d58e7
May 29th, 2008, 04:55 AM
Tried that and it didn't do anything I got this


Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-generic is already the newest version.
linux-headers-2.6.24-17-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Temüjin
May 29th, 2008, 05:11 AM
Are you booting off of that kernel? Post your /boot/grub/menu.lst

Deverell
May 29th, 2008, 08:59 AM
Hello,

I'm having trouble with instruction number six. This is what I'm getting.


sean@sean-desktop:~/Desktop$ sudo dpkg -i oss-linux_v4.0-1015_amd64.deb
[sudo] password for sean:
(Reading database ... 109150 files and directories currently installed.)
Preparing to replace oss-linux v4.0-1015 (using oss-linux_v4.0-1015_amd64.deb) ...
sh: Can't open /usr/lib/oss/scripts/restore_drv.sh
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
sh: Can't open /usr/lib/oss/scripts/restore_drv.sh
dpkg: error processing oss-linux_v4.0-1015_amd64.deb (--install):
subprocess new pre-removal script returned error exit status 2
Building OSS Modules for Linux-unknown 2.6.24-16-generic
cd: 3: can't cd to /usr/lib/oss/build
sh: Can't open install.sh
Starting Open Sound System
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/lib/oss/etc/devices.list: No such file or directory
No /usr/lib/oss/etc/installed_drivers - cannot continue
Errors were encountered while processing:
oss-linux_v4.0-1015_amd64.deb


Any help or advice would be much appreciated.
Thanks,
Dev

I'm running Hardy Heron 64 as I have an AMD 64 processor.

bm13084
May 30th, 2008, 01:25 AM
this didn't work from the blacklisting step on... i would like to either go back, or figure out why this didnt work. either or....

goofeyfoot
May 30th, 2008, 01:29 AM
Thanks for the guide gents.

Unfortunately I couldn't get it to work.

Here is the chronology.

First I had ALSA and no sound on a Creative X-Fi Card.

Then I did the OSS guide thing and I got some sound but not very good. Some crackling in games.

So then I saw a post about the Creative Beta driver and I tried to install that and got about halfway and a bunch of errors.

Then I said "to heck with all this" and tried to go back to OSS (ie the only thing that ever came close to working, again using the guide.

This time when I got to the part about putting in the OSS package thing I got a bunch of errors that looks to my layman's eye as being a conflicting driver. Here is a quote of the error:

Detected Creative SB X-Fi (EARLY BETA)
Detected Generic USB audio device (BETA)
Detected OSS Transparent Virtual Mixing Architecture
-----------------------------

Starting Open Sound System
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
Failed to disable conflicting sound drivers
Reboot and try running soundon again

Also check that you have not compiled sound support statically
into the kernel.

michael@michael-desktop:~$ sudo soundon
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
Failed to disable conflicting sound drivers
Reboot and try running soundon again

Also check that you have not compiled sound support statically
into the kernel.
michael@michael-desktop:~$

Yeah right, like I even have a clue what all that means.

So gents, how do I get past this? I can't seem to uninstall the darn Creative Beta driver, at least not in the thin explanation they give you as to how to do that.

Any ideas would be greatly appreciated. Any sound is better than silence.

Thanks.

Michael

Temüjin
May 30th, 2008, 01:44 AM
Sorry folks, I had a few typos on the blacklisting command. /etc/modprobe.d/ turned out to be etc/modrpobe.d

Try it again and thanks for the help/feedback.

goofeyfoot
May 30th, 2008, 02:10 AM
Does anyone have an answer to my post which is number 117?

Thanks.

Michael

Temüjin
May 30th, 2008, 02:50 AM
Does anyone have an answer to my post which is number 117?

Thanks.

Michael
Yes, read post 118

maxfiles
May 30th, 2008, 07:14 AM
put your updates in the original post as to solve problems.

and now I want to revert.

Deverell
May 30th, 2008, 11:24 AM
Ok I replaced the spelling mistake on the blacklist command and I get this.


sean@sean-desktop:~$ sudo cat /lib/linux-sound-base/noALSAmodprobe.conf >> /etc/modrpobe.d/blacklist
bash: /etc/modrpobe.d/blacklist: No such file or directory


I know I'm a pain. I'm sorry, again to emphasize I'm new to Linux.

qwertM3
May 30th, 2008, 01:26 PM
This command has failed (twice) on me as well:
1. if I remember correctly it should be "noALSA.modprobe.conf"
2. I was not able to append to "/etc/modrpobe.d/blacklist". I just copied content of "noALSA.modprobe.conf" and added to the end of "etc/modrpobe.d/blacklist".

Check with "cat /etc/modrpobe.d/blacklist" afterwards.

br, qwertM3.

Temüjin
May 30th, 2008, 01:36 PM
put your updates in the original post as to solve problems.
I updated the guide yesterday and fixed the command. (You're welcome)

goofeyfoot
May 30th, 2008, 01:43 PM
Temujjin:

I tried that right off, but it didn't do anything. I used it with your "blacklist" code.

Here's what came back to me:

michael@michael-desktop:~$ sudo cat /lib/linux-sound-base/noALSAmodprobe.conf >> /etc/mobprobe.d/blacklist
bash: /etc/mobprobe.d/blacklist: No such file or directory
michael@michael-desktop:~$


Thanks.

Michael

Temüjin
May 30th, 2008, 02:28 PM
I suck at typing.
mobprobe.d ---> modprobe.d
Fixed. Sorry.

aashay
May 30th, 2008, 04:31 PM
OSS has been working great on my laptop. Does things ALSA cannot. The only problem is suspend. After I suspend and resume, everything audio related (vids, flash vids, songs etc)starts to lag and eventually stops after 3-4 secs. I need to manually soundoff and soundon (after closing any process that is using OSS, including Firefox, which can be a drag) to make things normal again. Is there a better way to do this?
Edit: Same thing with resuming from hibernate
Heres what dmesg fills in with whenever I play for example a video (keeps repeating)

[ 182.617260] osscore: Output timed out on audio engine 11/'HD Audio speaker (VMIX0)' (count=0)
[ 182.757222] osscore: Output timed out (sync) on audio engine 11
Heres what I get when I soundoff (also keeps repeating till the thing is done)

SNDCTL_MIX_READ: Input/output error
SNDCTL_MIX_READ: Input/output error

goofeyfoot
May 30th, 2008, 09:38 PM
I know it sounds stupid but I cannot get this blacklist thing to work.

Here is what I get.

sudo cat /lib/linux-sound-base/noALSAmodprobe.conf >> /etc/modprobe.d/blacklist
bash: /etc/modprobe.d/blacklist: Permission denied
michael@michael-desktop:~$

And here is an error I get with another command.

michael@michael-desktop:~$ sudo dpkg -i oss-linux_v4.0-1015_i386.deb
[sudo] password for michael:
(Reading database ... 129033 files and directories currently installed.)
Preparing to replace oss-linux v4.0-1015 (using oss-linux_v4.0-1015_i386.deb) ...
sh: Can't open /usr/lib/oss/scripts/restore_drv.sh
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
sh: Can't open /usr/lib/oss/scripts/restore_drv.sh
dpkg: error processing oss-linux_v4.0-1015_i386.deb (--install):
subprocess new pre-removal script returned error exit status 2
Building OSS Modules for Linux-unknown 2.6.22-14-generic
cd: 3: can't cd to /usr/lib/oss/build
sh: Can't open install.sh
Starting Open Sound System
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/lib/oss/etc/devices.list: No such file or directory
No /usr/lib/oss/etc/installed_drivers - cannot continue
Errors were encountered while processing:
oss-linux_v4.0-1015_i386.deb
michael@michael-desktop:~$



Will someone please look at this and tell me what is wrong?

Thanks.

Michael

goofeyfoot
May 30th, 2008, 10:15 PM
And to make things worse I did the "recover from failed OSS installation thing and tried it again.

Here are the errors I got this time.

Can someone please look at this and let me know how I can clean up this horror show?

Thanks.

Michael

michael@michael-desktop:~$ sudo dpkg -i oss-linux_v4.0-1015_i386.deb
Selecting previously deselected package oss-linux.
(Reading database ... 128757 files and directories currently installed.)
Unpacking oss-linux (from oss-linux_v4.0-1015_i386.deb) ...
Setting up oss-linux (v4.0-1015) ...
Building OSS Modules for Linux-unknown 2.6.22-14-generic

OSS build environment set up for REGPARM kernels

Building module osscore
Building module ali5455
Building module allegro
Building module als300
Building module als4000
Building module apci97
Building module atiaudio
Building module audigyls
Building module audioloop
Building module audiopci
Building module cmi8788
Building module cmpci
Building module cs4280
Building module cs4281
Building module digi32
Building module digi96
Building module emu10k1x
Building module envy24
Building module envy24ht
Building module fm801
Building module geode
Building module hdaudio
Building module hdsp
Building module ich
Building module imux
Building module lynxone
Building module lynxtwo
Building module maestro
Building module neomagic
Building module ossusb
Building module riptide
Building module s3vibes
Building module sblive
Building module sbxfi
Building module softoss
Building module solo
Building module sonorus
Building module trident
Building module via8233
Building module via97
Building module vmix
Building module vortex
Building module ymf7xx
depmod -a
-----------------------------
Detected Creative SB X-Fi (EARLY BETA)
Detected Generic USB audio device (BETA)
Detected OSS Transparent Virtual Mixing Architecture
-----------------------------

Starting Open Sound System
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
ERROR: Module snd_pcm is in use by ctalsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
Failed to disable conflicting sound drivers
Reboot and try running soundon again

Also check that you have not compiled sound support statically
into the kernel.

michael@michael-desktop:~$

Temüjin
May 31st, 2008, 07:50 PM
For those using the latest code via Mercurial: Is anyone else having problems with ossxmix not displaying the rate lock checkbox or the rate menu? Try starting ossxmix via the terminal (no root permissions needed):

ossxmix
I'm getting the following output:

dan@harvest:/dev$ ossxmix
Control 14/rate: Parent(2)==NULL

(ossxmix:20565): Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_BOX (box)' failed
Control 15/sync: Parent(2)==NULL

(ossxmix:20565): Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_BOX (box)' failed
Control 16/src: Parent(2)==NULL

(ossxmix:20565): Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_BOX (box)' failed
Control 17/ratelock: Parent(2)==NULL

(ossxmix:20565): Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_BOX (box)' failed
Control 18/actrate: Parent(2)==NULL

(ossxmix:20565): Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_BOX (box)' failed

And the options don't appear in ossxmix (screenshot):

dawynn
June 3rd, 2008, 02:00 PM
A few notes:

Zsnes in Hardy. zsnes -ad 'oss' does not work. Oh, zsnes still runs, but without sound. zsnes -ad 'esd' is no better. However, the following command worked for me:
zsnes -ad 'sdl'
The sound seemed slightly sluggish, but it did work.

Edit: Above comment refers to zsnes from Ubuntu repositories. I assume that zsnes downloaded from the official website and recompiled from source does not have restrictions that block out support for oss and esd.

Other problems. If you can't get the blacklist command to work, do what I did: look at the intent of the command and do it yourself. Look in /lib/linux-sound-base/. (Not at my Linux box right now, so I'm going off of memory) The filename is not noALSAmodprobe.conf, but that's close enough. Do an 'ls' command to see the real filename. Open up that file, copy everything in there. Now, open up /etc/modprobe.d/blacklist in sudo mode and paste everything at the end. Suggestion: Add a comment prior to pasting so, if you want to back out your changes, you can.

Finally -- I tried OSS. I really did. To me, sounds sounded crisper than with ALSA. I was ready to keep using OSS. Then things started fighting me. pSX (Playstation emulator) must have ALSA in order to run. Now, there are adaptors so that oss-only programs can be run through ALSA, but the opposite does not exist yet. One is in development, but may be scratched. And since OSS had been marked deprecated for so long, there are several programs that really believed it to be dead and gone. Meaning: no support for these programs under an OSS-only system. Not good.

Then Audacity went flaky. It kept working even after a few restarts, then finally started failing. Turns out OSS does not always restore everything correctly after a restart. The user must continue to check after each restart that OSS actually started. Well, that kinda sucks.

That's when I found this. Use your best judgement:
http://cinnamonpirate.com/blog/480/

End result: If ALSA works with your card, you're best off sticking with ALSA as long as you're using Ubuntu. If need be, switch to the ubuntu-studio kernel for lower latency. But OSS still is not the best solution for general use.

In order to change back to ALSA -- undo what you did. Reinstall ubuntu-desktop. Strip off every package that supports oss and esound/esd. Switch to ALSA or Pulseaudio modules to replace these. (Keep alsa-oss and oss-compat) (esd would not be so bad since it can work with ALSA. If using Kubuntu -- arts is acceptable. But -- as noted in the blog I listed -- esd and arts only support gnome and KDE respectively. ALSA / pulseaudio supports the whole system) dpkg-reconfigure your Linux sound again (see the original guide) only this time -- choose ALSA, and manually change any system or program-specific settings back to ALSA or Pulseaudio (or ARTS / esd if you wish). May have to reboot after reinstalling ALSA, but make sure to strip oss-linux package off of your system.

Cheers!

sleepydada
June 4th, 2008, 08:35 PM
I want help!!!


I am Chinese not very good at English..

I have no sound in Ubuntu 8.04 on Asus z99.

It uses nVidia Corporation MCP67 High Definition Audio (rev a1)
ALC660-VD..

I want to clean ALSA completely.

AND use OSS4.

so what I should do...

sleepydada
June 4th, 2008, 09:11 PM
sleep@sleep-laptop:~/桌面$ sudo dpkg -i oss-linux_v4.0-1015_amd64.deb
选中了曾被取消选择的软件包 oss-linux。
(正在读取数据库 ... 系统当前总共安装有 122674 个文件和目录。)
正在解压缩 oss-linux (从 oss-linux_v4.0-1015_amd64.deb) ...
正在设置 oss-linux (v4.0-1015) ...
Building OSS Modules for Linux-unknown 2.6.24-17-generic

OSS build environment set up for REGPARM kernels

Building module osscore
Building module ali5455
Building module allegro
Building module als300
Building module als4000
Building module apci97
Building module atiaudio
Building module audigyls
Building module audioloop
Building module audiopci
Building module cmi8788
Building module cmpci
Building module cs4280
Building module cs4281
Building module digi32
Building module digi96
Building module emu10k1x
Building module envy24
Building module envy24ht
Building module fm801
Building module geode
Building module hdaudio
Building module hdsp
Building module ich
Building module imux
Building module lynxone
Building module lynxtwo
Building module maestro
Building module neomagic
Building module ossusb
Building module riptide
Building module s3vibes
Building module sblive
Building module sbxfi
Building module softoss
Building module solo
Building module sonorus
Building module trident
Building module via8233
Building module via97
Building module vmix
Building module vortex
Building module ymf7xx
depmod -a
-----------------------------
Detected Nvidia High Definition Audio (MCP67)
Detected Generic USB audio device (BETA)
Detected OSS Transparent Virtual Mixing Architecture
-----------------------------

Starting Open Sound System
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
ERROR: Module snd_hda_intel is in use
ERROR: Module snd_pcm is in use by snd_hda_intel
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_hda_intel,snd_pcm
ERROR: Module snd_hwdep is in use by snd_hda_intel
Failed to disable conflicting sound drivers
Reboot and try running soundon again

Also check that you have not compiled sound support statically
into the kernel.

sleepydada
June 4th, 2008, 10:36 PM
I used the blacklist,but maybe it is not work...

how can I rmmod snd?


sleep@sleep-laptop:~/oss41build$ lsmod
Module Size Used by
ipv6 311720 10
af_packet 27272 2
rfcomm 47392 2
l2cap 28800 13 rfcomm
bluetooth 67748 4 rfcomm,l2cap
ppdev 11400 0
powernow_k8 16608 1
cpufreq_powersave 3200 0
cpufreq_userspace 6180 0
cpufreq_stats 8416 0
cpufreq_conservative 10632 0
cpufreq_ondemand 11152 1
freq_table 6464 3 powernow_k8,cpufreq_stats,cpufreq_ondemand
container 6656 0
dock 12960 0
sbs 17808 0
sbshc 8960 1 sbs
iptable_filter 4608 0
ip_tables 24104 1 iptable_filter
x_tables 23560 1 ip_tables
sbp2 27272 0
parport_pc 41128 0
lp 14916 0
parport 44300 3 ppdev,parport_pc,lp
joydev 15488 0
ath_pci 107824 0
nvidia 8858052 36
wlan 227104 1 ath_pci
i2c_core 28544 1 nvidia
ath_hal 219888 1 ath_pci
evdev 14976 7
video 23444 0
output 5632 1 video
battery 16776 0
ac 8328 0
serio_raw 9092 0
sdhci 21508 0
ricoh_mmc 5120 0
psmouse 46236 0
mmc_core 59272 1 sdhci
asus_laptop 22492 0
snd_hda_intel 440408 1
led_class 7176 1 asus_laptop
button 10912 0
snd_pcm 92168 1 snd_hda_intel
snd_timer 27912 1 snd_pcm
snd_page_alloc 13200 2 snd_hda_intel,snd_pcm
snd_hwdep 12552 1 snd_hda_intel
snd 70856 6 snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore 10400 1 snd
shpchp 38172 0
pci_hotplug 34608 1 shpchp
k8temp 7680 0
pcspkr 4992 0
ext3 149264 1
jbd 57000 1 ext3
mbcache 11392 1 ext3
loop 21508 2
sd_mod 33280 2
sg 41880 0
sr_mod 20132 0
cdrom 41512 1 sr_mod
ahci 33028 1
usbhid 35168 0
hid 44992 1 usbhid
ata_generic 9988 0
pata_amd 16772 0
ohci1394 36532 0
forcedeth 55564 0
ieee1394 106968 2 sbp2,ohci1394
pata_acpi 9856 0
libata 176304 4 ahci,ata_generic,pata_amd,pata_acpi
scsi_mod 178488 5 sbp2,sd_mod,sg,sr_mod,libata
ehci_hcd 41996 0
ohci_hcd 27524 0
usbcore 169904 4 usbhid,ehci_hcd,ohci_hcd
thermal 19744 0
processor 41448 2 powernow_k8,thermal
fan 6792 0
fbcon 46336 0
tileblit 4096 1 fbcon
font 10112 1 fbcon
bitblit 7424 1 fbcon
softcursor 3712 1 bitblit
fuse 56112 5

sleepydada
June 4th, 2008, 10:55 PM
Thank you very much !!!!!!

Finally, I heard sound....

I found the problem is in the file "/lib/linux-sound-base/noALSA.modprobe.conf"



...
blacklist snd-gus-lib
blacklist snd-gusmax
blacklist snd-gus-synth
blacklist snd-harmony
blacklist snd-hdaintel------should be change-->blacklist snd-hda-intel
blacklist snd-hdsp
blacklist snd-hdspm
blacklist snd-hwdep
blacklist snd-i2c
...



thank you..

Temüjin
June 5th, 2008, 01:40 AM
Yes, they keep changing the module names. My apologies, but I've been very busy over the past few days:

blacklist snd_hda_intel
blacklist snd_mixer_oss
blacklist snd_pcm
blacklist snd_timer
blacklist snd_page_alloc
blacklist snd_hwdep
blacklist snd
blacklist soundcore

Draylorre
June 5th, 2008, 02:31 AM
Main reason I went to OSS is because I was sittin' there, playing music, adjusted the sound via the audio panel and the ALSA drivers just crapped out. Dunno how or why, but whatever.

Also, one major problem for the original poster before I begin


sudo chmod 774 /etc/modprobe.d/blacklist
sudo cat /lib/linux-sound-base/noALSAmodprobe.conf >> /etc/modprobe.d/blacklist

Change that to
"noALSA.modprobe.conf"[/QUOTE] instead of [QUOTE]"noALSAmodprobe.conf"

I'm using an ASUS Xonar D2. Installed everything, had to log off and log back on because soundon didn't initialize when I did the package, but sound is now on when I boot up. First problem: No sound.

ossdetect -v

Detected CMedia CMI8788
Detected Generic USB audio device (BETA)
Detected OSS Transparent Virtual Mixing Architecture


ossinfo

Version info: OSS 4.0 (b1015/200803240256) (0x00040003)
Platform: Linux/i686 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008 (SHELL)

Number of audio devices: 3
Number of audio engines: 12
Number of mixer devices: 3


Device objects
0: osscore0 OSS core services
1: cmi87880 CMedia CMI8788 interrupts=1031607 (1031609)
2: ossusb0 USB audio core services
3: usb05560001-0 USB sound device
4: usb05560001-1 USB sound device
5: vmix0 OSS transparent virtual mixer


Mixer devices
0: CMedia CMI8788 (Mixer 0 of device object 1)
1: AC97 Input Mixer (CMI9780) (Mixer 1 of device object 1)
2: USB sound device (Mixer 0 of device object 3)

Audio devices
CMedia CMI8788 (MultiChannel) /dev/oss/cmi87880/pcm0 (device index 0)
CMedia CMI8788 (SPDIF) /dev/oss/cmi87880/pcm1 (device index 1)
USB sound device rec /dev/oss/usb05560001-1/pcmin0 (device index 2)

Please ignore this post and see my newest post later in this thread.

pkeno666
June 5th, 2008, 07:51 AM
Installing OSS 4.0 From a .deb package

Check to see if your device is supported by OSS:
The official and outdated list can be found at http://manuals.opensound.com/devlists/Linux.html
(Ignore the old references to retail drivers; it's all free now)
I've also attached the device list from the latest build (4.0-1015) so double-check that if you don't see your card on the site's list.

Go here:http://www.4front-tech.com/download.cgi
Get the Linux 2.6 DEB package for your architecture (use x86 unless you have the amd64 Ubuntu) and save it to your home folder (i.e. the ~/ directory)

0. Get necessary packages

sudo apt-get install gcc gcc-4.2 gcc-4.2-base make build-essential binutils linux-headers-`uname -r` libssl-dev libssl0.9.8
1. If you want the ability to hear system sounds, install ESD (Enlightened Sound Daemon) with the commands below. Note that this will remove libesd-alsa0 if installed. Remember to reinstall that package if you ever switch back to ALSA for some reason.

sudo apt-get install esound esound-clients esound-common libesd0 libesd0-dev gstreamer0.10-esd
2. Blacklist ALSA modules

sudo chmod 774 /etc/modprobe.d/blacklist
sudo cat /lib/linux-sound-base/noALSAmodprobe.conf >> /etc/modprobe.d/blacklist
3. Configure linux-sound-base package (sudo apt-get install linux-sound-base if it is not already)

sudo dpkg-reconfigure linux-sound-base
Press [Enter] to say OK and use the down-arrow to select 'OSS' on the next menu. Press the Tab key and [Enter] to say OK, and you'll be back at the terminal.
4. Restart the system
5. (Optional) Remove ALSA. This may cause the package manager to ask to remove a lot of critical packages, depending on whether you've done a clean install or upgraded from a previous Ubuntu release. If so, press 'N' and go to step 6. I am not sure about the ubuntu-desktop package. I have removed it and haven't had any issues, even when I upgraded from Gutsy 7.10. If you are unsure about removing that package or any others, skip this step:

sudo apt-get remove alsa-base alsa-oss oss-compat
6. Navigate to where you have the deb file saved (e.g. if it's your home dir, cd ~/ ). Note the name of the file will be oss-linux_v4.0-1015_amd64.deb if you downloaded that version

sudo dpkg -i oss-linux_v4.0-1015_i386.deb
sudo soundon
7. Add a new custom application launcher to the panel that runs the command: ossxmix - That's ossxmix, not ossmix, Name the launcher whatever you want and pick an icon. I named mine "Mixer" and chose /usr/share/icons/gnome/32x32/status/stock_volume-med.png as my icon.
8. You'll have to tell applications to use the OSS output plugin instead of ALSA. Some applications (like Audacious) have user-friendly controls for this. Others require command line input or configuring a text file. See: http://www.4front-tech.com/wiki/index.php/Configuring_Applications_for_OSSv4

If you're still not getting sound, see what the ossdetect -v and ossinfo commands give you.

ADDENDUM: Volume Control Patch The current gstreamer-based volume control in GNOME is incompatible with OSSv4, meaning your mouse wheel and media buttons won't work. To remedy the issue, try Clive Wright's patch (http://4front-tech.com/forum/viewtopic.php?t=2357&highlight=). I've also built and attached an AMD64 version to this post.
Also, if you'd prefer to map commands to your shortcut keys, here are some scripts to use (http://wiki.archlinux.org/index.php/OSS) (at the bottom of the page).

ADDENDUM2: Sound in Flash
1. Run:

file /usr/lib/libflashsupport.so
If this returns info on the file, skip ahead to step 4. If the file isn't found...
2. Save the attached libflashsupport.so.gz to your Desktop
3.
cd ~/Desktop; gunzip libflashsupport.so.gz; sudo mv libflashsupport.so /usr/lib
4. create symbolic links to /usr/lib/firefox/plugins & /usr/lib/mozilla/plugins:

sudo ln -s /usr/lib/libflashsupport.so /usr/lib/firefox/plugins; sudo ln -s /usr/lib/libflashsupport.so /usr/lib/mozilla/plugins

ADDENDUM3: Recovering From a Failed .deb Install
http://ubuntuforums.org/showpost.php?p=5055305&postcount=105

Thanks for the info. My Sound Blaster XFI is now working :guitar::guitar:

endor43
June 5th, 2008, 06:37 PM
ive done everything, changed the noALSA.modprobe.conf
and all the new module names, followed directions step by step, but it is not working, when it comes time to sudo dpkg -i oss-linux_v4.0-1015_i386.deb, it gives me an error and then erases everything in my /usr/lib/oss folder, which explains why it cant find the stuff its looking for but why does it do that in the first place? (i made a copy of the oss folder before it was deleted because ive formated like twice to get this thing to work, so i can paste it back if i need) the oss4 isnt working and i dont know why, ive tried all i know, i have a creative sb x-fi xtremegamer and as of now because of that error its not working

please help

error:


thomas@thomas-computer:~/Desktop$ sudo dpkg -i oss-linux_v4.0-1015_i386.deb
(Reading database ... 116855 files and directories currently installed.)
Preparing to replace oss-linux v4.0-1015 (using oss-linux_v4.0-1015_i386.deb) ...
OSS not loaded.
Unpacking replacement oss-linux ...
Setting up oss-linux (v4.0-1015) ...
Building OSS Modules for Linux-unknown 2.6.24-18-generic
cd: 3: can't cd to /usr/lib/oss/build
sh: Can't open install.sh
Starting Open Sound System
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/lib/oss/etc/devices.list: No such file or directory
No /usr/lib/oss/etc/installed_drivers - cannot continue

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

Draylorre
June 5th, 2008, 08:53 PM
So, I have an ASUS Xonar D2, and after trolling the other forums, I found that the Xonar isn't fully compatible with OSS. I found a thread where someone was able to get it working, however, after following the patching instructions and rebuilding the code several times (I was up until 5 AM doing this, although it was tons of fun for me :) ) I still couldn't get this to work.

If you have an ASUS Xonar D2, please check this thread located here.

http://www.4front-tech.com/forum/viewtopic.php?t=2666&postdays=0&postorder=asc&highlight=cmi8788&start=0

You may be able to get it work, but I'd recommend sticking with ALSA if you can wait for full OSS compatibility. :)


BTW, great thread and instructions. I found it pretty easy to follow despite the few spelling and typing errors. I'll definitely be looking to try OSS out again later in time, if not for the sole purpose of curiosity and breaking my Linux install. :twisted:

endor43
June 5th, 2008, 10:10 PM
ive done everything, changed the noALSA.modprobe.conf
and all the new module names, followed directions step by step, but it is not working, when it comes time to sudo dpkg -i oss-linux_v4.0-1015_i386.deb, it gives me an error and then erases everything in my /usr/lib/oss folder, which explains why it cant find the stuff its looking for but why does it do that in the first place? (i made a copy of the oss folder before it was deleted because ive formated like twice to get this thing to work, so i can paste it back if i need) the oss4 isnt working and i dont know why, ive tried all i know, i have a creative sb x-fi xtremegamer and as of now because of that error its not working

please help

error:


thomas@thomas-computer:~/Desktop$ sudo dpkg -i oss-linux_v4.0-1015_i386.deb
(Reading database ... 116855 files and directories currently installed.)
Preparing to replace oss-linux v4.0-1015 (using oss-linux_v4.0-1015_i386.deb) ...
OSS not loaded.
Unpacking replacement oss-linux ...
Setting up oss-linux (v4.0-1015) ...
Building OSS Modules for Linux-unknown 2.6.24-18-generic
cd: 3: can't cd to /usr/lib/oss/build
sh: Can't open install.sh
Starting Open Sound System
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/lib/oss/etc/devices.list: No such file or directory
No /usr/lib/oss/etc/installed_drivers - cannot continue

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

i dont have an ASUS Xonar D2 and switching to ALSA for my x-fi makes my computer crash on boot to ubuntu, i know this works because pkeno666 got it to work, i really need help, this is all thats keeping me from using ubuntu and why im still stuck on windows.

OpposingForce
June 6th, 2008, 03:18 PM
What exactly does black listing the ALSA modules do? It wouldn't let me do it anyway, said permission denied, and yes I used the chmod command that was posted on the guide. Anyway I continued without it and it still works. However the gstreamer patch you attached doesn't seem to have done anything though. Gnome sound applet still says

"No volume control GStreamer plugins and/or devices found."

which was the same as before I installed the patch.

endor43
June 6th, 2008, 04:58 PM
What exactly does black listing the ALSA modules do? It wouldn't let me do it anyway, said permission denied, and yes I used the chmod command that was posted on the guide. Anyway I continued without it and it still works. However the gstreamer patch you attached doesn't seem to have done anything though. Gnome sound applet still says

"No volume control GStreamer plugins and/or devices found."

which was the same as before I installed the patch.

you need to cd to the directory where this is ( i think /lib/linux-sound-base) and then

chmod a+rwx noALSA.modprobe.conf

to get the permission and make sure the blacklist says noALSA.modprobe.conf with a dot before modprobe.

Temüjin
June 6th, 2008, 10:50 PM
ALSA has released 1.0.17-rc1 today with no update to the X-fi drivers. I'm sure there are numerous updates to the hda-intel driver.
http://ubuntuforums.org/showpost.php?p=4298894&postcount=24 for scripts to install the latest ALSA driver

OpposingForce
June 7th, 2008, 03:41 AM
Guys not sure what's up, but I just did a clean install of Ubuntu because I just got a new 750 gb hard drive and replaced the old small one. I installed all my stuff again and followed this tutorial and everything is working perfectly. And OSS appears in the gnome sound applet. Exaile plays sound, totem doesn't crash on startup. Chocolate doom (a linux port of doom) plays midi without having to install timidity). I don't know what happened. but it works.

rv65
June 7th, 2008, 08:14 AM
So far I got the OSS4 driver to work. My big problem is the G-streamer integration. I use the AMD64 version on this Core2 Quad machine.


michael@michael-desktop:~/Desktop/stuff$ sudo gzip /usr/lib/gstreamer-0.10/libgstossaudio.so
gzip: /usr/lib/gstreamer-0.10/libgstossaudio.so: No such file or directory
michael@michael-desktop:~/Desktop/stuff$ mv libgstossaudio.so /usr/lib/gstreamer-0.10/
mv: cannot stat `libgstossaudio.so': No such file or directory


I basically get this when I try to install it. Any responses that help fix this problem would be great.

goofeyfoot
June 7th, 2008, 11:57 AM
I know it sounds stupid but I cannot get this blacklist thing to work.

Here is what I get.

sudo cat /lib/linux-sound-base/noALSAmodprobe.conf >> /etc/modprobe.d/blacklist
bash: /etc/modprobe.d/blacklist: Permission denied
michael@michael-desktop:~$

And here is an error I get with another command.

michael@michael-desktop:~$ sudo dpkg -i oss-linux_v4.0-1015_i386.deb
[sudo] password for michael:
(Reading database ... 129033 files and directories currently installed.)
Preparing to replace oss-linux v4.0-1015 (using oss-linux_v4.0-1015_i386.deb) ...
sh: Can't open /usr/lib/oss/scripts/restore_drv.sh
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
sh: Can't open /usr/lib/oss/scripts/restore_drv.sh
dpkg: error processing oss-linux_v4.0-1015_i386.deb (--install):
subprocess new pre-removal script returned error exit status 2
Building OSS Modules for Linux-unknown 2.6.22-14-generic
cd: 3: can't cd to /usr/lib/oss/build
sh: Can't open install.sh
Starting Open Sound System
cat: /usr/lib/oss/version.dat: No such file or directory
/usr/lib/oss/etc/devices.list: No such file or directory
No /usr/lib/oss/etc/installed_drivers - cannot continue
Errors were encountered while processing:
oss-linux_v4.0-1015_i386.deb
michael@michael-desktop:~$



Will someone please look at this and tell me what is wrong?

Thanks.

Michael

Does anyone have a solution for my problem which I posted last week?

I guess I am again going to have to blow out the whole system just for this one stupid problem.

Is there a way to clean up an install without starting all over again? Seems like kind of a waste just for sound.

Thanks.

Michael

Rhapsody
June 7th, 2008, 06:12 PM
Well, I've just followed the instructions now to the best of my ability, and it hasn't worked. No sound whatsoever.

OSS definitely seems to be installed. sudo soundon results in "OSS is already loaded.", my sound system in the KDE System Settings is "Open Sound System", Amarok is also set to "oss", ALSA has been removed, ossxmix seems to be properly configured, but nothing produces any sound.

Not that I didn't expect this. It's now been over 18 months since I've had a fully working sound system, and I'm slowly starting to think that I will never have one ever again. Linux developers apparently hate sound of all kinds.

endor43
June 7th, 2008, 07:58 PM
Does anyone have a solution for my problem which I posted last week?

I guess I am again going to have to blow out the whole system just for this one stupid problem.

Is there a way to clean up an install without starting all over again? Seems like kind of a waste just for sound.

Thanks.

Michael

hey, im having the same problem as your second one and i really would like to know how to fix it too, i posted the solution to your permission denied problem on POST 143, but i really would like oss to work so if anyone could help me and michael out that'd be great.

thanks

Cubby
June 9th, 2008, 06:44 PM
[SIZE="4"]

0. Get necessary packages

sudo apt-get install gcc gcc-4.2 gcc-4.2-base make build-essential binutils linux-headers-`uname -r` libssl-dev libssl0.9.8


Thanks for the great guide! It helped me get my CMI 8788 chipset 'Oxygen' card to output sound in LINUX Mint KDE Daryna.

I'm newbie at this sort of thing, so bear with me about my ignorance.
When one is doing the step 0. getting necessary packages, the one where you 'apt-get linux-headers- `uname -r`' has me stumped. Am I replacing my current kernel by doing this.
Today I reinstalled Mint KDE Daryna and synaptic shows the following in the list:
linux-generic not installed
linux-headers-2.5.22.14 upgradeable
linux-headers-2.5.22.14-386 not installed
linux-headers-2.5.22.14-generic upgradeable
linux-headers-386 not installed

so, I don't need to do apt-get linux-header (my version) as it's already installed, correct? Or do I need to install one of those in the above list that's not installed?

I only say this, as when I successfully installed OSS4 for my previous Mint KDE installation, when I did this command I had this output:

cat /usr/src/linux-headers-2.6.22-14-generic/include/linux/utsrelease.h
#define UTS_RELEASE "2.6.22.9"

that should have read:

cat /usr/src/linux-headers-2.6.22-14-generic/include/linux/utsrelease.h
#define UTS_RELEASE "2.6.22-14-generic"

eventually seawright's help showed how reinstall the header files. I'm not sure how my headers became corrupt. In my previous installation I did do a major recommended software package updates a few days before attempting to install oss4.
I'm just not sure if I have to do apt-get linux-headers as the one I need is already installed. I did it the last time and not sure if I needed to and if it caused any corrupt headers.

Right now, with my reinstallation of Linux Mint KDE, when I do the cat command, I get the correct output:
cat /usr/src/linux-headers-2.6.22-14-generic/include/linux/utsrelease.h
#define UTS_RELEASE "2.6.22-14-generic"

Thanks to anyone with an answer!

Temüjin
June 9th, 2008, 06:55 PM
I have revised the guide (specifically, the blacklisting procedure). Enjoy :popcorn:

OpposingForce
June 10th, 2008, 01:07 AM
Hey again just installed Swfdec flash player (I can't use the adobe flash player because it crashes too much, like half of all flash content the page loads crashes the browser randomly). The video plays but I don't get sound. I ran firefox through the terminal and noticed it was trying to load ALSA for some reason instead of OSS, even though OSS is selected in the gnome sound menu for everything. Here's the console output


cory@cory-desktop:~$ firefox
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
Unsupported movie property allowscriptaccess with value "always"
Unsupported movie property wmode with value "transparent"
unhandled event 19
Loading stream: http://www.youtube.com/swf/watch.swf?video_id=rOFGvaXeaJc&t=OEgsToPDskJjemsfxW6EPwY2kTZ8tVGI&l=211&hl=en
Unsupported movie property style with value ""
Unsupported movie property id with value "movie_player"
Unsupported movie property name with value "movie_player"
Unsupported movie property quality with value "high"
Unsupported movie property allowfullscreen with value "true"
Unsupported movie property allowscriptaccess with value "always"
unhandled event 19
Unsupported movie property style with value ""
Unsupported movie property id with value "checker"
Unsupported movie property name with value "checker"
Unsupported movie property quality with value "high"
Loading stream: http://s.ytimg.com/yt/swf/watch-vfl42309.swf
Loading stream: http://www.youtube.com/version-check.swf
Loading stream: http://ash-v259.ash.youtube.com/get_video?video_id=vwSiDUKJd0o&signature=A06A13D9ED0E85470C4D9A8C5AB31F12BECB7C2D .1A9B08FE99B11185ED778CE42E8F74EB298CED9D&ip=98.15.197.13&ipbits=16&expire=1213077945&key=yt1&sver=2
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
Failed to open sound device: No such file or directory
Loading stream: http://video-stats.video.google.com/s?ns=yt&plid=AARPRLASvOn4JWjFAAAAoAAQAAA&sourceid=y&sdetail=p%3A%2Fuser%2FLaddil&vid=R7jWVWcfHWbcWp5H09AH1AtoFPDkCtUaR&docid=vwSiDUKJd0o&el=detailpage&bc=134756&rt=1.6&st=0.133&fv=WIN%209%2C0%2C100%2C0&et=0.133&len=168.438


I googled all over the place and can't figure out how to setup swfdec with OSS, or OSS4. Alsa is also blacklisted like in the tutorial. If anyone can help thanks

anthony2010
June 10th, 2008, 01:17 AM
Hi.
Im so new to this I just copy and paste anything in desperation to get my sound back!

Mine is an nvidia on board sound card. Since an update about 3 weeks ago all my sound has gone. I tried everything above and converted to this alternative format. Unfortunately the only difference is where before I had no sound, I now get a message telling me I have no sound!!!(and still no sound)

I love the learning curve but Im truly stuck on this one. Any ideas?

Ant.

Cubby
June 10th, 2008, 04:40 PM
When one is doing the step 0. getting necessary packages, the one where you 'apt-get linux-headers- `uname -r`' has me stumped. Am I replacing my current kernel by doing this?
Today I reinstalled Mint KDE Daryna and synaptic shows the following in the list:
linux-generic not installed
linux-headers-2.5.22.14 upgradeable
linux-headers-2.5.22.14-386 not installed
linux-headers-2.5.22.14-generic upgradeable
linux-headers-386 not installed

so, I don't need to do apt-get linux-header (my version) as it's already installed, correct? Or do I need to install one of those in the above list that's not installed?


Still curious. I could go ahead and do the command, because I'm newbie at this. I'm just assuming the package is already installed because of what synaptic has in list (4th entry) as already installed. Just trying to avoid any corruption of kernel header. I don't know what I did in previous installation that corrupted my header. Trying to understand just what doing a apt-get install linux-header (uname -r) entails. Sounds major.

Thanks again for listing to me nag once more.

Lisa

janfsd
June 10th, 2008, 04:46 PM
Cubby, that command should install the headers of the kernel currently being used. You can try just uname -r and you will get the version of kernel. If you have the headers already installed, nothing will happen. You can have several versions without problems. Btw, I think is better to install linux-headers-generic, with that when a new kernel goes out, newer headers will be installed.


Temüjin what about making some ppa repos of oss4? It would easier for a lot of people, and maybe someday it will be included in Ubuntu. That for sure will increase the interest in oss4, since there isn't plans to push it into the kernel.

Cubby
June 10th, 2008, 04:58 PM
Since an update about 3 weeks ago all my sound has gone.


Hi Anthony,

I can't help you with this, but I asked at the OSS4 forum about the issue of "recommended software updates" via one's software manager - which ones should one avoid after installing OSS? I would assume ALSA, of course. The general answer was none to worry about.
Many folks lose sound after doing major updates even when using ALSA. Doing some of the following commands could help with their output given here.
If you still have ALSA installed, then maybe this guide will help, as some of the commands are specific to ALSA:
http://ubuntuforums.org/showthread.php?t=205449
Here are some oss terminal commands I've been using a lot lately. The blind leading the blind "wink". You might check with the OSS4 forum, 4Front Technologies.
in terminal:
ossmix
and
ossinfo
and
ossinfo -v3

janfsd
June 10th, 2008, 05:01 PM
Yes, I lose sound too for instance when upgrading the kernel, it seems that the alsa modules are loaded again, and oss can't load. Easy fix in my case:

sudo rmmod saa7134-alsa
I suppose I could blacklist that module...


Hi.
Im so new to this I just copy and paste anything in desperation to get my sound back!

Mine is an nvidia on board sound card. Since an update about 3 weeks ago all my sound has gone. I tried everything above and converted to this alternative format. Unfortunately the only difference is where before I had no sound, I now get a message telling me I have no sound!!!(and still no sound)

I love the learning curve but Im truly stuck on this one. Any ideas?

Ant.
Try in terminal

sudo soundon
And paste the output here.

janfsd
June 10th, 2008, 05:27 PM
Hey again just installed Swfdec flash player (I can't use the adobe flash player because it crashes too much, like half of all flash content the page loads crashes the browser randomly). The video plays but I don't get sound. I ran firefox through the terminal and noticed it was trying to load ALSA for some reason instead of OSS, even though OSS is selected in the gnome sound menu for everything. Here's the console output


cory@cory-desktop:~$ firefox
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
Unsupported movie property allowscriptaccess with value "always"
Unsupported movie property wmode with value "transparent"
unhandled event 19
Loading stream: http://www.youtube.com/swf/watch.swf?video_id=rOFGvaXeaJc&t=OEgsToPDskJjemsfxW6EPwY2kTZ8tVGI&l=211&hl=en
Unsupported movie property style with value ""
Unsupported movie property id with value "movie_player"
Unsupported movie property name with value "movie_player"
Unsupported movie property quality with value "high"
Unsupported movie property allowfullscreen with value "true"
Unsupported movie property allowscriptaccess with value "always"
unhandled event 19
Unsupported movie property style with value ""
Unsupported movie property id with value "checker"
Unsupported movie property name with value "checker"
Unsupported movie property quality with value "high"
Loading stream: http://s.ytimg.com/yt/swf/watch-vfl42309.swf
Loading stream: http://www.youtube.com/version-check.swf
Loading stream: http://ash-v259.ash.youtube.com/get_video?video_id=vwSiDUKJd0o&signature=A06A13D9ED0E85470C4D9A8C5AB31F12BECB7C2D .1A9B08FE99B11185ED778CE42E8F74EB298CED9D&ip=98.15.197.13&ipbits=16&expire=1213077945&key=yt1&sver=2
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
Failed to open sound device: No such file or directory
Loading stream: http://video-stats.video.google.com/s?ns=yt&plid=AARPRLASvOn4JWjFAAAAoAAQAAA&sourceid=y&sdetail=p%3A%2Fuser%2FLaddil&vid=R7jWVWcfHWbcWp5H09AH1AtoFPDkCtUaR&docid=vwSiDUKJd0o&el=detailpage&bc=134756&rt=1.6&st=0.133&fv=WIN%209%2C0%2C100%2C0&et=0.133&len=168.438


I googled all over the place and can't figure out how to setup swfdec with OSS, or OSS4. Alsa is also blacklisted like in the tutorial. If anyone can help thanks

I don't know about swfdec, but you could try flash 10 beta. It doesn't crash for me.
http://labs.adobe.com/technologies/flashplayer10/

Also, there is some kind of patch for libflashsupport for flash 9, I remember seeing something like that in launchpad...

Or you could try gnash.

Cubby
June 10th, 2008, 07:08 PM
Thank you, janfsd!

I went ahead with installation, and the only step I skipped this second time was the one where you remove alsa-base. Since it's a new install of LINUX Mint KDE, it didn't have the other alsa stuff installed. The reason I skipped this is it said it needed to remove ubuntu minimal, so I decided to avoid it.
I did
osstest
in terminal and boy, sounds great with my cmi8788 card.

I know this how to guide is written mainly for those that have gnome desktop. What I notice is that in both installs, I no longer had the kmix icon in the kicker panel. And, when I went to KDE>All Applications>System Settings>Sound & Multimedia> when I click on Sound System it wouldn't bring up it that menu.

cesium at oss4 forum said to do in terminal:
kcmshell arts
and this brought up this missing menu via terminal. Now I just have to figure out how to get this broken path fixed, otherwise I can use terminal command to bring it up, no problem. In Sound System, sound was set to open sound system.

This was readout in xsessions

startkde: Starting up...
startkde: kpersonalizer not found! Please install to properly configure your user.
kbuildsycoca running...
Reusing existing ksycoca
Could not open library kmixctrl.la: /usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
kmixctrl: relocation error: /usr/lib/libkdeinit_kmixctrl.so: symbol snd_mixer_free, version ALSA_0.9 not defined in file libasound.so.2 with link time reference
Could not open library kmix.la: /usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf

Xsession: X session started for fonk76wink3l at Tue Jun 10 11:59:28 CDT 2008
startkde: Starting up...
startkde: kpersonalizer not found! Please install to properly configure your user.
kbuildsycoca running...
Reusing existing ksycoca
Could not open library kmixctrl.la: /usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
kmixctrl: relocation error: /usr/lib/libkdeinit_kmixctrl.so: symbol snd_mixer_free, version ALSA_0.9 not defined in file libasound.so.2 with link time reference
Could not open library kmix.la: /usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf


******************** WARNING *******************************
Warning! kmix uses ALSA emulation instead of the native OSS API
************************************************** **************

kmix: relocation error: /usr/lib/libkdeinit_kmix.so: symbol snd_mixer_free, version ALSA_0.9 not defined in file libasound.so.2 with link time reference
DCOP aborting (delayed) call from 'anonymous-5574' to 'kmix'
ERROR: Communication problem with kmix, it probably crashed.
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/firefox/plugins/libjavaplugin.so: undefined symbol: NP_GetValue
nspluginscan: WARNING: Plugin doesn't implement NP_GetValue
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/firefox/plugins/libjavaplugin.so: undefined symbol: NP_GetMIMEDescription
Ignored duplicate item: KWiFiManager
Ignored duplicate item: Dictionary
Ignored duplicate item: KArm
Ignored duplicate item: Windows Wireless Drivers
Ignored duplicate item: mintInstall
Ignored duplicate item: mintAssistant
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/mozilla/plugins/libjavaplugin.so: undefined symbol: NP_GetValue
nspluginscan: WARNING: Plugin doesn't implement NP_GetValue
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/mozilla/plugins/libjavaplugin.so: undefined symbol: NP_GetMIMEDescription
kdecore (KProcess): WARNING: _attachPty() 13
Could not open library '/usr/lib/kde3/knotify.la'.
/usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
kbuildsycoca running...
Reusing existing ksycoca
Could not open library '/usr/lib/kde3/knotify.la'.
/usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
warnings.warn("apt API not stable yet", FutureWarning)
--11:59:47-- http://www.linuxmint.com/repository/rules
=> `rules'
Resolving www.linuxmint.com... failed: Name or service not known.
kbuildsycoca running...
Reusing existing ksycoca
kmenuedit: WARNING: Could not read /home/fonk76wink3l/.config/menus/applications-kmenuedit.menu
kbuildsycoca running...
Reusing existing ksycoca
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x260047f
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
Could not open library '/usr/lib/kde3/knotify.la'.
/usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
kwin: X_SetInputFocus(0x2600065): BadMatch (invalid parameter attributes)
kdecore (KProcess): WARNING: _attachPty() 11
Could not open library '/usr/lib/kde3/knotify.la'.
/usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
Opener: received SetSecret
Opener: received OpenLock

Opener: received OpenDevice
Opener: received ExecPPPDaemon
Kernel supports ppp alright.
In parent: pppd pid 5672
Couldn't find interface ppp0: No such device
Couldn't find interface ppp0: No such device
Opener: received OpenResolv
Opener: received RemoveSecret
Opener: received RemoveSecret
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
konsole: WARNING: Unable to use /usr/share/apps/konsole/sumc.desktop
konsole: WARNING: Unable to use /usr/share/apps/konsole/mc.desktop
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
Could not open library '/usr/lib/kde3/knotify.la'.
/usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2600065
Launched ok, pid = 5975
konqueror: WARNING: Profile Loading Error: No orientation specified in Container0
Launched ok, pid = 5982
konqueror: WARNING: Profile Loading Error: No orientation specified in Container0
Invalid entry (missing '=') at /etc/kde/share/apps/konqueror/servicemenus/konsolehere.desktop:80

I was able to bring back the kmix icon in kicker (which, by the way shows the correct mixer:cmedia cmi8788 ) by pre-loading the old lib as user according to this fellows suggestion for kmix:
http://ubuntuforums.org/archive/index.php/t-575521.html
edited to add that this needs to be done again upon restarting computer, unless there's a way to force it. I don't need kmix as I can use ossxmix.

endor43
June 10th, 2008, 07:23 PM
Installing OSS 4.0 From a .deb package


"4. Restart the system"


is this restart the computer or restart oss and if it is restart oss how should i do that?

thanks

Cubby
June 10th, 2008, 07:56 PM
endore43, it's restart your computer for that step in the procedure.

To restart OSS, you do as root in terminal:
soundoff

then as root in terminal:

soundon

but, for that installation step you restart your computer.

janfsd
June 10th, 2008, 08:00 PM
Thank you, janfsd!

I went ahead with installation, and the only step I skipped this second time was the one where you remove alsa-base. Since it's a new install of LINUX Mint KDE, it didn't have the other alsa stuff installed. The reason I skipped this is it said it needed to remove ubuntu minimal, so I decided to avoid it.
I did
osstest
in terminal and boy, sounds great with my cmi8788 card.

I know this how to guide is written mainly for those that have gnome desktop. What I notice is that in both installs, I no longer had the kmix icon in the kicker panel. And, when I went to KDE>All Applications>System Settings>Sound & Multimedia> when I click on Sound System it wouldn't bring up it that menu.

cesium at oss4 forum said to do in terminal:
kcmshell arts
and this brought up this missing menu via terminal. Now I just have to figure out how to get this broken path fixed, otherwise I can use terminal command to bring it up, no problem. In Sound System, sound was set to open sound system.

This was readout in xsessions

startkde: Starting up...
startkde: kpersonalizer not found! Please install to properly configure your user.
kbuildsycoca running...
Reusing existing ksycoca
Could not open library kmixctrl.la: /usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
kmixctrl: relocation error: /usr/lib/libkdeinit_kmixctrl.so: symbol snd_mixer_free, version ALSA_0.9 not defined in file libasound.so.2 with link time reference
Could not open library kmix.la: /usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf

Xsession: X session started for fonk76wink3l at Tue Jun 10 11:59:28 CDT 2008
startkde: Starting up...
startkde: kpersonalizer not found! Please install to properly configure your user.
kbuildsycoca running...
Reusing existing ksycoca
Could not open library kmixctrl.la: /usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
kmixctrl: relocation error: /usr/lib/libkdeinit_kmixctrl.so: symbol snd_mixer_free, version ALSA_0.9 not defined in file libasound.so.2 with link time reference
Could not open library kmix.la: /usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf


******************** WARNING *******************************
Warning! kmix uses ALSA emulation instead of the native OSS API
************************************************** **************

kmix: relocation error: /usr/lib/libkdeinit_kmix.so: symbol snd_mixer_free, version ALSA_0.9 not defined in file libasound.so.2 with link time reference
DCOP aborting (delayed) call from 'anonymous-5574' to 'kmix'
ERROR: Communication problem with kmix, it probably crashed.
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/firefox/plugins/libjavaplugin.so: undefined symbol: NP_GetValue
nspluginscan: WARNING: Plugin doesn't implement NP_GetValue
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/firefox/plugins/libjavaplugin.so: undefined symbol: NP_GetMIMEDescription
Ignored duplicate item: KWiFiManager
Ignored duplicate item: Dictionary
Ignored duplicate item: KArm
Ignored duplicate item: Windows Wireless Drivers
Ignored duplicate item: mintInstall
Ignored duplicate item: mintAssistant
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/mozilla/plugins/libjavaplugin.so: undefined symbol: NP_GetValue
nspluginscan: WARNING: Plugin doesn't implement NP_GetValue
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/mozilla/plugins/libjavaplugin.so: undefined symbol: NP_GetMIMEDescription
kdecore (KProcess): WARNING: _attachPty() 13
Could not open library '/usr/lib/kde3/knotify.la'.
/usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
kbuildsycoca running...
Reusing existing ksycoca
Could not open library '/usr/lib/kde3/knotify.la'.
/usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
warnings.warn("apt API not stable yet", FutureWarning)
--11:59:47-- http://www.linuxmint.com/repository/rules
=> `rules'
Resolving www.linuxmint.com... failed: Name or service not known.
kbuildsycoca running...
Reusing existing ksycoca
kmenuedit: WARNING: Could not read /home/fonk76wink3l/.config/menus/applications-kmenuedit.menu
kbuildsycoca running...
Reusing existing ksycoca
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x260047f
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
Could not open library '/usr/lib/kde3/knotify.la'.
/usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
kwin: X_SetInputFocus(0x2600065): BadMatch (invalid parameter attributes)
kdecore (KProcess): WARNING: _attachPty() 11
Could not open library '/usr/lib/kde3/knotify.la'.
/usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
Opener: received SetSecret
Opener: received OpenLock

Opener: received OpenDevice
Opener: received ExecPPPDaemon
Kernel supports ppp alright.
In parent: pppd pid 5672
Couldn't find interface ppp0: No such device
Couldn't find interface ppp0: No such device
Opener: received OpenResolv
Opener: received RemoveSecret
Opener: received RemoveSecret
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
konsole: WARNING: Unable to use /usr/share/apps/konsole/sumc.desktop
konsole: WARNING: Unable to use /usr/share/apps/konsole/mc.desktop
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
Could not open library '/usr/lib/kde3/knotify.la'.
/usr/lib/libasound.so.2: undefined symbol: midiparser_input_buf
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2a00065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2600065
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2600065
Launched ok, pid = 5975
konqueror: WARNING: Profile Loading Error: No orientation specified in Container0
Launched ok, pid = 5982
konqueror: WARNING: Profile Loading Error: No orientation specified in Container0
Invalid entry (missing '=') at /etc/kde/share/apps/konqueror/servicemenus/konsolehere.desktop:80

I was able to bring back the kmix icon in kicker (which, by the way shows the correct mixer:cmedia cmi8788 ) by pre-loading the old lib as user according to this fellows suggestion for kmix:
http://ubuntuforums.org/archive/index.php/t-575521.html
edited to add that this needs to be done again upon restarting computer, unless there's a way to force it. I don't need kmix as I can use ossxmix.

Try first point here:
http://www.opensound.com/wiki/index.php/Configuring_Applications_for_OSSv4

About removing ubuntu-minimal, it shouldn't cause any problems since it is a meta-package. So no need to worry about that.
In Hardy removing alsa-base doesn't remove ubuntu-minimal. But I think that in previous versions it removed that package. I think if it matters for you that kmix works you can try that last.

Killaspike
June 10th, 2008, 08:04 PM
I just downloaded Ubuntu today so I have no clue what im doing, first time using linux.

I got everything working and it works in the oss test.

But I cant get it working with the gnome interface. It wont recognize it when I go to sounds in system->preferences->sounds it wont show an option for oss.

I dont think I am installing the patch right or I dont know how...

Ive got the file "gstreamer-ossv4-amd64.tar.gz" but I dont know what to do with it or how to install it.

janfsd
June 10th, 2008, 08:06 PM
I just downloaded Ubuntu today so I have no clue what im doing, first time using linux.

I got everything working and it works in the oss test.

But I cant get it working with the gnome interface. It wont recognize it when I go to sounds in system->preferences->sounds it wont show an option for oss.

I dont think I am installing the patch right or I dont know how...

Ive got the file "gstreamer-ossv4-amd64.tar.gz" but I dont know what to do with it or how to install it.

Do you mean that the sound applet doesn't work?
To use that file, unpack it somewhere and inside that folder, open a terminal and type:

sudo gzip /usr/lib/gstreamer-0.10/libgstossaudio.so
sudo mv libgstossaudio.so /usr/lib/gstreamer-0.10/

Killaspike
June 10th, 2008, 08:09 PM
Do you mean that the sound applet doesn't work?

I dont know, whats the sound applet? :confused:

First time ever using Linux all these stuff is new to me.

janfsd
June 10th, 2008, 08:13 PM
But then, is there any problem? if osstest works and you hear sound, and if playing a songs works without problem, I think you shouldn't neet to worry about that it doesn't show in the menu.

The sound applet, is something like a volume control that is in your panel.

endor43
June 10th, 2008, 08:17 PM
ok! everything works up to this point followed all the directions in the tutorial for the fifth time and it installed no errors, soundon gives me no errors either. after i did that ossdetect and ossinfo detected my mixing/mixer devices (most importantly creative sb x-fi) but the volume control panel and sound menu in preferences did not, so i installed the patch for volume control and now it recognizes High Definition Audio STA9227X (oss mixer) which i thought would be good but when enabled it still plays no sound so then i gathered that the device that i was using had to be the creative sb x-fi not generic oss mixer and ossdetect/info detects it as


thomas@thomas-computer:~$ sudo ossinfo
Version info: OSS 4.0 (b1015/200803240256) (0x00040003)
Platform: Linux/i686 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008 (thomas-computer)

Number of audio devices: 10
Number of audio engines: 26
Number of mixer devices: 2


Device objects
0: osscore0 OSS core services
1: hdaudio0 nVidia HD Audio interrupts=345744 (347755)
HD Audio controller nVidia HD Audio
Vendor ID 0x10de0371
Subvendor ID 0x102801e1
Codec 0: STAC9227X (0x83847618/0x102801e1)
2: sbxfi0 Sound Blaster X-Fi (UAA)
PCI device 1102:0005, subdevice 1102:6002
3: ossusb0 USB audio core services
4: vmix0 OSS transparent virtual mixer


Mixer devices
0: High Definition Audio STAC9227X (Mixer 0 of device object 1)
1: Sound Blaster X-Fi (UAA) (Mixer 0 of device object 2)

Audio devices
HD Audio front /dev/oss/hdaudio0/pcm0 (device index 0)
HD Audio center/LFE /dev/oss/hdaudio0/pcm1 (device index 1)
HD Audio rear /dev/oss/hdaudio0/pcm2 (device index 2)
HD Audio side /dev/oss/hdaudio0/pcm3 (device index 3)
HD Audio spdif-out /dev/oss/hdaudio0/spdout0 (device index 4)
High Definition Audio rec1 /dev/oss/hdaudio0/pcmin0 (device index 5)
High Definition Audio rec2 /dev/oss/hdaudio0/pcmin1 (device index 6)
High Definition Audio rec3 /dev/oss/hdaudio0/pcmin2 (device index 7)
Sound Blaster X-Fi (UAA) output /dev/oss/sbxfi0/pcm0 (device index 8)
Sound Blaster X-Fi (UAA) input /dev/oss/sbxfi0/pcmin0 (device index 9)


but when i run osstest it gives me this at the bottom and no sound plays during any of this test(i dont know if that s normal or not, but look at error at bottom please)

thomas@thomas-computer:~$ sudo osstest
Sound subsystem and version: OSS 4.0 (b1015/200803240256) (0x00040003)
Platform: Linux/i686 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008

*** Scanning sound adapter #-1 ***
/dev/oss/hdaudio0/pcm0 (audio engine 0): HD Audio front
Note! Device is in use (by PID 0/VMIX) but will try anyway
- Performing audio playback test...
<left> OK <right>
OK <stereo> OK <measured srate 48010.00 Hz (0.02%)>
/dev/oss/hdaudio0/pcm1 (audio engine 1): HD Audio center/LFE
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 48000.00 Hz (0.00%)>
/dev/oss/hdaudio0/pcm2 (audio engine 2): HD Audio rear
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 48002.00 Hz (0.00%)>
/dev/oss/hdaudio0/pcm3 (audio engine 3): HD Audio side
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 48002.00 Hz (0.00%)>
/dev/oss/hdaudio0/spdout0 (audio engine 4): HD Audio spdif-out
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 48000.00 Hz (0.00%)>
/dev/oss/hdaudio0/pcmin0 (audio engine 5): High Definition Audio rec1
- Skipping input only device
/dev/oss/hdaudio0/pcmin1 (audio engine 6): High Definition Audio rec2
- Skipping input only device
/dev/oss/hdaudio0/pcmin2 (audio engine 7): High Definition Audio rec3
- Skipping input only device

*** Scanning sound adapter #1 ***
/dev/oss/sbxfi0/pcm0 (audio engine 8): Sound Blaster X-Fi (UAA) output
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/sbxfi0/pcmin0 (audio engine 9): Sound Blaster X-Fi (UAA) input
- Skipping input only device

*** Some errors were detected during the tests ***


sorry im not good at linux, i really need help

thank you


ps smilies are an 8 and then a ) "8 )" without the space in between, im not sure how to change that

Killaspike
June 10th, 2008, 08:17 PM
But then, is there any problem? if osstest works and you hear sound, and if playing a songs works without problem, I think you shouldn't neet to worry about that it doesn't show in the menu.

The sound applet, is something like a volume control that is in your panel.

The volume control doesnt work it shows it as muted.

And I cant hear any sound from any source except the osstest.

On the system->prefrences->sound page it doesnt show oss as an option.

Im thinking its because I didnt install "gstreamer-ossv4-amd64.tar.gz", because I dont know how to install it manually.

janfsd
June 10th, 2008, 08:22 PM
To use that file, unpack it somewhere for instance in the Desktop, just open it and extract it and in path you select Desktop. Open the terminal (aapplications, accesories, terminal)

cd ~/Desktop/gstreamer-ossv4
sudo gzip /usr/lib/gstreamer-0.10/libgstossaudio.so
sudo mv libgstossaudio.so /usr/lib/gstreamer-0.10/
If sound works in osstest, then in other applications it should work, what's the output of ossinfo?
Try too to shutdown pulseaudio, open system monitor (system, administration) and look for something like pulseaudio, right click and kill it.

Killaspike
June 10th, 2008, 08:28 PM
ryan@ryan-desktop:~$ cd ~/Desktop/gstreamer-ossv4
ryan@ryan-desktop:~/Desktop/gstreamer-ossv4$ sudo gzip /usr/lib/gstreamer-0.10/libgstossaudio.so
gzip: /usr/lib/gstreamer-0.10/libgstossaudio.so: No such file or directory
ryan@ryan-desktop:~/Desktop/gstreamer-ossv4$



thats what I get

janfsd
June 10th, 2008, 08:32 PM
ryan@ryan-desktop:~$ cd ~/Desktop/gstreamer-ossv4
ryan@ryan-desktop:~/Desktop/gstreamer-ossv4$ sudo gzip /usr/lib/gstreamer-0.10/libgstossaudio.so
gzip: /usr/lib/gstreamer-0.10/libgstossaudio.so: No such file or directory
ryan@ryan-desktop:~/Desktop/gstreamer-ossv4$



thats what I get
Install: gstreamer0.10-plugins-good
after proceed as I told you.
I forgot to add once you do all type at the end:

sudo ldconfig and logout and login.

Killaspike
June 10th, 2008, 08:32 PM
http://img413.imageshack.us/img413/4083/screenshotow4.png (http://imageshack.us)
http://img413.imageshack.us/img413/4083/screenshotow4.b85796bbb0.jpg (http://g.imageshack.us/g.php?h=413&i=screenshotow4.png)

janfsd
June 10th, 2008, 08:34 PM
ok! everything works up to this point followed all the directions in the tutorial for the fifth time and it installed no errors, soundon gives me no errors either. after i did that ossdetect and ossinfo detected my mixing/mixer devices (most importantly creative sb x-fi) but the volume control panel and sound menu in preferences did not, so i installed the patch for volume control and now it recognizes High Definition Audio STA9227X (oss mixer) which i thought would be good but when enabled it still plays no sound so then i gathered that the device that i was using had to be the creative sb x-fi not generic oss mixer and ossdetect/info detects it as



but when i run osstest it gives me this at the bottom and no sound plays during any of this test(i dont know if that s normal or not, but look at error at bottom please)


sorry im not good at linux, i really need help

thank you


ps smilies are an 8 and then a ) "8 )" without the space in between, im not sure how to change that

It seems that you have 2 cards available, have you tried to disable one of them in the BIOS?
Maybe this is related:
http://www.4front-tech.com/forum/viewtopic.php?t=2666&start=30&sid=1e82908659faf6524463da156d9a7d74
http://4front-tech.com/forum/viewtopic.php?p=9126&sid=9ec610bef6f9031df8f4c68b3ed1d466
Try this too (2nd point): http://www.opensound.com/wiki/index.php/Tips_And_Tricks#Changing_the_default_sound_output_ used_for_.2Fdev.2Fdsp


Killaspike are you sure that you have installed this: gstreamer0.10-plugins-good ?

Killaspike
June 10th, 2008, 08:49 PM
yes it is installed

still cant install gstreamer-ossv4-amd64.tar.gz though

janfsd
June 10th, 2008, 08:52 PM
Could you try: locate libgstossaudio.so
Or: ls -l /usr/lib/gstre*
And try to reinstall gstreamer0.10-plugins-good

Killaspike
June 10th, 2008, 08:57 PM
Could you try: locate libgstossaudio.so
Or: ls -l /usr/lib/gstre*
And try to reinstall gstreamer0.10-plugins-good

the first command line works the second doesnt

janfsd
June 10th, 2008, 08:58 PM
Does it show something?

Temüjin
June 10th, 2008, 09:59 PM
endor43, if you're not using your onboard audio, disable it in the BIOS, then:

sudo soundoff
sudo ossdetect -v
sudo soundon

Cubby, thanks for the help with kmix. I do not currently have a working Kubuntu install (I despise KDE), but I may try it again at some point in the future. If I understand this correctly, you're entering this command into the terminal every time you start your computer?

LD_PRELOAD=/usr/lib/libasound.so.2.0.0 kmix

endor43
June 10th, 2008, 10:07 PM
endor43, if you're not using your onboard audio, disable it in the BIOS, then:

sudo soundoff
sudo ossdetect -v
sudo soundon


i get this in terminal


thomas@thomas-computer:~$ sudo soundoff

Some applications are still using OSS - cannot unload

7056 /usr/lib/gnome-applets/mixer_applet2--oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory--oaf-ior-fd=22

Please stop these applications and run soundoff again

Temüjin
June 10th, 2008, 10:11 PM
endor43, log out. You can either log into a failsafe terminal session through the GNOME desktop manager/login screen or press Ctrl+Alt+F1 to drop to a text terminal. Run the commands again.

endor43
June 10th, 2008, 10:14 PM
ok i found the device that was preventing me from running soundon and i did what you said, Sound Blaster X-Fi (UAA) (oss mixer) is now the sound device, but it still plays no sound. after running osstest it gives me this message again.

thomas@thomas-computer:~$ sudo osstest
Sound subsystem and version: OSS 4.0 (b1015/200803240256) (0x00040003)
Platform: Linux/i686 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008

*** Scanning sound adapter #-1 ***
/dev/oss/sbxfi0/pcm0 (audio engine 0): Sound Blaster X-Fi (UAA) output
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/sbxfi0/pcmin0 (audio engine 1): Sound Blaster X-Fi (UAA) input
- Skipping input only device

*** Some errors were detected during the tests ***


please help
thanks

Temüjin
June 10th, 2008, 10:26 PM
endor43, at this point, I can only direct you to the OpenSound forums. http://www.4front-tech.com/forum/index.php

If you've recently purchased your X-fi, and are still able to return it, I suggest doing so and buying a Linux-friendly sound card based on the C-Media 8788 chipset. Envy24(HT) cards are good as well, but I do not like to support VIA because of their poor cooperation with open-source efforts.

endor43
June 10th, 2008, 10:32 PM
endor43, at this point, I can only direct you to the OpenSound forums. http://www.4front-tech.com/forum/index.php

If you've recently purchased your X-fi, and are still able to return it, I suggest doing so and buying a Linux-friendly sound card based on the C-Media 8788 chipset. Envy24(HT) cards are good as well, but I do not like to support VIA because of their poor cooperation with open-source efforts.

how is it that other Creative sb x-fi xtreme gamer owners have got it to work?

endor43
June 10th, 2008, 10:44 PM
I'm in the same boat. I have to keep my onboard sound enabled in the bios and disabled in windows, and a cable going from the onboard sound to my speaker's aux in to get sound in linux. :(

i found this here

http://ubuntuforums.org/showthread.php?t=665215

is this a viable soulution?, if so
how might i go about doing this?

thank you once again

janfsd
June 10th, 2008, 10:44 PM
Good reading from Hannu, one of the devolpers of OSS4
http://4front-tech.com/hannublog/?p=11
I just noticed that after a long period of not posting anything, he has already write 3 times in May...

Temüjin
June 10th, 2008, 10:45 PM
how is it that other Creative sb x-fi xtreme gamer owners have got it to work?
I'm not sure of the differences between X-fi's. Creative released a set of specifications to the developers (OSS and ALSA), and I assume they're still under an NDA (NonDisclosure Agreement).
The bottom line is that Creative does not support their hardware in the open-source community, and it is not a priority of the OSS developers to work on the drivers unless Creative starts funding such an endevour (don't hold your breath).

Cubby
June 10th, 2008, 11:07 PM
If I understand this correctly, you're entering this command into the terminal every time you start your computer?

LD_PRELOAD=/usr/lib/libasound.so.2.0.0 kmix

Yes, that is the command, given as user. Can't give command as root. Shows you how little I know about LINUX. But, I'm learning.

So far, it's working great, except for the broken path to kcmshell arts, but I can easily enter that command into terminal to bring up sound system module. In case it is if importance, I noticed that I could upgrade kcontrol. So, I did. It installed snort-rules-default, and upgraded kdm, konqueror, kdesktop, kdebase, kdebase-kio-plugins,
kfind, kcontrol. After it finished, I clicked on sound system under sound & multimedia, and lo-and-behold, it brough up sound system. Then, when I restarted computer, it was back to the way it was where when I click on 'sound system', it would not bring up the 'configure KDE control module'. So, it's something in x11 I suspect. I can still bring it up using terminal command, so no problem. Just curious and will look into this more as I like to try and solve things.

endor43, I had that message too "Some applications are still using OSS - cannot unload" when I had amarok player quick launch in kicker panel. I right clicked on amarok icon and selected quit, then tried again with soundoff.
Maybe you have a player in your quick launch panel?

anthony2010
June 10th, 2008, 11:09 PM
Hiya .

I typed:
'sudo soundon' in the terminal. It simply asked for my password and came back with 'command not found'

I think that also happenned when I tried the alternative to Alsa ( oss was it?) I followed the instructions to the letter.

Im not sure if this will provide a clue but I also notice that the system doesnt see the souncard. ( I dont know how I know that. Just stumbled upon it at some point!)

anthony2010
June 10th, 2008, 11:16 PM
Cubby.

Thanks to you too for taking the trouble to look into this. I am most grateful. I feel sure that this will be resolved in the forums due to the teamwork of people like yourself.

Thanks again.

Ant.

janfsd
June 11th, 2008, 12:04 AM
Hiya .

I typed:
'sudo soundon' in the terminal. It simply asked for my password and came back with 'command not found'

I think that also happenned when I tried the alternative to Alsa ( oss was it?) I followed the instructions to the letter.

Im not sure if this will provide a clue but I also notice that the system doesnt see the souncard. ( I dont know how I know that. Just stumbled upon it at some point!)

What is the output of ossinfo? is osstest working?

Temüjin
June 11th, 2008, 12:09 AM
Anthony, what kind of sound card do you have? Perhaps it is not seated correctly in the PCI slot or there is something wrong with the slot. Also, make sure the card/slot is not disabled in the BIOS.

Please make sure your sound card is inserted correctly and run:

sudo update-pciids
sudo lspci | grep dio

Killaspike
June 11th, 2008, 12:31 AM
Install: gstreamer0.10-plugins-good
after proceed as I told you.
I forgot to add once you do all type at the end:

sudo ldconfig and logout and login.

I tried this and reinstalled gstreamer0.10-plugins-good and it still gives me the "No such file or directory" prompt

I dont know what to do

It wont let me install "gstreamer-ossv4-amd64.tar.gz"

Cubby
June 11th, 2008, 05:24 AM
Im thinking its because I didnt install "gstreamer-ossv4-amd64.tar.gz", because I dont know how to install it manually.

I had to learn this over and over, too.

Since you are new to LINUX, you have to first point the terminal to where you have gstreamer-ossv4-amd64.tar.gz. Where is it located in your home folder. Is it on the desktop, or simply in your Home folder?

In KDE Mint, I have a folder in my home folder called Downloads, and that is where I save downloaded software or packages to be installed manually.

So, what I do in terminal to first point to the location of the file I want to install, as user I do the following command:
cd /home/(your user name entered here without parenthesis)/Downloads (exact name of file pasted here)

So, if I wanted to direct the terminal to a file called gstreamer-ossv4-amd64.tar.gz that I had saved in downloads folder, and my user name was john, I would do the following command:
cd /home/john/Downloads gstreamer-ossv4-amd64.tar.gz

I make sure that 'downloads' starts with a captital D, as that is how it is spelled in my home folder. You have to make sure the syntax is spot on and correct, or you'll get a 'file or directory not found' message.

If you do the above correctly, it will output with my example in terminal if you store your downloads in a file named Downloads:

john:~/Downloads$

and then you can do the commands to unpack the tar file. Or, a more familiar way if you are coming from Windows, no terminal commands needed, go to the file, right click on it, and choose to unzip here or 'extract here'. The folder that is produced is the one you will be installing. When it comes to installing via the terminal, you will still need to do change the directory as above to point the terminal to the file you are trying to install. If you did 'extract here' then you can open the file and read the "install" which will explain how to install it, whether you have to do ./configure, or make, and make install.

If I did a 'extract here' then the next thing to do would be open up terminal and as example:
cd /home/john/Downloads gstreamer-ossv4-amd64 (notice that it doesn't have the ending .tar.gz as you have unpacked it, like a winrar file.
Then enter
you'll then see the terminal is where the file is and you start the install commands, of whatever they are according to the "install" read-me file.

I hope this helps. It's late, and I'm tired, but tomorrow is another day for OSS and these new fangled high-end audio card. Hurray for OSS!

ressac
June 11th, 2008, 07:42 AM
hello everybody, driver OSS works and its great :))) i'am happy

but some app. like LAST.FM , xmms dont work, can anybody help me ?

jalada
June 11th, 2008, 06:12 PM
Just wanted to say that I switched from PulseAudio to ALSA, and then finally to OSSv4, in order to get MPD to work properly (with PulseAudio it skipped, with ALSA it caused large CPU usage that couldn't be fixed with the suggestions on the MPD Wiki). And it works brilliantly. Not only that, but Lord of the Rings Online under WINE also now has sound, Flash has sound, and Skype now works (using the details outlined on the OSSv4 Wiki (http://4front-tech.com/wiki/index.php/Configuring_Applications_for_OSSv4) and a bit of tweaking in the settings). Everything just works with OSSv4 - and I put that partly down to most things having SOME sort of legacy support for it.

But yeah, for those just starting to use OSSv4, this wiki article (http://4front-tech.com/wiki/index.php/Configuring_Applications_for_OSSv4) has lots of guides on getting applications to work. Very useful (just follow the instructions for Debian where applicable).

Temüjin
June 11th, 2008, 06:26 PM
ressac, I assume you followed the steps about configuring linux-sound-base and setting System -> Preferences -> Sound to OSS, so let's check the basics. Please post output of:

ossinfo
cd /dev; ls -la | grep dsp

ressac
June 11th, 2008, 06:37 PM
root@amigo:/home/ressac# ossinfo
Version info: OSS 4.0 (b1015/200803240256) (0x00040003)
Platform: Linux/i686 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008 (amigo)

Number of audio devices: 2
Number of audio engines: 10
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: sbxfi0 Sound Blaster X-Fi (SB046x/067x/076x) interrupts=908063 (908063)
PCI device 1102:0005, subdevice 1102:0021
2: ossusb0 USB audio core services
3: vmix0 OSS transparent virtual mixer


Mixer devices
0: Sound Blaster X-Fi (SB046x/067x/s (Mixer 0 of device object 1)

Audio devices
Sound Blaster X-Fi (SB046x/067x/076x) output /dev/oss/sbxfi0/pcm0 (device index 0)
Sound Blaster X-Fi (SB046x/067x/076x) input /dev/oss/sbxfi0/pcmin0 (device index 1)
root@amigo:/home/ressac# cd /dev; ls -la | grep dsp
lrwxrwxrwx 1 root root 20 2008-06-11 17:17 dsp -> /dev/oss/sbxfi0/pcm0
lrwxrwxrwx 1 root root 20 2008-06-11 17:17 dsp0 -> /dev/oss/sbxfi0/pcm0
lrwxrwxrwx 1 root root 22 2008-06-11 17:17 dsp1 -> /dev/oss/sbxfi0/pcmin0
lrwxrwxrwx 1 root root 8 2008-06-11 17:17 dsp_in -> /dev/dsp
lrwxrwxrwx 1 root root 20 2008-06-11 17:17 dsp_mmap -> /dev/oss/sbxfi0/pcm0
lrwxrwxrwx 1 root root 20 2008-06-11 17:17 dsp_out -> /dev/oss/sbxfi0/pcm0

ressac
June 11th, 2008, 06:40 PM
xmms work fine, but LAST.FM not - it's use a ALSA :( how make it work with OSS?

janfsd
June 11th, 2008, 08:34 PM
Ask the Last.fm developers to support OSS4. Are you sure Last.FM client doesn't have an option for changing sound output? Anyway you could use other music clients, AFAIK Exaile and Banshee (and probably others) support Last.FM

I just tested it, it doesn't work...

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default

It seems that you can't use OSS with Last.fm

http://www.last.fm/forum/34905/_/420873
http://www.last.fm/forum/21714/_/62786/1

It seems that older versions supported oss.

After looking around a bit:
http://www.last.fm/forum/34905/_/138262
It seems by compiling manually you could enable OSS4


1. svn co svn://svn.audioscrobbler.net/LastFM_client/trunk/
2. cd trunk
3. Be sure to run qt4 instead of qt3:
qt-config qt4
4. change from line 225(?) in src/output/RtAudio/rtaudioplayback.cpp

api = RtAudio::LINUX_ALSA;
to
api = RtAudio::LINUX_OSS;

5. Run qmake. Change the paths to suit your system, mine are as follows: qmake QTDIR=/opt/qt4 QMAKE_UIC=/opt/qt4/bin/uic QMAKE_MOC=/opt/qt4/bin/moc CONFIG+=release
6. make
7. cd bin
8. ./lastfm.sh


Since the instructions are old, they don't apply anymore for newer version, I am trying to build it. If I succeed I will post it here.

Hmm... after trying to hack the sources, and compiling several times, I failed to make it work with OSS4 :(

ressac
June 11th, 2008, 10:56 PM
i have try everything, not work!!

so just it's three ways:

1) use old version of last.fm , yes it work but it's SO OLD so i dont want to use :)
2) use amorok or something like this. (THIS WHAT i'am doing)
3) waiting for new versions :)

janfsd
June 11th, 2008, 11:18 PM
ressac I think the best option is to write in Last.fm forums: http://www.last.fm/forum/
Maybe some developer can fix this to work with OSS4.

ressac
June 11th, 2008, 11:30 PM
already do it :)
but i'dont think they fix it, becouse this problem from a long time

sorry for my english :)

OpposingForce
June 12th, 2008, 06:22 PM
I don't know about swfdec, but you could try flash 10 beta. It doesn't crash for me.
http://labs.adobe.com/technologies/flashplayer10/

Also, there is some kind of patch for libflashsupport for flash 9, I remember seeing something like that in launchpad...

Or you could try gnash.

Thanks, I installed it and it works. I tried gnash also but it doesn't even load the video, no sound either. I hate to support this closed-source crap, but if it's the only thing that's going to work I don't have a choice.

janfsd
June 12th, 2008, 10:13 PM
Thanks, I installed it and it works. I tried gnash also but it doesn't even load the video, no sound either. I hate to support this closed-source crap, but if it's the only thing that's going to work I don't have a choice.

Nobody makes you watch Youtube :-P

Temüjin
June 13th, 2008, 12:48 AM
Thanks, I installed it and it works. I tried gnash also but it doesn't even load the video, no sound either. I hate to support this closed-source crap, but if it's the only thing that's going to work I don't have a choice.
Tell Adobe to open-source Flash: http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

And while you're at it, ask for a 64-bit version of Flash for me. ;)

bluestix
June 13th, 2008, 10:17 AM
ADDENDUM2: Sound in Flash
1. Run:

file /usr/lib/libflashsupport.so
If this returns info on the file, skip ahead to step 4. If the file isn't found...
2. Save the attached libflashsupport.so.gz to your Desktop
3.
cd ~/Desktop; gunzip libflashsupport.so.gz; sudo mv libflashsupport.so /usr/lib
4. create symbolic links to /usr/lib/firefox/plugins & /usr/lib/mozilla/plugins:

sudo ln -s /usr/lib/libflashsupport.so /usr/lib/firefox/plugins; sudo ln -s /usr/lib/libflashsupport.so /usr/lib/mozilla/plugins


http://ubuntuforums.org/showpost.php?p=5055305&postcount=105


If after doing this you have no sound in Flash for 64bit Hardy 8.04 do:

sudo ln -s /usr/lib/libflashsupport.so /usr/lib32


I just found that in another forum after about 6 hours of trying other things.

ameyjah
June 13th, 2008, 12:04 PM
Hey thanks a lot. I have ntel Corporation 82801H (ICH8 Family) HD Audio Controller. I had problem of getting sound with ALSA. But OSS worked for me.
Thanks a lot.
http://i25.tinypic.com/nv5wrs.jpg

Rhapsody
June 13th, 2008, 10:44 PM
Well I've now got sound working on my X-Fi XtremeGamer (turning off my integrated sound convinced OSS to pipe the output to my X-Fi), but two applications are stubbornly refusing to work with OSS. One is my Firefox Flash plugin (I followed the instructions in the opening post and the symbolic links exist, but still no sound) and Wine (I've enabled the OSS driver in Wine configuration, but the sound test fails and I get no sound). Other than that, things seem to be working OK for once.

anthony2010
June 13th, 2008, 11:19 PM
Hiya Temujin.

Been away a few days and came back just now, hence delay in replying. Ive copied what came up in the terminal. It is as follows:

antman@SOS9000:~$ sudo update-pciids
[sudo] password for antman:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 129k 100 129k 0 0 58677 0 0:00:02 0:00:02 --:--:-- 75046
Done.
antman@SOS9000:~$ sudo lspci | grep dio
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
antman@SOS9000:~$

interestingly Ive also lost video on account of an error message stating that my sound card ( onboard) is busy! ( Doing what I wonder? Probably smoking a cigarette and too chilled out to be bothered! hehe)

Could it be that oss or alsa havent yet written drivers for this nvidia thingy? Lastly, in the sound window, the sound devive which used to read nVidia blah blah, now has a straight line through it. Not sure if that means anything?

ant.

Temüjin
June 14th, 2008, 03:09 AM
@Rhapsody, you'll probably need to create a symbolic link for /dev/dsp


cd /dev; ls -la | grep dsp

goofeyfoot
June 15th, 2008, 01:42 AM
Hello all:

I have a AMD 64 version of the newest Ubuntu.

I did the OSS thing posted here. I have an XFi Card and that's why I had to do it. I had no sound with ALSA.

Two questions.

One, now that I have sound (thanks for that by the way - it has plagued me for a long time) the system sounds start out really loud when you boot up the computer. I like system sounds, but not ear-shattering ones. Is there some way to regulate the volume on startup? I am starting out with full volume every time which is kind of annoying.

Two, every now and then the sound quits working while I am working. The Ossxmix applet LOOKS like I am getting sounds. The VU meters glow and such. But I don't hear anything. And if I run osstest I get this weird message which is posted at the bottom of this post. Something about a device in "use by" some other application. Anyway, when you run osstest you don't hear a thing - even though the test looks like it's running fine.

Does anyone know what is wrong?

Thanks again for fixing my sound, cuz I had nothing before!

Best regards

Michael

Here is the printout of the osstest:

michael@michael-desktop:~$ osstest
Sound subsystem and version: OSS 4.0 (b1015/200803240317) (0x00040003)
Platform: Linux/x86_64 2.6.24-18-generic #1 SMP Wed May 28 19:28:38 UTC 2008

*** Scanning sound adapter #-1 ***
/dev/oss/sbxfi0/pcm0 (audio engine 0): Sound Blaster X-Fi (SB046x/067x/076x) output
Note! Device is in use (by PID 0/VMIX) but will try anyway
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47812.00 Hz (-0.39%)>
/dev/oss/sbxfi0/pcmin0 (audio engine 1): Sound Blaster X-Fi (SB046x/067x/076x) input
- Skipping input only device

*** All tests completed OK ***
michael@michael-desktop:~$

anthony2010
June 15th, 2008, 12:02 PM
Re: Hardy 8.04 & OSS4 (Alternative to ALSA)

Hiya Temujin.

Been away a few days and came back just now, hence delay in replying. Ive copied what came up in the terminal. It is as follows:

antman@SOS9000:~$ sudo update-pciids
[sudo] password for antman:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 129k 100 129k 0 0 58677 0 0:00:02 0:00:02 --:--:-- 75046
Done.
antman@SOS9000:~$ sudo lspci | grep dio
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
antman@SOS9000:~$

interestingly Ive also lost video on account of an error message stating that my sound card ( onboard) is busy! ( Doing what I wonder? Probably smoking a cigarette and too chilled out to be bothered! hehe)

Could it be that oss or alsa havent yet written drivers for this nvidia thingy? Lastly, in the sound window, the sound devive which used to read nVidia blah blah, now has a straight line through it. Not sure if that means anything?

Sorry about the double post. Ive only just figured out the 'quick reply button'

ant.

PRGUY85
June 15th, 2008, 10:06 PM
Hey, I am having problems with some software (Pidgin and Avant Window Manager) on my desktop which has OSS installed for the X-FI. My laptop is running 32-bit Hardy and has no issues (no OSS or X-FI) so since I made a fresh Ubuntu install on my desktop and that's the only difference, I want to test out if that's the source of the problems.

I have tried reverting the installation but I don't get any sound off my onboard sound. How does one complete revert to ALSA?

Tkolini
June 16th, 2008, 09:02 PM
Thankyou so much for getting my xfi to work at last :D

ameyjah
June 17th, 2008, 04:40 PM
hey it seems that http://www.opensound.com/download.cgi linux 2.6 x86 deb version is down
can someone reupload it to another free server like mediafire . com

Temüjin
June 17th, 2008, 05:02 PM
hey it seems that http://www.opensound.com/download.cgi linux 2.6 x86 deb version is down
can someone reupload it to another free server like mediafire . com
The link is working fine for me :\

EDIT: This may be related to the new build put out today. You probably tried to access the server while they were updating it.

Temüjin
June 17th, 2008, 06:59 PM
A new build was released today! Thanks to dev, Hannu, cesium, seawright, Ionic and everyone else for this build.

OSS 4.0 Build 1016 is being announced for Linux, Solaris, FreeBSD and UnixWare.

Changes: (Contributions from the OSS Community)

- Updated ossplay to support stdin and ADPCM, AIFF, ULAW, ALAW formats (community)
- Updated ossrecord to support input amplification (Community)
- Updated ossxmix to support tabbed mixers and Gnome Panel iconification (community)
- Fixes to savemixer app (community)
- VMIX driver moved into OSS audio core.
- Fixes to OSS audio core to support power management
- Driver fixes to Envy24 to add VMIX support
- Driver fixes to Envy24HT to support ESI Juli@ device (Community)
- HDaudio driver updated to support Sony VAIO models. (Community)
- Miscellaneous fixes to all drivers to support the new vmix changes.

Vaune
June 17th, 2008, 09:18 PM
Looks like the download site is still down. Any have a mirror? Or should I just wait?

janfsd
June 17th, 2008, 10:45 PM
Looks like the download site is still down. Any have a mirror? Or should I just wait?

I suppose they still didn't make a deb package. You could try the tar.gz package.

EDIT: Found the correct link:
http://www.4front-tech.com/release/oss-linux-4.0-1016_i386.deb
However it doensn't work for me...

MachineHead
June 18th, 2008, 08:33 AM
Hey Temujin,

Does this OSS4 also work with the Creative X-Fi Fatality?
I'm switching from onbaord to X-Fi now when I play high-end games in windows.

Regards,

MachineHead

ameyjah
June 18th, 2008, 05:52 PM
i am getting error while installing deb file.

error

dpkg: regarding oss-linux-4.0-1016_i386.deb containing oss-linux:
oss-linux conflicts with libflashsupport
libflashsupport (version 1.9-0ubuntu1) is present and installed.
dpkg: error processing oss-linux-4.0-1016_i386.deb (--install):
conflicting packages - not installing oss-linux
Errors were encountered while processing:
oss-linux-4.0-1016_i386.deb
what should i do.
I am on hardy gnome

Temüjin
June 18th, 2008, 06:06 PM
ameyjah,

sudo apt-get remove libflashsupport

warbread
June 19th, 2008, 12:39 AM
Works great on amd_64 Hardy with an M-Audio 24/96. The ossxmixer is awesome: I finally get the control of my soundcard that I've always wanted!

Spoke too soon. OSS doesn't seem to want to play with Jack in 64 bit. Catastrophic crashes abound. Oh well, it was worth a try.

starnerd67
June 19th, 2008, 10:52 AM
Hi
Im new to Ubuntu (and linux)
But im having alot of trouble getting my ESI Juli@ sound card to work. I just read your post about installing the OSS4 and although the installing was successful im not able to get any sound.
Testing the card with osstest revealed that the optical out (the output i wish to use) works fine, but the anolog (or front out) does not work, and apparently front out is the default being used.

is there anyway i can switch the default audio out to be s/pdif out rather than front out ???

MJBoa
June 20th, 2008, 02:53 AM
For some reason my blacklist doesn't seem to be working...
I still get ERROR: Module snd_pcm is in use by cx88_alsa
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd_page_alloc is in use by snd_pcm
when doing soundon even after /etc/modprobe.d/blacklist had all that stuff in it. Why?

hyunkell
June 20th, 2008, 11:36 AM
I successfully installed oss4 this morning, and it is working perfectly fine.
For some reason it had a huge impact on sound quality, I can finally enjoy listening to music in Ubuntu, and I just love the amount of different settings in ossxmix.

I still have one little problem, I can't really figure out on my own.
I have 2 Sound Devices:
1: Intel Hidef onboard
2: Logitech Usb Audio (Headset)

Running osstest, I hear that both devices are working, and I have both devices in ossxmix.

Being a Teamspeak user, I want to use my Usb Headset (for Teamspeak only)
I can't figure out how to tell Teamspeak how ot use my Usb Headset though.
Yes, I do have the settings -> options tab, but after installing oss4,
/dev/dsp1 which used to be my headset, is now used for something else.
Here's a list of my audio devices:


lrwxrwxrwx 1 root root 22 2008-06-20 11:27 dsp -> /dev/oss/hdaudio0/pcm0
lrwxrwxrwx 1 root root 22 2008-06-20 11:27 dsp0 -> /dev/oss/hdaudio0/pcm0
lrwxrwxrwx 1 root root 22 2008-06-20 11:27 dsp1 -> /dev/oss/hdaudio0/pcm1
lrwxrwxrwx 1 root root 27 2008-06-20 11:27 dsp10 -> /dev/oss/usb13953556-1/pcm0
lrwxrwxrwx 1 root root 29 2008-06-20 11:27 dsp11 -> /dev/oss/usb13953556-2/pcmin0
lrwxrwxrwx 1 root root 22 2008-06-20 11:27 dsp2 -> /dev/oss/hdaudio0/pcm2
lrwxrwxrwx 1 root root 22 2008-06-20 11:27 dsp3 -> /dev/oss/hdaudio0/pcm3
lrwxrwxrwx 1 root root 22 2008-06-20 11:27 dsp4 -> /dev/oss/hdaudio0/pcm4
lrwxrwxrwx 1 root root 22 2008-06-20 11:27 dsp5 -> /dev/oss/hdaudio0/pcm5
lrwxrwxrwx 1 root root 25 2008-06-20 11:27 dsp6 -> /dev/oss/hdaudio0/spdout0
lrwxrwxrwx 1 root root 24 2008-06-20 11:27 dsp7 -> /dev/oss/hdaudio0/pcmin0
lrwxrwxrwx 1 root root 24 2008-06-20 11:27 dsp8 -> /dev/oss/hdaudio0/pcmin1
lrwxrwxrwx 1 root root 24 2008-06-20 11:27 dsp9 -> /dev/oss/hdaudio0/pcmin2
lrwxrwxrwx 1 root root 25 2008-06-20 11:27 dsp_ac3 -> /dev/oss/hdaudio0/spdout0
lrwxrwxrwx 1 root root 22 2008-06-20 11:27 dsp_mmap -> /dev/oss/hdaudio0/pcm0
lrwxrwxrwx 1 root root 22 2008-06-20 11:27 dsp_multich -> /dev/oss/hdaudio0/pcm0
lrwxrwxrwx 1 root root 22 2008-06-20 11:27 dsp_out -> /dev/oss/hdaudio0/pcm0
lrwxrwxrwx 1 root root 22 2008-06-20 11:27 mixer0 -> /dev/oss/hdaudio0/mix0
lrwxrwxrwx 1 root root 27 2008-06-20 11:27 mixer1 -> /dev/oss/usb13953556-0/mix0


Trying to use anything like /dev/mixer1 unfortunately does not work :(

Some more info:

ossinfo

Version info: OSS 4.0 (b1016/200806162350) (0x00040003)
Platform: Linux/x86_64 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 (hyulap)

Number of audio devices: 12
Number of audio engines: 16
Number of mixer devices: 2


Device objects
0: osscore0 OSS core services
1: hdaudio0 Intel HD Audio interrupts=949206 (949206)
HD Audio controller Intel HD Audio
Vendor ID 0x808627d8
Subvendor ID 0x15580571
Codec 0: ALC883 (0x10ec0883/0x05720000)
Codec 1: Conexant2bfa (0x14f12bfa)
2: ossusb0 USB audio core services
3: usb13953556-0 USB sound device
4: usb13953556-1 USB sound device
5: usb13953556-2 USB sound device


Mixer devices
0: High Definition Audio ALC883 (Mixer 0 of device object 1)
1: USB sound device (Mixer 0 of device object 3)

Audio devices
HD Audio play front /dev/oss/hdaudio0/pcm0 (device index 0)
HD Audio play rear /dev/oss/hdaudio0/pcm1 (device index 1)
HD Audio play center/LFE /dev/oss/hdaudio0/pcm2 (device index 2)
HD Audio play side /dev/oss/hdaudio0/pcm3 (device index 3)
HD Audio play pcm4 /dev/oss/hdaudio0/pcm4 (device index 4)
HD Audio play modem-out /dev/oss/hdaudio0/pcm5 (device index 5)
HD Audio play spdif-out /dev/oss/hdaudio0/spdout0 (device index 6)
HD Audio rec mix /dev/oss/hdaudio0/pcmin0 (device index 7)
HD Audio rec mix /dev/oss/hdaudio0/pcmin1 (device index 8)
HD Audio rec modem-out /dev/oss/hdaudio0/pcmin2 (device index 9)
USB sound device play /dev/oss/usb13953556-1/pcm0 (device index 10)
USB sound device rec /dev/oss/usb13953556-2/pcmin0 (device index 11)


Any ideas how to get my Headset to work in Teamspeak?
Thanks,

Hyu

janfsd
June 20th, 2008, 10:44 PM
It seems that there are some problems with the latest deb package. Although a fixed package has already been released. Check this for more info:
http://4front-tech.com/forum/viewtopic.php?p=9388#9388

jagnet
June 21st, 2008, 04:53 PM
Ive just tried Temüjin's install from the 2nd post. Sound worked OK in Ubuntu but not in firefox 3.0 .
Though Im using Ubuntu 2.6.24-19 64bit.

I found a solution if anyones interested here >

http://ubuntuforums.org/showthread.php?t=202537


...now if I could just find a way to get all FIVE speakers working with OSS would be great (using acer 8920G)

:)

rexb
June 21st, 2008, 08:00 PM
+1.

Respect for your job.

Sony VAOI VGN-AR770 (vaio)
Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Codec: SigmaTel CXD9872AKD (STAC9872AKD or STAC92xx), Conexant ID 2c06 and Realtek ALC262

Ubuntu 8.04 (hardy) 2.6.24-xx-generic
Ubuntu 8.10 (intrepid) 2.6.27-xx-generic


OSS ( 4.1 ):


speaker - working
headphone - working
speaker auto mute ! not (there is no way to fix this, driver's restriction!!!)
(S/PDIF) Digital Audio Output - working
(HDMI) Digital Audio Output ! not(as far as I know problem with nvidia)
build-in mic - working
external mic - working
build-in modem ! not

ALSA ( 1.0.18 ):


speaker - working
headphone - working
speaker auto mute - working
(S/PDIF) Digital Audio Output ! not
(HDMI) Digital Audio Output ! not(as far as I know problem with nvidia)
build-in mic - fixed, working
external mic - fixed, working
build-in modem ! not (how to fix - see below)


mic's:
to fix the problem with mic's, use the next options:
options snd-hda-intel model=vaio probe_mask=1

in the next file:

/etc/modprobe.d/alsa-base


built-in modem:
see - http://www.linuxant.com/drivers/

haneya
June 23rd, 2008, 05:15 PM
i followed all the steps but Do I have to choose "oss - open sound system " in system>pref>sound for all of them ??cuz when i choose "oss open sound system" with sound playback system sound not working (login and logout sounds) and i cant find any device in default mixer tracks , and the sound recording not working " mic " i tried it with ALSA , oss and pulse audio server (not working ) so what i have do ??

ossinfo :

ossinfo
Version info: OSS 4.0 (b1016/200806162356) (0x00040003)
Platform: Linux/i686 2.6.24-19-generic #1 SMP Wed Jun 4 16:35:01 UTC 2008 (anas-laptop)

Number of audio devices: 3
Number of audio engines: 7
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: hdaudio0 Intel HD Audio interrupts=526132 (526132)
HD Audio controller Intel HD Audio
Vendor ID 0x808627d8
Subvendor ID 0x1179ff10
Codec 0: ALC861 (0x10ec0861/0x11791205)
Codec 1: Unknown (0x11c13026)
2: ossusb0 USB audio core services


Mixer devices
0: High Definition Audio ALC861 (Mixer 0 of device object 1)

Audio devices
HD Audio play front /dev/oss/hdaudio0/pcm0 (device index 0)
HD Audio play center/LFE /dev/oss/hdaudio0/pcm1 (device index 1)
HD Audio rec rec /dev/oss/hdaudio0/pcmin0 (device index 2)


ubuntu 8.04
toshiba satellite

Temüjin
June 23rd, 2008, 05:23 PM
haneya, for system sounds, choose ESD. I guess I need to update that part of the guide. Thanks for the feedback.

haneya
June 23rd, 2008, 05:37 PM
thx for your reply , but still the mic problem ?? any suggestions

GuildsmanCoren
June 23rd, 2008, 10:59 PM
I hope this is the right place to ask this.

I'm a brand new Ubuntu user coming from Windows. I really want to like Ubuntu, but I can't get my soundcard to work and this most definitely will be a dealbreaker if I can't fix it. :(
I'm using an Auzentech Prelude 7.1, which I've heard people have been getting to work using OSS. So I followed the guide on the first page to the letter, and everything went fine except I still get no sound:


...
Building module ymf7xx
depmod -a
Starting Open Sound System
OSS is already loaded.

coren@Coren-PC:~/Desktop$ sudo soundon
OSS is already loaded.
coren@Coren-PC:~/Desktop$ sudo ossdetect -v
Detected Creative SB X-Fi (EARLY BETA)
Detected Intel High Definition Audio (P35)
Detected Generic USB audio device (BETA)
coren@Coren-PC:~/Desktop$ sudo ossinfo
No /dev/mixer device available in your system.
Perhaps Open Sound System is not installed or running.
coren@Coren-PC:~/Desktop$

Now if I understand this right, ossdetect is telling me my Auzentech is being correctly identified as an X-Fi, but then ossinfo tells me it won't work. Can anyone tell me why not?

I've tried reinstalling from scratch but I keep getting the same thing...

My sound preferences panel won't show any devices and trying to open volume control gives me a "No volume control Gstreamer plugins and/or devices found" message.

Any help would be greatly appreciated :)

EDIT: a reboot changed the situation a bit: I now get the "High Definition Audio" device in my sound devices list and the OSS mixer shows me a lot of settings for said device. However, the X-fi still doesn't show up in the device list and the ossxmix program only shows "play", "rec" and "recsrc" settings, no sign of the expected multichannel settings. Most importantly, still no sound coming from my Prelude... :(

Updated ossinfo:


coren@Coren-PC:~$ ossinfo
Version info: OSS 4.0 (b1016/200806162350) (0x00040003)
Platform: Linux/x86_64 2.6.24-19-generic #1 SMP Wed Jun 18 14:15:37 UTC 2008 (Coren-PC)

Number of audio devices: 12
Number of audio engines: 16
Number of mixer devices: 2


Device objects
0: osscore0 OSS core services
1: hdaudio0 Intel HD Audio interrupts=85918 (85918)
HD Audio controller Intel HD Audio
Vendor ID 0x8086293e
Subvendor ID 0x1458a002
Codec 2: ALC885 (0x10ec0885/0x1458a002)
2: sbxfi0 Sound Blaster X-Fi interrupts=24934 (24934)
PCI device 1102:0005, subdevice 415a:0034
3: ossusb0 USB audio core services


Mixer devices
0: High Definition Audio ALC885 (Mixer 0 of device object 1)
1: Sound Blaster X-Fi (Mixer 0 of device object 2)

Audio devices
HD Audio play front /dev/oss/hdaudio0/pcm0 (device index 0)
HD Audio play rear /dev/oss/hdaudio0/pcm1 (device index 1)
HD Audio play center/LFE /dev/oss/hdaudio0/pcm2 (device index 2)
HD Audio play side /dev/oss/hdaudio0/pcm3 (device index 3)
HD Audio play pcm4 /dev/oss/hdaudio0/pcm4 (device index 4)
HD Audio play spdif-out /dev/oss/hdaudio0/spdout0 (device index 5)
HD Audio rec mix /dev/oss/hdaudio0/pcmin0 (device index 6)
HD Audio rec mix /dev/oss/hdaudio0/pcmin1 (device index 7)
HD Audio rec mix /dev/oss/hdaudio0/pcmin2 (device index 8)
HD Audio rec spdifin /dev/oss/hdaudio0/spdin0 (device index 9)
Sound Blaster X-Fi output /dev/oss/sbxfi0/pcm0 (device index 10)
Sound Blaster X-Fi input /dev/oss/sbxfi0/pcmin0 (device index 11)

Temüjin
June 24th, 2008, 12:33 AM
Guildsman, are you using your onboard audio for anything? If not, I would recommend disabling it in the BIOS and running (sudo) soundoff, ossdetect, soundon again.


no sign of the expected multichannel settings
The X-fi drivers are limited to stereo output at this time. I suggest taking it up with Creative and telling them to support their hardware in Linux, either by hiring professional coders, or better yet, putting financial support behind OSS4.

GuildsmanCoren
June 24th, 2008, 06:39 AM
Guildsman, are you using your onboard audio for anything? If not, I would recommend disabling it in the BIOS and running (sudo) soundoff, ossdetect, soundon again.


The X-fi drivers are limited to stereo output at this time. I suggest taking it up with Creative and telling them to support their hardware in Linux, either by hiring professional coders, or better yet, putting financial support behind OSS4.

Oh :( That's too bad. Well, actually even stereo won't work, but I'll do as you suggested and turn off onboard audio.

As a matter of fact, Auzentech are working on official Linux drivers, they're scheduled for Q4 2008. I guess I'll have to be patient.

Thanks for your answer anyway :)

sharkey77
June 25th, 2008, 01:52 AM
Tried and failed, still no sound. Went to system preferences > sounds and updated all but system to OSS. OSS mixer also only shows MONO



Version info: OSS 4.0 (b1016/200806162356) (0x00040003)
Platform: Linux/i686 2.6.24-19-generic #1 SMP Wed Jun 4 16:35:01 UTC 2008 (MediaPC)

Number of audio devices: 1
Number of audio engines: 6
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: ich0 Intel ICH5 (24D5) interrupts=203671 (203671)
2: ossusb0 USB audio core services


Mixer devices
0: ICH AC97 Mixer (STAC9758) (Mixer 0 of device object 1)

Audio devices
Intel ICH5 (24D5) /dev/oss/ich0/pcm0 (device index 0)

OpposingForce
June 25th, 2008, 12:36 PM
Tried and failed, still no sound. Went to system preferences > sounds and updated all but system to OSS. OSS mixer also only shows MONO



Version info: OSS 4.0 (b1016/200806162356) (0x00040003)
Platform: Linux/i686 2.6.24-19-generic #1 SMP Wed Jun 4 16:35:01 UTC 2008 (MediaPC)

Number of audio devices: 1
Number of audio engines: 6
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: ich0 Intel ICH5 (24D5) interrupts=203671 (203671)
2: ossusb0 USB audio core services


Mixer devices
0: ICH AC97 Mixer (STAC9758) (Mixer 0 of device object 1)

Audio devices
Intel ICH5 (24D5) /dev/oss/ich0/pcm0 (device index 0)

Did you try restarting your computer? And do you have an xfi sound card? If so which one do you have?

AndrewZorn
June 25th, 2008, 04:02 PM
Well, it messed up my video drivers, but this was more of a proof-of-concept for me. My Razer Barracuda AC-1 finally works in Ubuntu, and past that, the SPDIF monitor/passthrough works too!!! This semi-solves my problem that an HDMI switch works in Linux but not Windows, letting me play my PS3 with less hassle if I can start using Linux more 24/7.

Shardsofmetal
June 25th, 2008, 04:47 PM
Is there a way to fix the exponentially increasing volume issue, where the first 3/4 of the volume does very little? Also, I followed the instructions to get sound in flash working, but that did not help. If it makes a difference, I'm running the 64-bit version of Ubuntu.

Also, how do I assign keys to run the scripts to increase and decrease volume, and mute and unmute? Thanks

terry_gardener
June 25th, 2008, 09:14 PM
i installed the oss4.1 with the instruction earlier in the thread but when i try to play any media file i get no sound but when i do osstest i get sound.

i have reinstalled the codecs and media player software ie vlc and totem and mplayer.

when player in totem and vlc get picture but no sound, when playing in mplayer get em says unable to initialise sound.

i have applied the volume control patch and flash patch.

so sound ever in youtube vids.

when goto the sound options system-pe=references-sound and change the tabs to oss and click test get error.
audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open resource for writing.

any ideas.

one more thing i was using alsa with onboard sound snd-hda-intel
i have disabled the sound in bios and also blacklisted the alsa drivers.

janfsd
June 25th, 2008, 10:14 PM
when goto the sound options system-pe=references-sound and change the tabs to oss and click test get error.
audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open resource for writing.

I get the same error when trying to change to esd... But i can change to oss without problems. Is the auto setting working?

terry_gardener
June 25th, 2008, 11:17 PM
which ever option i picked get same problem

sharkey77
June 26th, 2008, 03:21 AM
Originally Posted by OpposingForce

Did you try restarting your computer? And do you have an xfi sound card? If so which one do you have?

ummm, yes I restarted the computer. I'm not that much of a noob. Xfi? Not to my knowledge. The soundcard is built into the motherboard.

Intel ICH5, STAC9758

sharkey77
June 26th, 2008, 03:27 AM
It has digital out too, but I don't use that.

Link to details: http://support.gateway.com/s/Manuals/Desktops/9526013.pdf#page=31

sharkey77
June 26th, 2008, 03:59 AM
Here's a better link wtih the specs:

http://support.gateway.com/s/PC/901_Series/2900090/2521072/2521072sp9.shtml


Audio Sigmatel® Soft Audio 6-channel AC97 revision 2.3 codec (STAC9758)

F-3582
June 29th, 2008, 03:12 PM
Hi. I got some troubles with this:

As one guy already pointed out Rhythmbox seems to produce some serious distortion with OSS4. Well, unfortunately it looks like this applies on every player I've tried. At first everything works perfectly, but after a while OSS4 gives me those distortions with every program I tried, be it Flash, Amarok, Audio Overload or even the Gnome sound test. The only thing that doesn't sound distorted is osstest.

The only thing that helps is reinstalling OSS4 completely.


~$ ossinfo
Version info: OSS 4.0 (b1016/200806170542) (0x00040003)
Platform: Linux/i686 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 (rechner)

Number of audio devices: 1
Number of audio engines: 6
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: ich0 Intel ICH4 (24C5) interrupts=21890 (36537)
2: ossusb0 USB audio core services


Mixer devices
0: ICH AC97 Mixer (ALC655) (Mixer 0 of device object 1)

Audio devices
Intel ICH4 (24C5) /dev/oss/ich0/pcm0 (device index 0)

Are there any workarounds for this?

EDIT: Sorry, was my own fault. I accidentally set vmix0-channels to "Multich".

EDITT: Found another strange thing: When starting Opera audio playback gets horribly desynchronized. Not a big deal, because Amarok just needs to stop playback and start it again, others, however (like Audio Overload) need to be restarted entirely. Also VLC needs the option "Try Workaround for buggy OSS drivers" enabled or the audio gets desynced there, as well.

coolen
June 30th, 2008, 12:36 AM
Just wondering, how does this play with PulseAudio? I recently bought a laptop whose sound card may well require OSS over ALSA, and I'd love to keep PA. Is this something that's being planned?

Thanks for the info, by the way. It's been enlightening.

FlyingWV
June 30th, 2008, 01:34 AM
Temüjin,

Another big thank you. I've spent the last day or so reading about the nightmares that I would face trying to get my sound to work, because I have the Creative X-Fi sound card. I read and read, looking at many alternatives, and after browsing through this thread I applied your how to.

Needless to say, it worked amazingly well, listing to a music cd right now.

Thank you again.

F-3582
June 30th, 2008, 06:43 AM
Just wondering, how does this play with PulseAudio? I recently bought a laptop whose sound card may well require OSS over ALSA, and I'd love to keep PA. Is this something that's being planned?

Thanks for the info, by the way. It's been enlightening.

It doesn't work with Pulseaudio at all. However, you won't need it, either, because the ossxmixer is well capable of doing almost everything Pulseaudio can do, just as individual volume for every application.

coolen
June 30th, 2008, 06:49 AM
It doesn't work with Pulseaudio at all. However, you won't need it, either, because the ossxmixer is well capable of doing almost everything Pulseaudio can do, just as individual volume for every application.

Ahh, thank you. I would like to stream music over my home network...however, I think being able to play it would be my first priority :)