[PlanetCCRMA] Alsa & OSS probs re:Mark Knecht
Fernando Lopez-Lezcano
nando@ccrma.Stanford.EDU
Mon Jan 10 15:11:01 2005
On Mon, 2005-01-10 at 14:48, nigel henry wrote:
> Hi Mark. Thanks for the help.This is the output from /sbin/lsmod . I/ve
> since stopped the Alsa driver with /etc/rc.d/init.d/alsasound stop.
Did you by chance get an error from it? The ALSA driver is not stopped
at this point according to the modules listed below.
> Now
> Music player will play my ripped CD files which seems to verify that the
> OSS driver has still got control of the soundcard. Nigel
You have more than one soundcard, on which one is the sound playing back
when it works?
> Module Size Used by
> snd_seq 39440 2
> snd_emu10k1 71172 4
> snd_rawmidi 17184 1 snd_emu10k1
> snd_pcm 68872 1 snd_emu10k1
> snd_timer 17156 2 snd_seq,snd_pcm
> snd_seq_device 6152 3 snd_seq,snd_emu10k1,snd_rawmidi
> snd_ac97_codec 50436 1 snd_emu10k1
> snd_util_mem 3200 1 snd_emu10k1
> snd_hwdep 6276 1 snd_emu10k1
> snd 38372 19
> snd_seq,snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep
All the above are the ALSA modules, not OSS.
If this is on Fedora Core 2 then OSS should not be a problem, OSS is not
configured by default or even present on a FC2 install. But see below:
> binfmt_misc 7176 1
> parport_pc 19392 1
> lp 8236 0
> parport 29640 2 parport_pc,lp
> autofs4 10624 0
> sunrpc 101064 1
> ipt_ttl 1536 1
> ipt_limit 1792 35
> ipt_state 1536 7
> iptable_mangle 2048 0
> ipt_LOG 4992 1
> ipt_MASQUERADE 2560 0
> ipt_TOS 1920 0
> ipt_REDIRECT 1664 0
> iptable_nat 17452 2 ipt_MASQUERADE,ipt_REDIRECT
> ipt_REJECT 4736 1
> ip_conntrack_irc 70064 0
> ip_conntrack_ftp 70576 0
> ip_conntrack 24968 6
> ipt_state,ipt_MASQUERADE,ipt_REDIRECT,iptable_nat,ip_conntrack_irc,ip_conntrack_ftp
> iptable_filter 2048 1
> ip_tables 13440 11
> ipt_ttl,ipt_limit,ipt_state,iptable_mangle,ipt_LOG,ipt_MASQUERADE,ipt_TOS,ipt_REDIRECT,iptable_nat,ipt_REJECT,iptable_filter
> 8139too 17792 0
> mii 3584 1 8139too
> floppy 47440 0
> sg 27552 0
> scsi_mod 91344 1 sg
> microcode 4768 0
> dm_mod 33184 0
> snd_page_alloc 7940 2 snd_emu10k1,snd_pcm
Now, the following two modules, "audio" and "usb_midi", are, I believe,
the usb audio and midi support of OSS. Those modules should be
blacklisted in /etc/hotplug/blacklist (that is, add "audio" and
"usb_midi" on two lines at the end of the file).
That will prevent this from loading automatically. If anything,
snd-usb-audio (the ALSA usb support module) should be loaded.
> audio 36612 0
> usb_midi 19464 0
> soundcore 6112 3 snd,audio,usb_midi
> uhci_hcd 23708 0
> button 4504 0
> battery 6924 0
> asus_acpi 8472 0
> ac 3340 0
> ipv6 184288 8
> ext3 102376 2
> jbd 40216 1 ext3
No other OSS modules found.........
What kernel are you running? ("uname -r" to find out).
-- Fernando