LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-11-2005, 09:08 AM   #1
MWilson
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Rep: Reputation: 0
trying to get OSS apps to work


Hello all,

I'm sure this has probably been asked dozens of times before but I was unable to find the right answer after searching, so if it has, I'm sorry.

Anyways, I am using slackware -current now and I downloaded and compiled kernel 2.6.13 a few days ago. I have everything working beautifully with the exception of programs that still need OSS sound, for example flash.

Programs that use ALSA work fine, all my users have access to the audio group and I set up mixing to allow multiple processes simultaneous access to sound. I have the ALSA drivers compiled as modules and as far as I can tell I have the OSS compatibility modules setup as well, however the only way to get an OSS dependent program to use sound is to run it through the aoss program. I'd like to be able to not have to prefix that to every OSS program though if I want sound.

If I reboot into the -current vanilla 2.4.31 kernel, I do not have to use aoss. OSS programs seem to work fine there with ALSA, so I am obviously missing a step somewhere in my 2.6.13 setup, I just don't know what I missed.

Here are the kernel modules my system loads at bootup:

Module Size Used by
ipv6 229408 6
snd_pcm_oss 48224 0
snd_mixer_oss 17536 1 snd_pcm_oss
snd_usb_audio 73216 0
snd_usb_lib 14080 1 snd_usb_audio
audio 44928 0
ov511 82656 0
videodev 7808 1 ov511
pcspkr 3744 0
rtc 10744 0
snd_emu10k1 117220 2
snd_rawmidi 21088 2 snd_usb_lib,snd_emu10k1
snd_seq_device 7500 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 82428 1 snd_emu10k1
snd_pcm 82180 4 snd_pcm_oss,snd_usb_audio,snd_emu10k1,snd_ac97_codec
snd_timer 21764 2 snd_emu10k1,snd_pcm
snd_page_alloc 8904 2 snd_emu10k1,snd_pcm
snd_util_mem 3840 1 snd_emu10k1
snd_hwdep 7712 2 snd_usb_audio,snd_emu10k1
snd 47524 14 snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pc m,snd_timer,snd_hwdep
soundcore 7904 2 audio,snd
emu10k1_gp 3200 0
gameport 12616 2 emu10k1_gp
ne2k_pci 9248 0
8390 8960 1 ne2k_pci
joydev 8384 0
evdev 7680 0
pcmcia 32488 0
firmware_class 8448 1 pcmcia
pcmcia_core 36760 1 pcmcia
fglrx 255400 7
via_agp 8192 1
agpgart 30160 2 fglrx,via_agp
ide_scsi 14980 0

Any help is greatly appreciated, thanks.
 
Old 09-11-2005, 01:52 PM   #2
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
load the snd_seq_oss module
 
Old 09-12-2005, 08:16 AM   #3
MWilson
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the suggestion, still isn't working yet. Anyways here are my loaded modules now:

Module Size Used by
snd_seq_oss 32832 0
snd_seq_midi_event 6336 1 snd_seq_oss
snd_seq 51536 4 snd_seq_oss,snd_seq_midi_event
ipv6 229408 6
snd_pcm_oss 48224 0
snd_mixer_oss 17536 1 snd_pcm_oss
snd_usb_audio 73216 0
snd_usb_lib 14080 1 snd_usb_audio
audio 44928 0
ov511 82656 0
videodev 7808 1 ov511
pcspkr 3744 0
rtc 10744 0
snd_emu10k1 117220 1
snd_rawmidi 21088 2 snd_usb_lib,snd_emu10k1
snd_seq_device 7500 4 snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec 82428 1 snd_emu10k1
snd_pcm 82180 4 snd_pcm_oss,snd_usb_audio,snd_emu10k1,snd_ac97_codec
snd_timer 21764 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 8904 2 snd_emu10k1,snd_pcm
snd_util_mem 3840 1 snd_emu10k1
snd_hwdep 7712 2 snd_usb_audio,snd_emu10k1
snd 47524 14 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_emu10k1,snd_rawmidi,snd_seq_device,s nd_ac97_codec,snd_pcm,snd_timer,snd_hwdep
soundcore 7904 2 audio,snd
emu10k1_gp 3200 0
gameport 12616 2 emu10k1_gp
ne2k_pci 9248 0
8390 8960 1 ne2k_pci
joydev 8384 0
evdev 7680 0
pcmcia 32488 0
firmware_class 8448 1 pcmcia
pcmcia_core 36760 1 pcmcia
fglrx 255400 7
via_agp 8192 1
agpgart 30160 2 fglrx,via_agp
ide_scsi 14980 0
 
Old 09-12-2005, 12:32 PM   #4
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
hmm. what does the sound section of your kernel config look like?
and which card is this?
 
Old 09-12-2005, 01:17 PM   #5
MWilson
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
I'm using a Creative Labs Soundblaster Live! Value. As for my kernel config settings:

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
# CONFIG_SND_DUMMY is not set
CONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
CONFIG_SND_MPU401=m

#
# ISA devices
#
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=m
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_HDA_INTEL is not set

#
# USB devices
#
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_USX2Y is not set

#
# PCMCIA devices
#
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set

#
# Open Sound System
#
CONFIG_SOUND_PRIME=m
# CONFIG_SOUND_BT878 is not set
# CONFIG_SOUND_CMPCI is not set
CONFIG_SOUND_EMU10K1=m
CONFIG_MIDI_EMU10K1=y
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
CONFIG_SOUND_OSS=m
# CONFIG_SOUND_TRACEINIT is not set
# CONFIG_SOUND_DMAP is not set
# CONFIG_SOUND_AD1816 is not set
# CONFIG_SOUND_AD1889 is not set
# CONFIG_SOUND_SGALAXY is not set
# CONFIG_SOUND_ADLIB is not set
# CONFIG_SOUND_ACI_MIXER is not set
# CONFIG_SOUND_CS4232 is not set
# CONFIG_SOUND_SSCAPE is not set
# CONFIG_SOUND_GUS is not set
CONFIG_SOUND_VMIDI=m
# CONFIG_SOUND_TRIX is not set
# CONFIG_SOUND_MSS is not set
CONFIG_SOUND_MPU401=m
# CONFIG_SOUND_NM256 is not set
# CONFIG_SOUND_MAD16 is not set
# CONFIG_SOUND_PAS is not set
# CONFIG_SOUND_PSS is not set
# CONFIG_SOUND_SB is not set
# CONFIG_SOUND_AWE32_SYNTH is not set
# CONFIG_SOUND_WAVEFRONT is not set
# CONFIG_SOUND_MAUI is not set
# CONFIG_SOUND_YM3812 is not set
# CONFIG_SOUND_OPL3SA1 is not set
# CONFIG_SOUND_OPL3SA2 is not set
# CONFIG_SOUND_YMFPCI is not set
# CONFIG_SOUND_UART6850 is not set
# CONFIG_SOUND_AEDSP16 is not set
# CONFIG_SOUND_TVMIXER is not set
# CONFIG_SOUND_ALI5455 is not set
# CONFIG_SOUND_FORTE is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_AD1980 is not set
 
Old 09-12-2005, 01:43 PM   #6
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Which OSS programs are you trying to run? I might be wrong but I don't think you need the OSS enabled in the kernel as alsa uses alsa-oss to provide the necessary "workaround" for them.

I have a very similar setup as you, Soundblaster Live! sound card and such, but I DON'T have OSS enabled in the kernel. If I can test the program(s) you are using to see if I can get sound then maybe we can put this puppy to bed.

Later,
MMYoung
 
Old 09-12-2005, 02:03 PM   #7
MWilson
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Well flash files in firefox are the main thing at the moment I'm using to test with. If I boot into the vanilla 2.4 kernel flash will have sound right off the bat, however booting into my custom 2.6 kernel, flash will not have sound unless I run firefox through aoss by typing "aoss firefox".

You may be right, maybe the system is trying to load native OSS modules and it's conflicting with ALSA-OSS compatibility. I will try recompiling later with OSS completely disabled and only have ALSA and the ALSA-OSS compatibility modules selected.
 
Old 09-12-2005, 02:44 PM   #8
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by MWilson
Well flash files in firefox are the main thing at the moment I'm using to test with. If I boot into the vanilla 2.4 kernel flash will have sound right off the bat, however booting into my custom 2.6 kernel, flash will not have sound unless I run firefox through aoss by typing "aoss firefox".

You may be right, maybe the system is trying to load native OSS modules and it's conflicting with ALSA-OSS compatibility. I will try recompiling later with OSS completely disabled and only have ALSA and the ALSA-OSS compatibility modules selected.
Before you recompile, which sites in particular?

Later,
MMYoung
 
Old 09-12-2005, 02:47 PM   #9
MWilson
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
homestarrunner.com is the one I test flash sound with as it is the most flash heavy site I visit.
 
Old 09-12-2005, 03:02 PM   #10
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by MWilson
homestarrunner.com is the one I test flash sound with as it is the most flash heavy site I visit.
Had sound, kinda' funny, I've never heard of that site before.

BTW, I using kernel 2.6.11.12 and, as I stated, I don't have OSS configured at all. Here is sound part of my config file:

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=m
# CONFIG_SND_EMU10K1X is not set
CONFIG_SND_CA0106=m
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
CONFIG_SND_VIA82XX=m
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set

#
# USB devices
#
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_USX2Y=m

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

Also here is what is in my /usr/lib/firefox/plugins directory:

flashplayer.xpt* libmozsvgdec.la* libtotem_mozilla.so*
libflashplayer.so* libmozsvgdec.so*
libjavaplugin_oji.so@ libnullplugin.so*

The libjavaplugin_oji.so is a symlink to /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so*

HTH,
MMYoung
 
Old 09-12-2005, 07:40 PM   #11
gavinbeatty
Member
 
Registered: Nov 2003
Posts: 79

Rep: Reputation: Disabled
Had similar sounding problems for quite some time.

Found that doing:
Code:
artsdsp /usr/bin/firefox
works a treat.
No such luck with konqueror though.

Also, sound is slightly latent.

I apologise if this is not relative to the ACTUAL, I merely skimmed and felt the need to post as the artsdsp soluton (for me) is not commonly known (at least hard for ME to find it!)
 
  


Reply



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-emulation doesn't work on nforce soundstorm OvaClocka Linux - Hardware 2 09-10-2006 09:46 AM
What is ALSA and OSS and how it work dhirsolo Linux - Newbie 4 07-26-2005 03:57 PM
OSS Sound to work - how? shazam75 Linux - Newbie 4 10-08-2004 06:17 AM
Issue with snd-pcm-oss and snd-mixer-oss; OSS load failed EnigmaX Slackware 3 07-26-2004 03:26 PM
OSS Doesn't Work!!!!!!!!!!!!!!!!!!! Horizon111 Linux - Software 0 04-21-2004 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:39 PM.

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