[Pkg-alsa-devel] Bug#359851: linux-sound-base: OSS emulation incorrectly disabled

David Liontooth liontooth at cogweb.net
Wed Mar 29 23:26:36 UTC 2006


Elimar Riesebieter wrote:
> On Wed, 29 Mar 2006 the mental interface of
> David Liontooth told:
>
>   
>> Elimar Riesebieter wrote:
>>     
>>> On Wed, 29 Mar 2006 the mental interface of
>>> David Liontooth told:
>>>
>>>  
>>>       
>>>> Package: linux-sound-base
>>>> Version: 1.0.10-3
>>>> Severity: normal
>>>>
>>>>
>>>> The symlink to /lib/linux-sound-base/noOSS.modprobe.conf may be
>>>> involved in incorrectly disabling oss emulation.
>>>>    
>>>>         
>>> Does /etc/modprobe.conf exists on your system?
>>>  
>>>       
>> No. This is a fresh Debian installation followed by a dist-upgrade to sid, with 
>> few customizations.
>> Let me know if there's anything I can test.
>>     
>
> Could you please rebuild alsa as modules. Then do as root
>
> $ echo saa7134 >> /usr/share/linux-sound-base/OSS-module-list
>
> reboot and test your OSS-emu again.
>   
I have both the modular and the non-modular kernel available, and can 
boot into one or the other at will.

I added saa7134 to /usr/share/linux-sound-base/OSS-module-list, as you 
instruct, and rebooted into the modular kernel.

dmesg shows that the system by default has loaded saa7134 without any 
insmod parameters, and has not loaded either saa7134-oss or 
saa7134-alsa, since 2.6.16 separate modules. To activate oss, I remove 
saa7134 and reinsert with these options, which I place in 
/etc/modprobe.d/saa7134:

# Load saa7134-oss with kernel 2.6.16
options saa7134 card=2,2,2,2 tuner=43,43,43,43 video_nr=1,2,3,4 
vbi_nr=1,2,3,4 radio_nr=1,2,3,4
install saa7134 /sbin/modprobe --ignore-install saa7134; /sbin/modprobe 
saa7134-oss
options saa7134-oss dsp_nr=1,2,3,4 mixer_nr=1,2,3,4

dmesg show shows the four saa7134 cards correctly configured, and in 
addition the oss device nodes:

saa7133[0]: registered device dsp1
saa7133[0]: registered device mixer1
saa7133[1]: registered device dsp2
saa7133[1]: registered device mixer2
saa7133[2]: registered device dsp3
saa7133[2]: registered device mixer3
saa7133[3]: registered device dsp4
saa7133[3]: registered device mixer4

I don't know, however, if this procedure spoiled your experiment, let me 
know. I had to do something to load saa7134-oss.

When I now run vlc, it finds the OSS devices, so that your suggestion 
appears to have fixed the problem.
I made a note on the v4l wiki, cf. 
http://linuxtv.org/v4lwiki/index.php/Saa7134-alsa#Insmod_parameters

Best wishes,
David












More information about the Pkg-alsa-devel mailing list