[H-GEN] No Sound in RH 7.3 KDE3

Paul Gearon pag at PISoftware.com
Tue May 14 01:49:59 EDT 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Sat, 11 May 2002, Sandra Milne wrote:

> >I do have /dev/dsp
> >No sound at all
> >I'm using kernel 2.4.18-3
> >I have a creative128 sound card which worked perfectly in RH 7.2 And
> >Mandrake 8.2
> >[root at EIS root]# ls -l /dev/dsp
> >crw-------    1 wolf     root      14,   3 Apr 12 00:25 /dev/dsp
> >wolf is my user name
>
> become root (su or fakeroot or sudo doesn't matter how). look in /etc/group
> for a line that starts with: audio
> at the end of the line, place your username.

Rodnay has appropriate permissions, and the group is "root", so this won't
help.

Note that the error was:
  device /dev/dsp can't be opened (no such device)

This isn't a permissions problem, but rather a driver issue.  From the
looks of it, the sound card module is not loaded, and it's not compiled
into the kernel either.

Rodney, try looking at your module listing with "lsmod".  You should find
that you don't have any sound driver loaded.  :-)

If you don't have it compiled, you'll need to compile it.  I've no idea
what kind of chip is in a Creative 128, but you can get an idea with
"lspci".  My sound card setting shows up as:

00:10.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)

So I compiled the es1371.o module.

Now I can't remember the Redhat way of automatically loading the correct
module when you open /dev/dsp (device 14,3 as you can see in your listing
above).  As a hint, on Debian you add an entry to the
/etc/modutils/arch/i386 file as:

alias sound-slot-0 es1371

Or even:

alias char-major-14-3 es1371

This ends up getting copied to a file called /etc/modules.conf (it used to
be /etc/conf.modules, but I don't know what Redhat is using at the moment)

Anyway, with this entry in the appropriate file, once the device numbered
14,3 gets opened, then the kernel knows which module to load for you.

The Redhat experts here can give you the details on your particular
configuration, but this should get you looking in the right place anyway.

Regards,
Paul Gearon

Software Engineer                Telephone:   +61 7 3876 2188
Plugged In Software              Fax:         +61 7 3876 4899
http://www.PIsoftware.com        PGP Key available via finger

Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum
immane mittam.
(Translation from latin: "I have a catapult. Give me all the money,
or I will fling an enormous rock at your head.")





--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list