* [PATCH] Add bluetooth support for VAIO VPCEH [0489:e027]
@ 2012-10-29 13:05 Marcos Chaparro
0 siblings, 0 replies; 6+ messages in thread
From: Marcos Chaparro @ 2012-10-29 13:05 UTC (permalink / raw)
To: Marcel Holtmann, Gustavo Padovan, Johan Hedberg, linux-bluetooth
Cc: linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 907 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 4344 bytes --]
[-- Attachment #2: patchfile --]
[-- Type: text/x-patch, Size: 1165 bytes --]
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 },
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] Add bluetooth support for VAIO VPCEH [0489:e027]
@ 2012-10-29 13:09 Marcos Chaparro
2012-10-31 18:25 ` Gustavo Padovan
0 siblings, 1 reply; 6+ messages in thread
From: Marcos Chaparro @ 2012-10-29 13:09 UTC (permalink / raw)
To: Marcel Holtmann, Gustavo Padovan, Johan Hedberg, linux-bluetooth
Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]
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
[-- Attachment #2: patchfile --]
[-- Type: text/x-patch, Size: 1165 bytes --]
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 },
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Add bluetooth support for VAIO VPCEH [0489:e027]
2012-10-29 13:09 [PATCH] Add bluetooth support for VAIO VPCEH [0489:e027] Marcos Chaparro
@ 2012-10-31 18:25 ` Gustavo Padovan
2012-11-01 22:40 ` [PATCH] ath3k: Add " Marcos Chaparro
0 siblings, 1 reply; 6+ messages in thread
From: Gustavo Padovan @ 2012-10-31 18:25 UTC (permalink / raw)
To: Marcos Chaparro
Cc: Marcel Holtmann, Johan Hedberg, linux-bluetooth, linux-kernel
Hi Marcos,
* Marcos Chaparro <marcos@mrkindustries.com.ar> [2012-10-29 10:09:12 -0300]:
> 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.
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ath3k: Add support for VAIO VPCEH [0489:e027]
2012-10-31 18:25 ` Gustavo Padovan
@ 2012-11-01 22:40 ` Marcos Chaparro
2012-11-01 22:53 ` Gustavo Padovan
0 siblings, 1 reply; 6+ messages in thread
From: Marcos Chaparro @ 2012-11-01 22:40 UTC (permalink / raw)
To: Gustavo Padovan
Cc: Marcel Holtmann, Johan Hedberg, linux-bluetooth, linux-kernel
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 <marcos@mrkindustries.com.ar>
---
Thanks Gustavo for pointing me out to the SubmittingPatches help file. Please
let me know if the patch is actually merged to the mainstream.
diff --git a/linux-3.7-rc3.orig/drivers/bluetooth/ath3k.c b/linux-3.7-
rc3.new/drivers/bluetooth/ath3k.c
index fc2de55..b00000e 100644
--- a/linux-3.7-rc3.orig/drivers/bluetooth/ath3k.c
+++ b/linux-3.7-rc3.new/drivers/bluetooth/ath3k.c
@@ -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) },
diff --git a/linux-3.7-rc3.orig/drivers/bluetooth/btusb.c b/linux-3.7-
rc3.new/drivers/bluetooth/btusb.c
index debda27..ee82f2f 100644
--- a/linux-3.7-rc3.orig/drivers/bluetooth/btusb.c
+++ b/linux-3.7-rc3.new/drivers/bluetooth/btusb.c
@@ -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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] ath3k: Add support for VAIO VPCEH [0489:e027]
2012-11-01 22:40 ` [PATCH] ath3k: Add " Marcos Chaparro
@ 2012-11-01 22:53 ` Gustavo Padovan
2012-11-01 23:19 ` Marcos Chaparro
0 siblings, 1 reply; 6+ messages in thread
From: Gustavo Padovan @ 2012-11-01 22:53 UTC (permalink / raw)
To: Marcos Chaparro
Cc: Marcel Holtmann, Johan Hedberg, linux-bluetooth, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
Hi Marcos,
* Marcos Chaparro <marcos@mrkindustries.com.ar> [2012-11-01 19:40:45 -0300]:
> 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
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ath3k: Add support for VAIO VPCEH [0489:e027]
2012-11-01 22:53 ` Gustavo Padovan
@ 2012-11-01 23:19 ` Marcos Chaparro
0 siblings, 0 replies; 6+ messages in thread
From: Marcos Chaparro @ 2012-11-01 23:19 UTC (permalink / raw)
To: Gustavo Padovan
Cc: Marcel Holtmann, Johan Hedberg, linux-bluetooth, linux-kernel
On Thursday, November 01, 2012 19:53:31 Gustavo Padovan wrote:
> > # 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.
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-11-01 23:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29 13:09 [PATCH] Add bluetooth support for VAIO VPCEH [0489:e027] Marcos Chaparro
2012-10-31 18:25 ` Gustavo Padovan
2012-11-01 22:40 ` [PATCH] ath3k: Add " Marcos Chaparro
2012-11-01 22:53 ` Gustavo Padovan
2012-11-01 23:19 ` Marcos Chaparro
-- strict thread matches above, loose matches on Subject: below --
2012-10-29 13:05 [PATCH] Add bluetooth " Marcos Chaparro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).