Messages in this thread | | | Date | Mon, 27 Mar 2006 11:34:39 -0500 | From | "Dmitry Torokhov" <> | Subject | Re: [patch 1/1] pc-speaker: add SND_SILENT |
| |
On 3/26/06, Stas Sergeev <stsp@aknet.ru> wrote: > > I think I'd better try to code up the grabbing capability in > the input layer, since Dmitry didn't seem to object to that. >
I was pondering over implications of "grabbing" events over the weekend and I am not entirely happy with it either. The problem with grabbing is that your driver does not have any knowledge of how the events would be processed if left untouched. Right now you assume that all bells are handled by pcspkr but we could really have alternative bell implementations. For example we could have "visual" bell that could flash framebuffer or a bell that is routed through ALSA, etc, etc. All these alternative bells would not disrupt operation of your snd_pcsp module but it still would disable the bell because it does not know better.
-- Dmitry - 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/
| |