lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 17 Dec 2007 00:29:04 +0100 (CET)
From:	Jan Engelhardt <jengelh@...putergmbh.de>
To:	Harald Dunkel <harald.dunkel@...nline.de>
cc:	linux-kernel@...r.kernel.org
Subject: Re: howto get a melodic system beep?


On Dec 16 2007 23:37, Jan Engelhardt wrote:
>On Dec 16 2007 23:25, Harald Dunkel wrote:
>>
>> Hi folks,
>>
>> Is there a way to replace the system beep by something more
>> melodic?
>>
>> I remember some 10 years ago there was a patch for the kernel
>> to call an external "beep daemon" playing an audio file instead
>> (no kidding). But it never worked very well. Sometimes there
>> was a huge delay, and some programs were not very nice to the
>> system beep.
>>
>> My X-mas wish would be to get an improvement here.

In drivers/input/misc/pcspkr.c, pcspkr_event() in the SND_BELL case,
you could add a reroute so that SND_BELL events are passed to
userspace (think /dev/input/pcspkr). Delays are of course possible,
and it really depends on how the scheduler does its job (read: you
might want to renice your userspace part).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ