Re: [ibm-acpi-devel] ACPI: thinkpad-acpi: make the input event mode the default

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

 



On Sun, 15 Jul 2007, Matthew Garrett wrote:
> On Sun, Jul 15, 2007 at 03:05:29PM -0300, Henrique de Moraes Holschuh wrote:
> > On Sat, 14 Jul 2007, Matthew Garrett wrote:
> > > Again, we have keycodes for most of these and we have the ability to 
> > > make the driver choose the correct one by default. Why make things more 
> > > difficult?
> > 
> > Because I only map keys that are marked (silk-screened) on the keys on at
> > least 90% of the current models.
> 
> But we're able to differentiate between the models.

Yes. And I was told to not do it in the kernel when possible, so I will map
by default only what is marked and working on a vast majority.  Otherwise,
I'd need a big quirk db, based on what is silk-screened on the keyboards.

HAL is welcome to remap the keys to whatever it wants, based on
model-specific fdi files.

> > And I could not find the proper keycode for "switch output video port", yet.
> 
> Yes, that's a good point. Dmitry? As vendors move towards adopting the 
> ACPI video extension and getting the OS to look after this, we could 
> really do with a standardised code.

Well, that one I will add as soon as I get it :-)  All thinkpads I know the
keyboard layout have FN+F7 mapped to "switch output video port".  But I have
seen a lot of non-thinkpad notebooks with "set output port to LCD" and "set
output port to vga out" keys as well.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
-
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