Re: [RFC PATCH] report acpi video hot key event through input device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/31/07, Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> wrote:
> On Mon, 30 Jul 2007, Dmitry Torokhov wrote:
> > I have some concerns over this patch. Some of the events reported are
> > not the regular key presses that something needs to process and
> > perform an action. Consider ACPI_VIDEO_NOTIFY_SWITCH is "Used to
> > notify OSPM whenever the state of one of the output devices attached
> > to the VGA controller has been switched or toggled." As far as I
> > understand the event (whatever it was) was already processed by
> > firmware and we getting a notification event of system change. So I am
> > not sure that this event should be sent as a key event.
>
> This is the whole "passive and active input events" crap I went over with
> thinkpad-acpi not too long ago.
>
> Can we please get a formal documentation in input of how it should be done,
> and declare anything that doesn't follow it "buggy"?
>
> You know my position on it: a new event type, or not producing such events
> at all.  But I will follow whatever rule the input layer sets.
>

My position is that generic event reporting (such as something has
already switched video output from LCD to CRT, network link lost,
battery low, brightness has already been changed) are outside of input
layer domain (it would be silly to attach struct input_dev to network
cards, wouldn't it?).

-- 
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux