public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* howto get a melodic system beep?
@ 2007-12-16 22:25 Harald Dunkel
  2007-12-16 22:37 ` Jan Engelhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Harald Dunkel @ 2007-12-16 22:25 UTC (permalink / raw)
  To: linux-kernel

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.


Regards

Harri


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: howto get a melodic system beep?
  2007-12-16 22:25 howto get a melodic system beep? Harald Dunkel
@ 2007-12-16 22:37 ` Jan Engelhardt
  2007-12-16 23:29   ` Jan Engelhardt
  2007-12-19  0:10 ` Bauke Jan Douma
  2008-01-11 23:02 ` Toon van der Pas
  2 siblings, 1 reply; 5+ messages in thread
From: Jan Engelhardt @ 2007-12-16 22:37 UTC (permalink / raw)
  To: Harald Dunkel; +Cc: linux-kernel


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.

Would my xmas too?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: howto get a melodic system beep?
  2007-12-16 22:37 ` Jan Engelhardt
@ 2007-12-16 23:29   ` Jan Engelhardt
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Engelhardt @ 2007-12-16 23:29 UTC (permalink / raw)
  To: Harald Dunkel; +Cc: linux-kernel


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: howto get a melodic system beep?
  2007-12-16 22:25 howto get a melodic system beep? Harald Dunkel
  2007-12-16 22:37 ` Jan Engelhardt
@ 2007-12-19  0:10 ` Bauke Jan Douma
  2008-01-11 23:02 ` Toon van der Pas
  2 siblings, 0 replies; 5+ messages in thread
From: Bauke Jan Douma @ 2007-12-19  0:10 UTC (permalink / raw)
  To: Harald Dunkel; +Cc: linux-kernel

Harald Dunkel wrote on 16-12-07 23:25:
> 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.

I think the uinput module can handle this.  There's an
example floating around somewhere.

bjd

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: howto get a melodic system beep?
  2007-12-16 22:25 howto get a melodic system beep? Harald Dunkel
  2007-12-16 22:37 ` Jan Engelhardt
  2007-12-19  0:10 ` Bauke Jan Douma
@ 2008-01-11 23:02 ` Toon van der Pas
  2 siblings, 0 replies; 5+ messages in thread
From: Toon van der Pas @ 2008-01-11 23:02 UTC (permalink / raw)
  To: Harald Dunkel; +Cc: linux-kernel

On Sun, Dec 16, 2007 at 11:25:49PM +0100, 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.

Hi, check out the URL below.
I use this thing on a pc that doesn't have a pc speaker:

http://carcosa.net/jason/software/beep/

Here is a description on how to use this:

http://gentoo-wiki.com/HOWTO_Virtual_PC_Speaker

Regards,
Toon.
-- 
"I never set out to be weird,
 it was always other people who called me weird."
                                        -- 1986 Frank Zappa

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-11 23:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-16 22:25 howto get a melodic system beep? Harald Dunkel
2007-12-16 22:37 ` Jan Engelhardt
2007-12-16 23:29   ` Jan Engelhardt
2007-12-19  0:10 ` Bauke Jan Douma
2008-01-11 23:02 ` Toon van der Pas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox