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

From: James Simmons (jsimmons@transvirtual.com)
Date: Sun Dec 23 2001 - 00:45:56 EST


> 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.

Ug. I have thought about this problem as well. I plan to make it a
/dev/input driver. Especially since I plan to migrate the VT code over
to input api. This will allow use to the speaker with or without the
VT tty system.

-
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/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:28 EST