Bug#664726: add Atheros AR3012 Maryann-PID-VID

2012-03-24 Thread Henry-Nicolas Tourneur
 
 Ok I understand now, thanks for all your advises :)
 I'll test with 3.0 asap (I don't have the laptop right now) and I hope I
 could be able to share result before the end of this week.
 
 Henry-Nicolas.

Hi,

I did just complete a test using a 3.0.25 and it's working with the
patched kernel.
rfkill switches are working and pairing is working too :)

All done using Wheezy bluetooth stack with gnome tools.

Regards,

Henry-Nicolas Tourneur.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664726: add Atheros AR3012 Maryann-PID-VID

2012-03-24 Thread Jonathan Nieder
found 664726 linux-2.6/3.3-1~experimental.1
quit

Henry-Nicolas Tourneur wrote:

 I did just complete a test using a 3.0.25 and it's working with the
 patched kernel.
 rfkill switches are working and pairing is working too :)

 All done using Wheezy bluetooth stack with gnome tools.

Thanks for testing.

50da3e6bec04 (Bluetooth: Add Atheros maryann PIDVID support) still
hasn't been merged to linus's master, but I don't think that should
stop us from applying it in Debian.

To save time once 50da3e6bec04 is merged to linus's tree: here is a
message I was preparing to send before I noticed that it still isn't
part of mainline.

-- 8 --
To: sta...@vger.kernel.org
Cc: linux-blueto...@vger.kernel.org, Cho, Yu-Chen a...@novell.com,
Henry-Nicolas Tourneur henry.nico...@tourneur.be,
Marcel Holtmann mar...@holtmann.org,
Gustavo Padovan gust...@padovan.org,
Johan Hedberg johan.hedb...@gmail.com,
Oliver Neukum oli...@neukum.name, Lee, Chun-Yi j...@suse.com
Subject: [PATCH 3.0.y] Add Atheros maryann PIDVID support

Hi Greg,

Please consider

 9498ba7a1d38 Bluetooth: Adding USB device 13d3:3375 as an Atheros AR3012
 50da3e6bec04 Bluetooth: Add Atheros maryann PIDVID support

for application to the 3.0.y, 3.2.y, and 3.3.y stable trees.  These
add additional USB IDs to the list recognized by the ath3k firmware
loader.

Henry-Nicolas Tourneur wrote[1]:

 I did just complete a test using a 3.0.25 and it's working with the
 patched kernel.
 rfkill switches are working and pairing is working too :)

 All done using Wheezy bluetooth stack with gnome tools.

so the second of the two patches is

 Tested-by: Henry-Nicolas Tourneur henry.nico...@tourneur.be

Both patches have been in linux-next for a while.  The first reached
Linus's master on Tuesday and the second hit master in __ (fill
here).

Thanks,
Jonathan

[1] http://bugs.debian.org/664726



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664726: add Atheros AR3012 Maryann-PID-VID

2012-03-24 Thread Henry-Nicolas Tourneur
Le samedi 24 mars 2012 à 07:06 -0500, Jonathan Nieder a écrit :
 found 664726 linux-2.6/3.3-1~experimental.1
 quit
[..]
 Thanks for testing.
 
 50da3e6bec04 (Bluetooth: Add Atheros maryann PIDVID support) still
 hasn't been merged to linus's master, but I don't think that should
 stop us from applying it in Debian.
 
 To save time once 50da3e6bec04 is merged to linus's tree: here is a
 message I was preparing to send before I noticed that it still isn't
 part of mainline.
 
That's great Jonathan, thanks for providing support :)
I'll follow this up with high interesst, don't hesitate to ask if any
more tests are required :)

Have a nice week-end.

Henry-Nicolas.





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664726: add Atheros AR3012 Maryann-PID-VID

2012-03-21 Thread Henry-Nicolas Tourneur
On Tue, 20 Mar 2012 13:05:55 -0500, Jonathan Nieder jrnie...@gmail.com
wrote:
 Henry-Nicolas Tourneur wrote:
 
 I'm not sure (don't know) if it would work with a 3.0.x, I believe the
 best would be to ask the patch author for this so I did add him in CC
so
 he can reply on this.
 
 Thanks.  Here's another method that can provide some additional
 confidence. ;-)
 
[...]
 
 Jonathan

Thanks for sharing this :) 

However, I'm not sure what you would like me to do, do you need someone to
test against 3.0?
What's the next step required to get it into Debian 3.2 kernel (do I have
something to do for this)?

Best regards,

Henry-Nicolas Tourneur.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664726: add Atheros AR3012 Maryann-PID-VID

2012-03-21 Thread Jonathan Nieder
Henry-Nicolas Tourneur wrote:

 However, I'm not sure what you would like me to do, do you need someone to
 test against 3.0?

Yes, please.  Then once the patch is in linus's tree it can be
included in the 3.0.y and 3.2.y series from kernel.org, which makes it
much easier to share patches if any problems arise with this device in
the future.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664726: add Atheros AR3012 Maryann-PID-VID

2012-03-21 Thread Henry-Nicolas Tourneur
Le mercredi 21 mars 2012 à 12:44 -0500, Jonathan Nieder a écrit :
 Yes, please.  Then once the patch is in linus's tree it can be
 included in the 3.0.y and 3.2.y series from kernel.org, which makes it
 much easier to share patches if any problems arise with this device in
 the future.

Ok I understand now, thanks for all your advises :)
I'll test with 3.0 asap (I don't have the laptop right now) and I hope I
could be able to share result before the end of this week.

Henry-Nicolas.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664726: add Atheros AR3012 Maryann-PID-VID

2012-03-20 Thread Jonathan Nieder
# hardware support
severity 664726 important
tags 664726 + patch upstream
forwarded 664726 http://thread.gmane.org/gmane.linux.bluez.kernel/21886
quit

Hi Henry-Nicolas,

Henry-Nicolas Tourneur wrote:

 I'm running an HP Laptop (DM4-2100eb) and it has an internal Bluetooth
 Atheros adapter identified as the USB device 0cf3:311d.

 With the current kernel, this device doesn't appear to be completely
 managed (facing issues to make it work). Googling on the USB it pointed
 me out the following [0] patch to enable the support for that chip.

Thanks.  The patch is part of Gustavo's bluetooth-next tree:

 50da3e6bec04 Bluetooth: Add Atheros maryann PIDVID support, 2012-03-14

It is not marked Cc: stable@ for some reason.  Do you know if 3.0.x
should get that patch, too, or is it only for 3.2.x?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664726: add Atheros AR3012 Maryann-PID-VID

2012-03-20 Thread Henry-Nicolas Tourneur
Hello Jonathan, thanks for your quick reply :)
 Hi Henry-Nicolas,
 

 
 Thanks.  The patch is part of Gustavo's bluetooth-next tree:
 
  50da3e6bec04 Bluetooth: Add Atheros maryann PIDVID support, 2012-03-14
 
 It is not marked Cc: stable@ for some reason.  Do you know if 3.0.x
 should get that patch, too, or is it only for 3.2.x?

I'm not sure (don't know) if it would work with a 3.0.x, I believe the
best would be to ask the patch author for this so I did add him in CC so
he can reply on this. I guess it wasn't CCed to stable@ simply because
it's not bugfixing.

Since the patch is now in bluetooth-next, it won't be part of Wheezy 3.2
kernel (I believe it's the selected release) unless the Debian Kernel
Team decide to include this patch (which is my hope) :) This is why I
created this report.

Best regards,

Henry-Nicolas Tourneur.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#664726: add Atheros AR3012 Maryann-PID-VID

2012-03-20 Thread Jonathan Nieder
Henry-Nicolas Tourneur wrote:

 I'm not sure (don't know) if it would work with a 3.0.x, I believe the
 best would be to ask the patch author for this so I did add him in CC so
 he can reply on this.

Thanks.  Here's another method that can provide some additional
confidence. ;-)

0. Prerequisites:

apt-get install git build-essential

1. Fetch a copy of the kernel history, if you don't already have one:

git clone \
  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

2. Fetch point releases:

cd linux
git remote add -f stable \
  git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

3. Try 3.0.y:

git checkout stable/linux-3.0.y
cp /boot/config-$(uname -r) .config; # current configuration
make localmodconfig; # optional: minimize configuration

# make sure the ath3k and btusb are included as modules:
make nconfig
 Networking support - Bluetooth subsystem support -
   Bluetooth device drivers -
HCI USB driver, Atheros firmware download driver

make deb-pkg; # optionally with -jnum for parallel build
dpkg -i ../name of package; # as root
reboot
... test test test ...

  Hopefully it reproduces the problem.  So:

4. Try the attached patch:

cd linux
git am -3sc path to patch
make deb-pkg; # maybe with -j4
dpkg -i ../name of package; # as root
reboot
... test test test ...

Another relevant commit in the same spirit:

  9498ba7a1d38 Bluetooth: Adding USB device 13d3:3375 as an Atheros AR3012

Jonathan
From: Cho, Yu-Chen a...@suse.com
Date: Wed, 14 Mar 2012 22:01:21 +0200
Subject: Bluetooth: Add Atheros maryann PIDVID support

commit 50da3e6bec0465657d7fa1e068c2351972250145 upstream.

Add Atheros maryann 0cf3:311d PIDVID support
This module is AR3012 Series.

Include /sys/kernel/debug/usb/devices output here for reference

before:
T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0cf3 ProdID=311d Rev= 0.01
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
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

after:
T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0cf3 ProdID=311d Rev= 0.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
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

Addresses http://bugs.debian.org/664726

Signed-off-by: Cho, Yu-Chen a...@suse.com