[PATCH] Add bluetooth support for VAIO VPCEH [0489:e027]

From: Marcos Chaparro
Date: Mon Oct 29 2012 - 09:09:35 EST


Hi,
this patch against 3.7-rc3 identifies my Atheros AR3011 internal bluetooth
device, I just transferred some files from my phone to this debian PC using
bluetooth and it works fine (btw, it needs atheros-firmware package).

Before changing this, lsusb was identifying it as a Foxconn / Hon Hai device,
which is wrong, and it probably loaded a different firmware to the bluetooth
module.

The patches solves the following discussions:
https://answers.launchpad.net/ubuntu/+source/bluez/+question/168992
http://ubuntuforums.org/showthread.php?t=1867214
http://linux-unix-open-source.1053819.n5.nabble.com/Atheros-AR9285-on-
Ubuntu-11-10-Sony-Vaio-VPCEH-wifi-does-t-works-td4931321.html
http://www.vivaolinux.com.br/topico/Rede-Wireless/Bluetooth-vaio-VPCEH-
desabilitado

Please tell me if you won't add it to mainstream for some reason.

Thanks in advance, and greetings from Argentina.

--
Marcos

PS: Sent again without HTML formatting
diff -uNr linux-3.7-rc3.orig/drivers/bluetooth/ath3k.c linux-3.7-rc3.new/drivers/bluetooth/ath3k.c
--- linux-3.7-rc3.orig/drivers/bluetooth/ath3k.c 2012-10-28 16:24:48.000000000 -0300
+++ linux-3.7-rc3.new/drivers/bluetooth/ath3k.c 2012-10-29 09:39:03.459764720 -0300
@@ -67,6 +67,7 @@
{ USB_DEVICE(0x13d3, 0x3304) },
{ USB_DEVICE(0x0930, 0x0215) },
{ USB_DEVICE(0x0489, 0xE03D) },
+ { USB_DEVICE(0x0489, 0xE027) },

/* Atheros AR9285 Malbec with sflash firmware */
{ USB_DEVICE(0x03F0, 0x311D) },
diff -uNr linux-3.7-rc3.orig/drivers/bluetooth/btusb.c linux-3.7-rc3.new/drivers/bluetooth/btusb.c
--- linux-3.7-rc3.orig/drivers/bluetooth/btusb.c 2012-10-28 16:24:48.000000000 -0300
+++ linux-3.7-rc3.new/drivers/bluetooth/btusb.c 2012-10-29 09:39:06.219765159 -0300
@@ -124,6 +124,7 @@
{ USB_DEVICE(0x13d3, 0x3304), .driver_info = BTUSB_IGNORE },
{ USB_DEVICE(0x0930, 0x0215), .driver_info = BTUSB_IGNORE },
{ USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE },
+ { USB_DEVICE(0x0489, 0xe027), .driver_info = BTUSB_IGNORE },

/* Atheros AR9285 Malbec with sflash firmware */
{ USB_DEVICE(0x03f0, 0x311d), .driver_info = BTUSB_IGNORE },