Re: /dev/audio: No such device, do I have to recompile kernel?
Hello
Erik Jälevik (<erik.jalevik@ntlworld.com>) wrote:
> I am a Debian newbie and I'm trying to get a Soundblaster PCI128
> (CT4810) working. I'm running Debian 3.0 with kernel 2.2.20. I have
> added the relevant users to the audio group but I keep getting "No
> such device" errors when trying:
>
> cat /usr/share/sounds/pop.wav > /dev/audio
>
> lspci gives:
> 00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
A quick search on <http://groups.google.com> shows that you probably
need the es1371 driver for your hardware. First of all, the driver does
not have to be compiled into the kernel. It can be compiled as a module
that is loaded at boottime or when needed. To load the driver at
boottime, add a line
es1371
to your /etc/modules. To load it when needed, add a line
alias sound-slot-0 es1371
to your /etc/modutils/aliases and run update-modules. Next, add yourself
to the autio group, otherwise you will get permission errors next.
> So it seems to pick up the card. (Not sure if it's the right one
> though, do SBs have Ensoniq chips?) However, dmesg doesn't print any
> info at all about soundcards. lsmod doesn't list anything
> sound-related and /lib/modules only contains one file called
> 2.2.20-idepci. cat /dev/sndstat also gives a "No such device" error.
That is the directory (not file) where the kernel modules are located.
That are all the drivers that were not compiled into the kernel. You
are using the 2.2.20-idepci kernel. Going to
<http://packages.debian.org> and searching for "es1371.o" shows that
that kernel (the standard installation kernel?) does not have the
driver you need. So the easiest way would be to install another kernel
image, for example
apt-get install kernel-image-2.2.20
or
apt-get install kernel-image-2.4.18-1-$arch
Most of the kernel image packages have the driver you need. Use
apt-cache search kernel-image
to get a list and
apt-cache show name_of_package
to get more info on an specific package.
best regards
Andreas Janssen
--
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976
Reply to: