OSS stops working after update to Kubuntu 10.04

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

OSS stops working after update to Kubuntu 10.04

Postby aaronwinborn » Sun Jun 06, 2010 5:02 pm

After updating to Kubuntu 10.04, OSS has suddenly stopped working. I went through the steps at https://help.ubuntu.com/community/OpenSound to ensure it was still installed correctly. Here are the outputs of some random commands:

Code: Select all
aaron@aaron-desktop:~/temp/updates$ ossmix
/dev/mixer: No such file or directory
aaron@aaron-desktop:~/temp/updates$ ossinfo -v3
No /dev/mixer device available in your system.
Perhaps Open Sound System is not installed or running.


Note that I randomly receive messages like the following:

Phonon: KDE's Multimedia Library
The audio playback device ALSA default output does not work. Falling back to .

Testing the OSS default output at the System Settings/Multimedia panel gives the following error:

Phonon: KDE's Multimedia Library
The audio playback device OSS default output does not work. Falling back to .

I'm using an Audigy 5 channel sound card (though have never been able to get any but the front speakers to actually work). Also, my mixer now only has channels for Pcm, 3D-depth, and 3D-center (where it used to have about a dozen channels).

Thanks,
Aaron
aaronwinborn
New Member
 
Posts: 4
Joined: Sun Jun 06, 2010 4:54 pm

Re: OSS stops working after update to Kubuntu 10.04

Postby cesium » Sun Jun 06, 2010 5:13 pm

Odd. Are the modules loaded? Does "lsmod | grep osscore" show anything? If not, run "sudo soundon" and check if the init script (/etc/init.d/oss there?) still exist. If it does show something, run "sudo ossdetect -d -v" and "sudo ossdevlinks -v -r". After either of these, run "osstest" to see if sound playback works.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: OSS stops working after update to Kubuntu 10.04

Postby aaronwinborn » Mon Jun 07, 2010 3:59 pm

well, guess there's something else going on. osstest works fine after running your checks. however, it still doesn't work from firefox or amarok, nor do system sounds.

Code: Select all
$ lsmod | grep osscore
osscore               557996  4 oss_usb,oss_audigyls

$ sudo soundon
OSS is already loaded.

~$ ls -l /etc/init.d/oss
-rwxr--r-- 1 root root 1498 2010-06-06 12:44 /etc/init.d/oss

$ sudo ossdetect -d -v
mknod /dev/sndstat c 250 0 -m 20666
mknod /dev/midi c 250 1 -m 20666
mknod /dev/mixer c 250 2 -m 20666
mknod /dev/oss/oss_audigyls0/mix0 c 249 3 -m 20666
mknod /dev/oss/oss_audigyls0/pcm0 c 249 4 -m 20666

$ osstest
Sound subsystem and version: OSS 4.2 (b 2002/200911060735) (0x00040100)
Platform: Linux/i686 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010

*** Scanning sound adapter #-1 ***
/dev/oss/oss_audigyls0/pcm0 (audio engine 0): AudigyLS front
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47997.00 Hz (-0.01%)>
/dev/oss/oss_audigyls0/pcm1 (audio engine 1): AudigyLS center/lfe
- Performing audio playback test... /dev/oss/oss_audigyls0/pcm1: No such file or directory
Can't open the device
/dev/oss/oss_audigyls0/pcm2 (audio engine 2): AudigyLS surround
- Performing audio playback test... /dev/oss/oss_audigyls0/pcm2: No such file or directory
Can't open the device
/dev/oss/oss_audigyls0/pcm3 (audio engine 3): AudigyLS 5.1 output
- Skipping multi channel device

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

$ sudo ossdevlinks -v -r
4 audio devices
/dev/dsp0 is the next free legacy device
/dev/dsp0: No such file or directory
Created new legacy device /dev/dsp0 -> /dev/oss/oss_audigyls0/pcm0
/dev/dsp1: No such file or directory
Created new legacy device /dev/dsp1 -> /dev/oss/oss_audigyls0/pcm1
/dev/dsp2: No such file or directory
Created new legacy device /dev/dsp2 -> /dev/oss/oss_audigyls0/pcm2
/dev/dsp3: No such file or directory
Created new legacy device /dev/dsp3 -> /dev/oss/oss_audigyls0/pcm3
0 legacy dsp device files
/dev/oss/oss_audigyls0/pcm0 is the default /dev/dsp device
/dev/oss/oss_audigyls0/pcm0 is the default dsp_out device
/dev/oss/oss_audigyls0/pcm0 is the default dsp_in device
/dev/oss/oss_audigyls0/pcm0 is the default AC3 output device
/dev/oss/oss_audigyls0/pcm0 is the default mmap output device
/dev/oss/oss_audigyls0/pcm3 is the default multichan output device
1 mixer devices
/dev/mixer1 is the next free legacy device
/dev/mixer0: No such file or directory
Created new legacy device /dev/mixer0 -> /dev/oss/oss_audigyls0/mix0
1 legacy mixer device files

$ osstest
Sound subsystem and version: OSS 4.2 (b 2002/200911060735) (0x00040100)
Platform: Linux/i686 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010

*** Scanning sound adapter #-1 ***
/dev/oss/oss_audigyls0/pcm0 (audio engine 0): AudigyLS front
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 48000.00 Hz (0.00%)>
/dev/oss/oss_audigyls0/pcm1 (audio engine 1): AudigyLS center/lfe
- Performing audio playback test... /dev/oss/oss_audigyls0/pcm1: No such file or directory
Can't open the device
/dev/oss/oss_audigyls0/pcm2 (audio engine 2): AudigyLS surround
- Performing audio playback test... /dev/oss/oss_audigyls0/pcm2: No such file or directory
Can't open the device
/dev/oss/oss_audigyls0/pcm3 (audio engine 3): AudigyLS 5.1 output
- Skipping multi channel device

*** Some errors were detected during the tests ***
aaronwinborn
New Member
 
Posts: 4
Joined: Sun Jun 06, 2010 4:54 pm

Re: OSS stops working after update to Kubuntu 10.04

Postby cesium » Mon Jun 07, 2010 5:29 pm

This is either an app configuration problem or a weird OSS issue... Does "ossplay /usr/share/sounds/*.wav" play anything? If so, than it's an app problem. In that case, try to get pulse working via this method.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: OSS stops working after update to Kubuntu 10.04

Postby aaronwinborn » Mon Jun 07, 2010 5:59 pm

Code: Select all
$ ossplay /usr/share/sounds/*.wav
/dev/dsp: No such device or address

The device file was found in /dev but
there is no driver for it currently loaded.

You can start it by executing the soundon command as
super user (root).
aaronwinborn
New Member
 
Posts: 4
Joined: Sun Jun 06, 2010 4:54 pm

Re: OSS stops working after update to Kubuntu 10.04

Postby aaronwinborn » Mon Jun 07, 2010 6:00 pm

and

Code: Select all
$ sudo soundon
OSS is already loaded.

$ ossplay /usr/share/sounds/*.wav
/dev/dsp: No such device or address

The device file was found in /dev but
there is no driver for it currently loaded.

You can start it by executing the soundon command as
super user (root).
aaronwinborn
New Member
 
Posts: 4
Joined: Sun Jun 06, 2010 4:54 pm

Re: OSS stops working after update to Kubuntu 10.04

Postby cesium » Mon Jun 07, 2010 7:55 pm

Try running "sudo ossdetect -d -v" and "sudo ossdevlinks -v -r" and try again with osstest/ossplay.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am


Return to Linux

Who is online

Users browsing this forum: Bing [Bot] and 1 guest