LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   yet another /dev/dsp problem (https://www.linuxquestions.org/questions/linux-hardware-18/yet-another-dev-dsp-problem-58108/)

pr00t 05-04-2003 03:03 PM

yet another /dev/dsp problem
 
Hi,

This problem has been bugging me for a week, and after browsing boards, books, lists, etc, and
attempting to solve it myself I have had no luck
The problem is that every time I start a program that tries to access the sound card I get a message saying /dev/dsp: no such device and obviously no sound output
I'm trying it in root to avoid permission problems for the moment.

I have a custom made distribution (made with LFS). So far I have everything working as I would
like it except the sound. The sound did work originally, but as I've been heavily tweaking while
logged on as root(unavoidable) something seems to have messed up.
The sound card is a Sound Blaster PCI 128 onboard...before anyone asks YES it is enabled in the
BIOS.
Kernel is 2.4.19 with bootsplash patch.
When configuring the kernel most of the sound modules were selected.
The Creative Ensoniq AudioPCI 97 (ES1371) module is definetly selected and so is OSS Sound
modules, not sure if its supposed to be.

When I do a modprobe es1731 I get the following output:
/lib/modules/2.4.19/kernel/drivers/sound/es1371.o init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including IO and IRQ parameters.
/lib/modules/2.4.19/kernel/drivers/sound/es1371.o: insmod
/lib/modules/2.4.19/kernel/drivers/sound/es1371.o failed
/lib/modules/2.4.19/kernel/drivers/sound/es1371.o failed

If I cd into that directory and do a modprobe es1371.o it says:
modprobe: Can't locate module es1371.o
(it does exist)

If I do a modprobe snd-ens1371 it doesn't say anything

I'm not sure if I need snd-ens1371 or es1371, but none seem to work

My current lsmod output is:
ide-cd 28356 1 (autoclean)
cdrom 26400 0 (autoclean) [ide-cd]
snd-ens1371 11532 0 (autoclean) (unused)
snd-pcm 63328 0 (autoclean) [snd-ens1371]
snd-timer 11524 0 (autoclean) [snd-pcm]
snd-rawmidi 13888 0 (autoclean) [snd-ens1371]
snd-seq-device 4140 0 (autoclean) [snd-rawmidi]
snd-ac97-codec 26628 0 (autoclean) [snd-ens1371]
snd 31300 0 (autoclean) [snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
usbcore 56800 0 (autoclean) [snd]
soundcore 3396 0 (autoclean) [snd]
vmnet 21568 7
parport_pc 25576 0
parport 22528 0 [parport_pc]
vmmon 21012 5
8139too 14280 1 (autoclean)
mii 1056 0 (autoclean) [8139too]


and my current modules.conf is:
alias eth0 8139too
alias char-major-14 snd-ens1371

Obviously I've tried many different configurations, but this is what it looks like now.
I'm also not sure what /dev/dsp is supposed to be pointing to. Its a symbolic link, is it not?

Any suggestions on what I'm doing wrong would be greatly appreaciated

dorian33 05-04-2003 05:04 PM

make sure if you really have ES1371
info can be get with 'cat /proc/pci|grep audio"

pr00t 05-05-2003 04:50 PM

I'm not really sure how /proc/pci will help me identify which module I need, it just displays IOs/IRQs etc of my PCI devices.
But anyway, I definetly have an ES1371.
I have SuSE on a different hard drive and it is using the snd-ens1371 module and sound is working on there, but not on my LFS system. I tried copying the relevant entries from the modules.conf, but its still not working.
What else could it be?

dorian33 05-06-2003 01:49 PM

Look into /lib/modules/ subdirectories and try to find the file which looks like sound module. Next modprobe it.
For instance in my box I have /lib/modules/2.4.20/sound/ which consists all the sound stuff: snd-ac97-codec.o snd.o snd-via82xx.o soundcore.o. So to load sound module I need to 'modprobe snd-via82xx'.
In your case you'll probably find snd-es1371.o. Try to 'modprobe snd-es1371' and report the results.


All times are GMT -5. The time now is 09:55 PM.