LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-04-2003, 03:03 PM   #1
pr00t
LQ Newbie
 
Registered: May 2003
Distribution: SuSE 9.0
Posts: 7

Rep: Reputation: 0
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
 
Old 05-04-2003, 05:04 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
make sure if you really have ES1371
info can be get with 'cat /proc/pci|grep audio"
 
Old 05-05-2003, 04:50 PM   #3
pr00t
LQ Newbie
 
Registered: May 2003
Distribution: SuSE 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 05-06-2003, 01:49 PM   #4
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound problem: (/dev/dsp) marco_f Linux - Software 5 05-05-2009 03:44 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
Sound Problem: /dev/dsp could not be opened webzila Linux - Hardware 3 11-25-2005 04:40 PM
Another sound problem! No /dev/dsp* voyciz Linux - Software 4 03-03-2005 05:39 PM
/dev/dsp problem for kde in kernel 2.6 demmylls Linux - General 4 06-30-2004 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration