All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dean McCarron <dean@mercuryresearch.com>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] Patch to add support for Apple Aluminum Bluetooth Keyboard
Date: Fri, 26 Oct 2007 10:46:36 -0700	[thread overview]
Message-ID: <472227FC.9000206@mercuryresearch.com> (raw)


Here's a trivial patch to add support for Apple's aluminum
bluetooth keyboard. The keyboard works out of the the box,
but this enables the Fn modifier key so that a few useful
keys (namely pageup/pagedown using Fn+arrows).

Apologies if I'm not conforming to local patch formatting
conventions, but the needed change is pretty obvious regardless.

--- linux-2.6.23.1/net/bluetooth/hidp/core.c.orig       2007-10-26 
10:28:59.000000000 -0700
+++ linux-2.6.23.1/net/bluetooth/hidp/core.c    2007-10-26 
10:30:59.000000000 -0700
@@ -686,6 +686,7 @@
  } hidp_blacklist[] = {
         /* Apple wireless Mighty Mouse */
         { 0x05ac, 0x030c, HID_QUIRK_MIGHTYMOUSE | 
HID_QUIRK_INVERT_HWHEEL },
+       { 0x05ac, 0x022c, HID_QUIRK_POWERBOOK_HAS_FN },

         { }     /* Terminating entry */
  };


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2007-10-26 17:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26 17:46 Dean McCarron [this message]
2007-10-31 16:32 ` [Bluez-devel] Patch to add support for Apple Aluminum Bluetooth Keyboard Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472227FC.9000206@mercuryresearch.com \
    --to=dean@mercuryresearch.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.