Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 12-02-2012, 11:44 AM   #1
Senior Member
Registered: Aug 2011
Posts: 1,059

Rep: Reputation: 41
OSS sound setup problems in debian

I have tried to follow debian wiki and sound FAQ ( to install OSS. I installed oss4-base, oss4-gtk, oss4-dkms and oss-compat. The volume on speaker and from application (vlc) are full. I, the user, is part of the 'audio' group. Output of different commands are:

amixer, aumix, aplay, alsamixer, ossdetect, soundoff and soundon: command not found.

$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
$ osstest
/dev/mixer: No such file or directory
$ grep sound-slot /etc/modprobe.conf
grep: /etc/modprobe.conf: No such file or directory
$ cat /etc/modprobe.conf
cat: /etc/modprobe.conf: No such file or directory
$ sudo ossmix -a
/dev/mixer: No such file or directory
$ ossinfo
No /dev/mixer device available in your system.
Perhaps Open Sound System is not installed or running.
$ ossplay up.wav
/dev/dsp: No such file or directory

The sound device file is missing from /dev.
You should try re-installing OSS.
Problem persists even after reinstalling oss4 packages. There is no sound.

Please help me sort out this problem. Thanks.

Last edited by rng; 12-02-2012 at 11:51 AM.
Old 12-02-2012, 03:44 PM   #2
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi rng, is there reason you chose to try building oss instead of working with alsa? Did you follow this oss4 tutorial?

Which version of Debian are you working from?

Good luck. ;-)
Old 12-02-2012, 08:00 PM   #3
Senior Member
Registered: Aug 2011
Posts: 1,059

Original Poster
Rep: Reputation: 41
I am on debian testing. The how-to page is very good. But still the sound is not working. Even soundon and soundoff commands are not working. Which package provides these commands? I could not find even with apt-file package.
Old 12-03-2012, 12:54 AM   #4
Senior Member
Registered: Aug 2011
Posts: 1,059

Original Poster
Rep: Reputation: 41
I am getting following message at boot time:
Mon Dec 3 11:49:24 2012: [....] Starting Open Sound System: FAIL- failed (No kernel modules detected).
I did modprobe by commands:
sudo modprobe snd-pcm-oss
sudo modprobe snd_hda_intel

The osstest and ossinfo commands now working but giving errors:
$ ossinfo
Version info: (0x00000000)
Platform: Linux/i686 3.2.0-4-686-pae #1 SMP Debian 3.2.32-1 (debian)

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

Device objects

MIDI devices (/dev/midi*)

Mixer devices

Audio devices

/dev/sndstat -> /proc/asound/oss/sndstat
The kernel error at boot time is still there.
How can I over this problem? Thanks for your help.

Last edited by rng; 12-03-2012 at 01:36 AM.
Old 12-03-2012, 01:36 AM   #5
Registered: Aug 2009
Distribution: Debian testing
Posts: 551

Rep: Reputation: 127Reputation: 127
Obviously, something has changed since the above guide was written. Install oss4-dkms and let it do it's job with dkms.

Else, if you want to do it the "old school" way with module assistant, and do it on every kernel upgrade manually, do
m-a prepare
m-a update
m-a a-i oss4
Also, make sure that all relevant packages for the job, like make, the kernel headers etc are installed.
Old 12-03-2012, 01:52 AM   #6
Senior Member
Registered: Aug 2011
Posts: 1,059

Original Poster
Rep: Reputation: 41
Yes it worked! I reinstalled oss4-dkms and rebooted. Then there was sound.
At some stage I had commented out the only line from /etc/modprobe.d/alsa_blacklist.conf :
#install soundcore /bin/false
I am not sure if that was creating problem earlier.

Or maybe because I had not installed oss4-sources earlier (I thought they were only if you want to build modules yourself). I do not know.

Many thanks for your help.

Am I likely to encounter problems with some applications with OSS as I read that some application support only ALSA?

Last edited by rng; 12-03-2012 at 02:33 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OSS sound problems hraposo Debian 2 01-05-2007 04:47 PM
how configure sound OSS and ALSA in Debian xcore_on Linux - Newbie 3 05-01-2006 11:40 PM
suse 9.1 sound problems, alsa & oss EldinTux Linux - Hardware 0 08-23-2004 03:04 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
OSS issue: Sound problems in Linux-native games Independence Slackware 3 12-23-2003 09:17 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration