Re: [PATCH] ideapad-laptop: add new driver

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

 



On Fri, 2010-08-13 at 12:08 +0800, Ike Panhc wrote:
> 
> The driver will bind on ACPI HID:VPC2004. When hotkey pressed, the
> notify
> function will be called and query EC to tell which key pressed.
> 
> Hotkeys enabled listed below:
>  * LCD backlight switch - reports KEY_DISPLAY_OFF
>  * One key restore - reports KEY_PROG1
>  * Brightness Up/down - reports KEY_BRIGHTNESS_CYCLE
>    Both up/down keys reports the same event. Need to find other way to
> detect
>  * Touchpad switch - reports KEY_F13
>  * Video output switch - reports KEY_SWITCHVIDEOMODE
>  * Camera switch - reports KEY_CAMERA
>  * Video resolution switch - reports KEY_VIDEO_NEXT
>  * S/W rfkill key - reports KEY_WLAN 

Hm, interesting. What model (and BIOS version) are you testing with?

On my S10-3, (DMI BIOS version 2ACN23WW, date 03/12/2010), I get these
keys through the normal keyboard controller -- and we can tell the
brightness up/down apart, too.

http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=9cd075e3

Do you see those keycodes too... and do they *stop* arriving through the
keyboard controller when you load your driver?

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse@xxxxxxxxx                              Intel Corporation

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