Skip to contentSkip to conversation

include patch to solve bug 916319

PATCH Diego Carrera Gallego 2 participants 2 messages Feb 29, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

According instructions of Joseph Salisbury at
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/916319

I send this patch, in order to include into ubuntu kernel,

Credits to: eran, http://thread.gmane.org/gmane.linux.bluez.kernel/18801

Changelog: Bluetooth: Adding USB device 13d3:3375 as an Atheros AR3012. Description:

The bluetooth module in the Asus UX31/UX21 is based on Atheros AR3012 and requires a firmware to be uploaded before it's usable.

output of usb-devices for this module:

T:  Bus=01 Lev=02 Prnt=02 Port=07 Cnt=03 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=13d3 ProdID=3375 Rev=00.02
S:  Manufacturer=Atheros Communications
S:  Product=Bluetooth USB Host Controller
S:  SerialNumber=Alaska Day 2006
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
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb

------------

Please, tell me if everything is ok

Thanks so much

Diego

drivers/bluetooth/ath3k.c +2 -0
diff -ur linux-3.2.5.orig/drivers/bluetooth/ath3k.c linux-3.2.5/drivers/bluetooth/ath3k.c
@@ -70,6 +70,7 @@
 
 	/* Atheros AR3012 with sflash firmware*/
 	{ USB_DEVICE(0x0CF3, 0x3004) },
+	{ USB_DEVICE(0x13d3, 0x3375) },
 
 	/* Atheros AR5BBU12 with sflash firmware */
 	{ USB_DEVICE(0x0489, 0xE02C) },
@@ -86,6 +87,7 @@
 
 	/* Atheros AR3012 with sflash firmware*/
 	{ USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 },
+	{ USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
 
 	{ }	/* Terminating entry */
 };
drivers/bluetooth/btusb.c +1 -0
diff -ur linux-3.2.5.orig/drivers/bluetooth/btusb.c linux-3.2.5/drivers/bluetooth/btusb.c
@@ -125,6 +125,7 @@
 
 	/* Atheros 3012 with sflash firmware */
 	{ USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 },
+	{ USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
 
 	/* Atheros AR5BBU12 with sflash firmware */
 	{ USB_DEVICE(0x0489, 0xe02c), .driver_info = BTUSB_IGNORE },
#1 lore raw

Hi Diego,

Quoted 10 lines

According instructions of Joseph Salisbury at
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/916319

I send this patch, in order to include into ubuntu kernel,

Credits to: eran, http://thread.gmane.org/gmane.linux.bluez.kernel/18801

Changelog: Bluetooth: Adding USB device 13d3:3375 as an Atheros AR3012. Description:

You sent your request to the linux input subsystem, which (usually) does not handle bluetooth patches. I have added the correct maintainer to CC here.

It seems the patch you refer to is already on-route to the mainline kernel, although it has yet to appear in linux-next. Thus, nothing more should need to be done but wait.

Once the patch is available upstream, if you want the attention of the ubuntu kernel developers, try sending a mail to their list ([email protected]), asking for a cherry-pick. Make sure to motivate the pick properly. :-)

Quoted 51 lines

The bluetooth module in the Asus UX31/UX21 is based on Atheros AR3012 and requires a firmware to be uploaded before it's usable.

output of usb-devices for this module:

T:  Bus=01 Lev=02 Prnt=02 Port=07 Cnt=03 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=13d3 ProdID=3375 Rev=00.02
S:  Manufacturer=Atheros Communications
S:  Product=Bluetooth USB Host Controller
S:  SerialNumber=Alaska Day 2006
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
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb

------------

Please, tell me if everything is ok

Thanks so much

Diego

diff -ur linux-3.2.5.orig/drivers/bluetooth/ath3k.c linux-3.2.5/drivers/bluetooth/ath3k.c

drivers/bluetooth/ath3k.c +2 -0
@@ -70,6 +70,7 @@
 
 	/* Atheros AR3012 with sflash firmware*/
 	{ USB_DEVICE(0x0CF3, 0x3004) },
+	{ USB_DEVICE(0x13d3, 0x3375) },
 
 	/* Atheros AR5BBU12 with sflash firmware */
 	{ USB_DEVICE(0x0489, 0xE02C) },
@@ -86,6 +87,7 @@
 
 	/* Atheros AR3012 with sflash firmware*/
 	{ USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 },
+	{ USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
 
 	{ }	/* Terminating entry */
 };

diff -ur linux-3.2.5.orig/drivers/bluetooth/btusb.c linux-3.2.5/drivers/bluetooth/btusb.c

drivers/bluetooth/btusb.c line 131

Quoted 7 lines
drivers/bluetooth/btusb.c +1 -0
@@ -125,6 +125,7 @@
 
 	/* Atheros 3012 with sflash firmware */
 	{ USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 },
+	{ USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
 
 	/* Atheros AR5BBU12 with sflash firmware */
 	{ USB_DEVICE(0x0489, 0xe02c), .driver_info = BTUSB_IGNORE },

Thanks,
Henrik