Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2012 11:34:40 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-releng@freebsd.org
Subject:   svn commit: r239492 - releng/9.1/sys/dev/usb/quirk
Message-ID:  <201208211134.q7LBYerl026885@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Aug 21 11:34:40 2012
New Revision: 239492
URL: http://svn.freebsd.org/changeset/base/239492

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
  Approved by:	re

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

Modified: releng/9.1/sys/dev/usb/quirk/usb_quirk.c
==============================================================================
--- releng/9.1/sys/dev/usb/quirk/usb_quirk.c	Tue Aug 21 11:17:11 2012	(r239491)
+++ releng/9.1/sys/dev/usb/quirk/usb_quirk.c	Tue Aug 21 11:34:40 2012	(r239492)
@@ -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),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208211134.q7LBYerl026885>