Add bluetooth support for VAIO VPCEH [0489:e027]
PATCH 1/1 Add bluetooth support for VAIO VPCEH [0489:e027]
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
drivers/bluetooth/ath3k.c +1 -0
@@ -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) },
drivers/bluetooth/btusb.c +1 -0
@@ -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 },
Hi Marcos,
Quoted 17 lines · Marcos Chaparro
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
Quoted 1 line
Please tell me if you won't add it to mainstream for some reason.
Can you please send me a git formatted patch with your Signed-off-by line in it. See Documentation/SubmittingPatches in the kernel source for more info.
Also add the output of /sys/kernel/debug/usb/devices for this specific device to the commit message. Thanks.
Gustavo
Re: [PATCH] ath3k: Add support for VAIO VPCEH [0489:e027]
Added Atheros AR3011 internal bluetooth device found in Sony VAIO VPCEH to the devices list.
Before this, the bluetooth module was identified as an Foxconn / Hai bluetooth device [0489:e027], now it claims to be an AtherosAR3011 Bluetooth [0cf3:3005].
# cat /sys/kernel/debug/usb/devices T: Bus=01 Lev=02 Prnt=02 Port=04 Cnt=02 Dev#= 11 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0cf3 ProdID=3005 Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
Signed-off by: Marcos A Chaparro <[email protected]>
---
Thanks Gustavo for pointing me out to the SubmittingPatches help file. Please let me know if the patch is actually merged to the mainstream.
linux-3.7- renamed from linux-3.7-rc3.orig/drivers/bluetooth/ath3k.c +0 -0
rc3.new/drivers/bluetooth/ath3k.c
index fc2de55..b00000e 100644
linux-3.7-rc3.new/drivers/bluetooth/ath3k.c renamed from linux-3.7-rc3.orig/drivers/bluetooth/ath3k.c +1 -0
@@ -67,6 +67,7 @@ static struct usb_device_id ath3k_table[] = { { 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) },
linux-3.7- renamed from linux-3.7-rc3.orig/drivers/bluetooth/btusb.c +0 -0
rc3.new/drivers/bluetooth/btusb.c
index debda27..ee82f2f 100644
linux-3.7-rc3.new/drivers/bluetooth/btusb.c renamed from linux-3.7-rc3.orig/drivers/bluetooth/btusb.c +1 -0
@@ -124,6 +124,7 @@ static struct usb_device_id blacklist_table[] = { { 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 },
--
Marcos
Re: [PATCH] ath3k: Add support for VAIO VPCEH [0489:e027]
Hi Marcos,
Quoted 10 lines · Marcos Chaparro
Added Atheros AR3011 internal bluetooth device found in Sony VAIO VPCEH to the devices list.
Before this, the bluetooth module was identified as an Foxconn / Hai bluetooth device [0489:e027], now it claims to be an AtherosAR3011 Bluetooth [0cf3:3005].# cat /sys/kernel/debug/usb/devices T: Bus=01 Lev=02 Prnt=02 Port=04 Cnt=02 Dev#= 11 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0cf3 ProdID=3005 Rev= 0.01
I actually need the output without the patch in, showing the 0x0489 vendor id. Sorry, but we like to document the devices we add support properly.
Gustavo
Re: [PATCH] ath3k: Add support for VAIO VPCEH [0489:e027]
Quoted 7 lines · On Thursday, November 01, 2012 19:53:31 Gustavo Padovan wrote:
Quoted 4 lines
# cat /sys/kernel/debug/usb/devices T: Bus=01 Lev=02 Prnt=02 Port=04 Cnt=02 Dev#= 11 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0cf3 ProdID=3005 Rev= 0.01I actually need the output without the patch in, showing the
0x0489vendor id. Sorry, but we like to document the devices we add support properly.
I rebooted with an old (3.2.0-3-amd64) kernel and I still have the correct ID 0cf3:3005, I can't see the old usb ID.
I tried reloading all the bluetooth related modules but it still gets identified as an 0cf3:3005.
Do you know how can I delete the device firmware to revert it to the original state?
Apparently its keeping the firmware from my patched kernel.
root@bluestreak:/home/marcos# lsusb Bus 001 Device 004: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Best regards
--
Marcos