Re: [newbie] no /dev/dsp in 10.0

2004-05-11 Thread Raffaele BELARDI
Derek Jennings wrote:
On Monday 10 May 2004 10:56, Raffaele BELARDI wrote:

I installed 10.0 official. I have a azt2320 ISA soundcard

I added to /etc/modprobe.preload the snd-azt2320 line. Sound modules are
loaded correctly at boot, but /dev/dsp is not created so xmms and
mplayer don't generate sound. If I manually create the /dev/dsp device,
sound works ok.
You may need to add the OSS emulation lines as well. See :-
http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=AzTechcard=AZT2320chip=AZT2320module=azt2320
(BTW: You might find xmms works without having to do anything to the drivers 
if you configure xmms to use the ALSA output plugin )
Derek,

some of the above got it working, but I am not sure of which part :-)

At first I modified the modprobe.conf to add the OSS-related lines (BTW, 
it seems to me the syntax is the same as modules.conf, isn't it?). 
Reboot, no work.

Then I reconfigured xmms to use ALSA instead of OSS, as you suggested. 
No error (previously I got no /dev/dsp error) but still no sound. So I 
loaded alsa-utils, unmuted sound and finally heard music.

mplayer tries to open /dev/dsp, doesn't find it and switches to ALSA, so 
it also is working fine now.

Next days I might try to remove the OSS-related part from modprobe.conf, 
just to see if ALSA it still works.

I must say that I find the Linux sound architecture quite confusing :-[

thanks,

raffaele



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] no /dev/dsp in 10.0

2004-05-11 Thread Raffaele BELARDI
Ron Hunter-Duvar wrote:
Check /var/log/messages for any messages from the kernel concerning your sound 
card. If there's anything in there recommending a different driver, try that 
driver. If not, then, well, see if you can find out somewhere else what 
driver might work (try google of course).
Rob,

thanks, I got it working in some way.

Anyway, the kernel log did not complain about the driver. I am not sure 
in my case it is a problem with the driver, but rather with the startup 
scripts which do not create the correct device /dev/dsp. I fact, if I 
created it manually, the driver worked fine.

As I said elsewhere, I'm still confused...

raffaele


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] no /dev/dsp in 10.0

2004-05-10 Thread Raffaele BELARDI
I installed 10.0 official. I have a azt2320 ISA soundcard, which worked 
fine in 9.x and 8.x

I added to /etc/modprobe.preload the snd-azt2320 line. Sound modules are 
loaded correctly at boot, but /dev/dsp is not created so xmms and 
mplayer don't generate sound. If I manually create the /dev/dsp device, 
sound works ok.

I also tried adding alias snd-slot-0 snd-azt2320 to 
/etc/modprobe.conf, but it does not change, still no /dev/dsp.

Is there a correct way to force the boot script to create the /dev/dsp 
device?

thanks,

raffaele


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] no /dev/dsp in 10.0

2004-05-10 Thread Derek Jennings
On Monday 10 May 2004 10:56, Raffaele BELARDI wrote:
 I installed 10.0 official. I have a azt2320 ISA soundcard, which worked
 fine in 9.x and 8.x

 I added to /etc/modprobe.preload the snd-azt2320 line. Sound modules are
 loaded correctly at boot, but /dev/dsp is not created so xmms and
 mplayer don't generate sound. If I manually create the /dev/dsp device,
 sound works ok.

 I also tried adding alias snd-slot-0 snd-azt2320 to
 /etc/modprobe.conf, but it does not change, still no /dev/dsp.

 Is there a correct way to force the boot script to create the /dev/dsp
 device?

 thanks,

 raffaele

You may need to add the OSS emulation lines as well. See :-
http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=AzTechcard=AZT2320chip=AZT2320module=azt2320

This page only goves the lines to add for the 2.4 kernel (modules.conf)
If you edit /etc/modules.conf and then run

/sbin/generate-modprobe.conf

then it will create a /etc/modprobe.conf file for you

(Make a backup first in case it screws something up. It always gets the nvidia 
line wrong when I use it)

(BTW: You might find xmms works without having to do anything to the drivers 
if you configure xmms to use the ALSA output plugin )

derek

-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com