Re: pc speaker cant be accessed with no video card in computer

Pavel Machek (pavel@suse.cz)
Sun, 23 Dec 2001 01:30:59 +0000


Hi!

> I guess it is not easy to produce a series of sounds without
> waiting each note to finish. There is an 8 year old PC speaker
> driver for BSD kernel that performs the BASIC PLAY lines in kernel.
>
> Rather than porting it to Linux I chose a simple option of copying
> the ioctl PC speaker code into a skeleton misc character device
> driver. As a result I can issue ioctl "beep" calls against my
> /dev/pcspeaker (character device with major number 10, minor number
> 240). E.g., replacing "/dev/console" with "/dev/pcspeaker" in
> PCMCIA cardmgr.c will revive its sound effects.

Snip... There's driver enabling you to play mp3-s on pc speaker (etc, it
does full /dev/dsp).... Separate task but maybe you wanted to know...

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/