Skip to content

Instantly share code, notes, and snippets.

@shouyu
Created July 11, 2012 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shouyu/3092278 to your computer and use it in GitHub Desktop.
Save shouyu/3092278 to your computer and use it in GitHub Desktop.
bt patch
--- a/drivers/bluetooth/ath3k.c 2012-05-21 07:29:13.000000000 +0900
+++ b/drivers/bluetooth/ath3k.c 2012-07-12 01:49:24.550019750 +0900
@@ -77,6 +77,7 @@
{ USB_DEVICE(0x04CA, 0x3005) },
{ USB_DEVICE(0x13d3, 0x3362) },
{ USB_DEVICE(0x0CF3, 0xE004) },
+ { USB_DEVICE(0x0489, 0xE04D) },
/* Atheros AR5BBU12 with sflash firmware */
{ USB_DEVICE(0x0489, 0xE02C) },
@@ -98,6 +99,7 @@
{ USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },
+ { USB_DEVICE(0x0489, 0xe04d), .driver_info = BTUSB_ATH3012 },
{ } /* Terminating entry */
};
--- a/drivers/bluetooth/btusb.c 2012-05-21 07:29:13.000000000 +0900
+++ b/drivers/bluetooth/btusb.c 2012-07-12 01:57:50.990023644 +0900
@@ -110,6 +110,7 @@
/* Foxconn - Hon Hai */
{ USB_DEVICE(0x0489, 0xe033) },
+ { USB_DEVICE(0x0489, 0xe04d) },
{ } /* Terminating entry */
};
@@ -139,7 +140,8 @@
{ USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },
-
+ { USB_DEVICE(0x0489, 0xe04d), .driver_info = BTUSB_ATH3012 },
+
/* Atheros AR5BBU12 with sflash firmware */
{ USB_DEVICE(0x0489, 0xe02c), .driver_info = BTUSB_IGNORE },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment