[plug] Kernel sound support.

John Summerfield summer at os2.ami.com.au
Wed May 12 06:52:43 WST 1999


> 
> When I was compiling my RedHat 5.2 kernel I also indicated that I wanted
> sound support, but then discovered it would not let me use the sndconfig
> tool redhat ships with to configure it because it wants it compiled as a
> module rather than in the kernel.  I don't know why this is but after I
> selected sound support as a module it worked okay.

With Debian?
It works with 2.0 kernels from red Hat, and with 2.2 kernels. It needs 
sound compiled as modules because it works by loading modules and passing 
parameters.


MAKDEDEV should make the missing devices: man MAKEDEV for more info. Here 
are my sound devices:

[summer at possum summer]$ ls -l /dev/dsp* /dev/audio*
crw-rw-rw-   1 root     sys       14,   4 Apr  8 06:24 /dev/audio
crw-rw-rw-   1 root     sys       14,  20 Apr  8 06:24 /dev/audio1
crw-rw-rw-   1 root     sys       14,   3 Apr  8 06:24 /dev/dsp
crw-rw-rw-   1 root     sys       14,  19 Apr  8 06:24 /dev/dsp1
[summer at possum summer]$ cat /dev/sndstat 
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux possum.os2.ami.com.au 2.2.7 #2 Thu May 6 08:58:48 WST 1999 
i686
Config options: 0

Installed drivers: 

Card config: 

Audio devices:
0: ESS ES1688 AudioDrive (rev 11) (3.01)

Synth devices:
0: Yamaha OPL3

Midi devices:
0: ESS ES1688

Timers:
0: System clock

Mixers:
0: Sound Blaster
[summer at possum summer]$ 

The stuff in /dev/sndstat gets filled in by the driver when it's loaded 
properly. The devices and be made with MAKEDEV or manually with mknod. You 
will probably want to chmod them so you don't have to be root to make a 
noise:
	chmod 666 /dev/dsp* /dev/audio*


 
> 
> > John Summerfield wrote:
> >
> > > What's the result of
> > >         ls -l /dev/dsp* /dev/audio*
> >
> > bash-2.01$ ls -l /dev/dsp* /dev/audio*
> > ls: /dev/dsp*: No such file or directory
> > ls: /dev/audio*: No such file or directory
> >
> > >         cat /proc/sound
> >
> > bash-2.01$ cat /proc/sound
> > cat: /proc/sound: No such file or directory
> >
> > >         cat /dev/snd*
> >
> > bash-2.01$ cat /dev/snd*
> > cat: /dev/snd*: No such file or directory
> >
> > > What distro are yoy using? Redhat has a sound configurer.
> >
> > I'm using Debian GNU/Linux v2.1
> >
> 

-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.




More information about the plug mailing list