svn commit: r239425 - stable/9/sys/dev/usb/quirk

Ed Maste emaste at FreeBSD.org
Mon Aug 20 14:12:24 UTC 2012


Author: emaste
Date: Mon Aug 20 14:12:24 2012
New Revision: 239425
URL: http://svn.freebsd.org/changeset/base/239425

Log:
  MFC r238718: Quirk MS keyboard so that function keys work
  
    The function keys on a Microsoft Natural Egronomic Keyboard 4000 have been
    repurposed as "Help", "Undo", "Redo" etc., and a special "F Lock" key is
    required to return them to their normal purpose.
  
    This change enables the UQ_KBD_BOOTPROTO quirk for the MS Natural 4000
    keyboard to get the keys working again.  More extensive changes to the USB
    keyboard infrastructure would be needed to fully support the "F Lock" mode
    and the extended keys on this keyboard.
  
  PR:             usb/116947

Modified:
  stable/9/sys/dev/usb/quirk/usb_quirk.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/usb/quirk/usb_quirk.c
==============================================================================
--- stable/9/sys/dev/usb/quirk/usb_quirk.c	Mon Aug 20 14:10:00 2012	(r239424)
+++ stable/9/sys/dev/usb/quirk/usb_quirk.c	Mon Aug 20 14:12:24 2012	(r239425)
@@ -123,6 +123,7 @@ static struct usb_quirk_entry usb_quirks
 	USB_QUIRK(METAGEEK2, WISPYDBX, 0x0000, 0xffff, UQ_KBD_IGNORE, UQ_HID_IGNORE),
 	USB_QUIRK(TENX, UAUDIO0, 0x0101, 0x0101, UQ_AUDIO_SWAP_LR),
 	/* MS keyboards do weird things */
+	USB_QUIRK(MICROSOFT, NATURAL4000, 0x0000, 0xFFFF, UQ_KBD_BOOTPROTO),
 	USB_QUIRK(MICROSOFT, WLINTELLIMOUSE, 0x0000, 0xffff, UQ_MS_LEADING_BYTE),
 	/* umodem(4) device quirks */
 	USB_QUIRK(METRICOM, RICOCHET_GS, 0x100, 0x100, UQ_ASSUME_CM_OVER_DATA),


More information about the svn-src-stable mailing list