[plug] Intercepting Default Beep
Colin 't Hart
hart at cygnus.uwa.edu.au
Wed Apr 7 21:04:17 WST 1999
Mike Holland wrote:
> I meant, how does the X-server do it?
> If the X server tells a console to 'echo ^G' i'll be really disgusted.
> How is it done at the kernel API?
> The console drivers are inside the kernel, right? So they have direct
> access to the speaker hardware. But perhaps there is am interface they
> use?
There's an interface. Look in /usr/src/linux/drivers/char/console.c
and vt.c
Cheers,
Colin
More information about the plug
mailing list