Re: [patch 2/6] ACPI: Atlas ACPI driver

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

 



Hi Len,

On 7/1/06, Brown, Len <len.brown@xxxxxxxxx> wrote:
> +     if (function == ACPI_WRITE) {
> +             status = acpi_bus_generate_event(dev, 0x80, address);
> +             atlas_input_report((u8) address);

What is the reasoning to simultaneously report the same event
via both ACPI and input?

The event is reported to ACPI because there are legacy apps that read
/proc/acpi/event for this ASIM event. Newer apps can use the F1...
events that they can get via evdev. btw, if CONFIG_INPUT is disabled,
atlas_input_report gets dummied out and it's reported only to ACPI.

I can remove the acpi_bus_generate_event if that's the consensus.

Thanks,
jaya
-
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