Re: [suse-multimedia-e] can't open /dev/dsp!
Le Lundi 28 Janvier 2002 12:13, vous avez écrit :
Hi Alain,
Try to check the permissions and ownership for the device, as well as where does it point to (/dev/dsp is usually a link to /dev/dsp0). If the permissions are wrong and everything goes fine after you change them, but it flips back to wrong permissions on next login, try to look in /etc/logindevperm, what is the default value for your device...
Good luck! Eduard
--- bartydeux
wrote: Hello,
Fed up of SuSE 7.3. Everything went fine with SuSE 7.2, now with SuSE 7.3 I can't use my usb scanner HP6200c (I could with SuSE 7.2) and if I want to listen to a mp3 file I have the answer "can't open /dev/dsp!". The sound card is normally installed with alsaconf.
Does anyone know how to open /dev/dsp?
Thanks -- Alain Barthélemy
fiston:/dev # ls -l /dev/dsp lrwxrwxrwx 1 root root 4 jan 12 17:12 /dev/dsp -> dsp0 fiston:/dev # ls -l /dev/dsp0 crw-rw-rw- 1 root audio 14, 3 sep 24 03:54 /dev/dsp0 # cat /etc/logindevperm :0 0600 /dev/dsp0:/dev/dsp1:/dev/dsp2:/dev/dsp3 Everything should be normal. Thank you. Alain
Ok, then you can check if your sound driver is loaded at all or
not:
/sbin/lsmod | grep snd
This should show a lot of lines with snd-***
or /etc/init.d/alsasound status
This should say "Running", otherwize your driver is not loaded
correctly. If it is, try aplay somefile.wav (or .au). If this
still gives error opening device, you may try to boot to console
mode (without KDE or GNOME, just saying "linux 3" to LILO
prompt) and try aplay once again - this window managers
sometimes load their own sound daemons which conflict with
user-space programs...
Good luck
Eduard
--- bartydeux
Le Lundi 28 Janvier 2002 12:13, vous avez �crit :
Hi Alain,
Try to check the permissions and ownership for the device, as well as where does it point to (/dev/dsp is usually a link to /dev/dsp0). If the permissions are wrong and everything goes fine after you change them, but it flips back to wrong permissions on next login, try to look in /etc/logindevperm, what is the default value for your device...
Good luck! Eduard
--- bartydeux
wrote: Hello,
Fed up of SuSE 7.3. Everything went fine with SuSE 7.2, now with SuSE 7.3 I can't use my usb scanner HP6200c (I could with SuSE 7.2) and if I want to listen to a mp3 file I have the answer "can't open /dev/dsp!". The sound card is normally installed with alsaconf.
Does anyone know how to open /dev/dsp?
Thanks -- Alain Barth�lemy
fiston:/dev # ls -l /dev/dsp lrwxrwxrwx 1 root root 4 jan 12 17:12 /dev/dsp -> dsp0 fiston:/dev # ls -l /dev/dsp0 crw-rw-rw- 1 root audio 14, 3 sep 24 03:54 /dev/dsp0
# cat /etc/logindevperm
:0 0600 /dev/dsp0:/dev/dsp1:/dev/dsp2:/dev/dsp3
Everything should be normal.
Thank you.
Alain
-- To unsubscribe send e-mail to suse-multimedia-e-unsubscribe@suse.com For additional commands send e-mail to suse-multimedia-e-help@suse.com
__________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com
participants (2)
-
bartydeux
-
Eduard Avetisyan