Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-09-05 Thread Raphaël Jakse
All right, it seems the module I told you to install isn't compatible 
with your kernel. It is suitable for linux 3.16. Something changed 
between 3.16 and 3.19. Sorry.

I'll try to build a module for your kernel later in the week end. Please 
send me a mail if I forget.

Cheers

Le 05/09/2015 11:06, Jukka Niiranen a écrit :
> Raphaël,
>
> Thank you for very very clear and precise recap.
>
> I followed your advice, but for some reason 'sudo dpkg -i
> ar9462-dkms_1.5.1_all.deb' stops to 'Error! Bad return status for module
> build on kernel: 3.19.0-26-generic (x86_64)'.
>
> I've included both
> - terminal output (build_command.txt) and
> - make.log (build_make.log)
> files in the attached ZIP packet.
>
> Any idea why this happened? I'm ready to test more.
>
>
> ** Attachment added: "Terminal command and it's outcome plus make.log file in 
> one zip."
> 
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+attachment/4457773/+files/terminal_output_and_makelog.zip
>


-- 
Raphaël Jakse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394368

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-28 Thread Raphaël Jakse
That seems to work for me with linux kernel 4.1 and 4.2 rc6 ! Thank you 
very much !

Dmitry, pushing your patch (i.e. reverting the revert) seems safe for 
me, however we should make sure that this version of the firmware will 
be distributed, not the other one, if ever, and that this new version 
works for everyone.

Le 28/08/2015 01:12, arty a écrit :
> Raphaël, check out the solution I have described in
> https://bugs.launchpad.net/ubuntu/+source/linux-lts-
> utopic/+bug/1462614/comments/37
>
> Maybe it will work for you too.
>


-- 
Raphaël Jakse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394368

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-11 Thread Pilot6
The problem is that we cannot control when the firmware is added. And
it is hard to track it. It is not added because of legal reasons.
There is no a driver package with the firmware in an acceptable format
with a distribution license. I think that it should be reverted either
way.
But the maintainers will decide. I wrote about that too.

2015-08-12 0:13 GMT+03:00 Raphaël Jakse :
> All right, so if this file isn't added to a package like linux-firmware
> or linux-firmware-non-free, this seems to ok (and even better) to let
> the fix reach users by upgrade. This will simplify the situation to any
> user who don't have the problem I have.
>
> I didn't remember that I added this firmware file by myself, I'm sorry I
> made you revert your patch which finally don't cause any trouble to
> users who didn't modify their system.
>
> Do you know if there is any plan to include this firmware in Ubuntu
> repositories ?
>
> Le 11/08/2015 22:53, Pilot6 a écrit :
>> It means that common Ubuntu users will not have problems if they
>> manually do not install that firmware.
>>
>> 2015-08-11 23:43 GMT+03:00 Raphaël Jakse :
>>> If I remove the firmware, my system boots correctly and I get :
>>>
>>> [   16.210927] Bluetooth: Patch file not found ar3k/AthrBT_0x11020100.dfu
>>> [   16.210930] Bluetooth: Loading patch file failed
>>>
>>>
>>> Le 11/08/2015 21:28, Pilot6 a écrit :
 Raphael,

 Can you remove the firmware file? Do you still have problems?

>>>
>>> --
>>> Raphaël Jakse
>>>
>>> --
>>> You received this bug notification because you are subscribed to the bug
>>> report.
>>> https://bugs.launchpad.net/bugs/1394368
>>>
>>> Title:
>>>Bluetooth with AR9462 doesn't work (New ID /Firmware)
>>>
>>> Status in linux package in Ubuntu:
>>>Fix Released
>>> Status in linux-firmware package in Ubuntu:
>>>Confirmed
>>> Status in linux source package in Vivid:
>>>Fix Committed
>>> Status in linux-firmware source package in Vivid:
>>>Confirmed
>>>
>>> Bug description:
>>>This is (kind of) a duplicate of:
>>>https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884
>>>(please read)
>>>
>>>I can't use Bluetooth with my AR9462 WLAN/BT-Combo.
>>>In the link above, it has been fixed, but not for my Adapter ID/Firmware:
>>>
>>>System:
>>>Ubuntu 14.10 utopic 64bit - 3.16.0-24-generic x86_64
>>>
>>>lspci -nnk
>>>02:00.0 Network controller [0280]: Qualcomm Atheros AR9462
>>>Wireless Network Adapter [168c:0034] (rev 01)
>>> Subsystem: Lite-On Communications Inc Device [11ad:0802]
>>> Kernel driver in use: ath9k
>>>
>>>lsusb (identified Bluetooth Device)
>>>Bus 002 Device 003: ID 04ca:300d Lite-On Technology Corp.
>>>
>>>ath9k.conf
>>>options ath9k btcoex_enable=1
>>>
>>>The "04ca:300d" ID is not in the Kernel, so i added it via dkms.
>>>
>>>I took ath3k.c and btusb.c out of the 3.16.0-24-generic source files
>>>and changed them:
>>>
>>>diff -urN ./linux-3.16.0/drivers/bluetooth/ath3k.c 
>>> /usr/src/ar9462-1.5.1/ath3k.c
>>>--- ./linux-3.16.0/drivers/bluetooth/ath3k.c  2014-08-04 
>>> 00:25:02.0 +0200
>>>+++ /usr/src/ar9462-1.5.1/ath3k.c 2014-11-19 21:12:46.646265890 +0100
>>>@@ -85,6 +85,7 @@
>>>  { USB_DEVICE(0x04CA, 0x3007) },
>>>  { USB_DEVICE(0x04CA, 0x3008) },
>>>  { USB_DEVICE(0x04CA, 0x300b) },
>>>+ { USB_DEVICE(0x04CA, 0x300d) },
>>>  { USB_DEVICE(0x0930, 0x0219) },
>>>  { USB_DEVICE(0x0930, 0x0220) },
>>>  { USB_DEVICE(0x0b05, 0x17d0) },
>>>@@ -134,6 +135,7 @@
>>>  { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
>>>  { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
>>>  { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
>>>+ { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
>>>  { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
>>>  { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
>>>  { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
>>>
>>>diff -urN ./linux-3.16.0/drivers/bluetooth/btusb.c 
>>> /usr/src/ar9462-1.5.1/btusb.c
>>>--- ./linux-3.16.0/drivers/bluetooth/btusb.c  2014-08-04 
>>> 00:25:02.0 +0200
>>>+++ /usr/src/ar9462-1.5.1/btusb.c 2014-11-19 21:12:46.646265890 +0100
>>>@@ -157,6 +157,7 @@
>>>  { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
>>>  { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
>>>  { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
>>>+ { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
>>>  { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
>>>  { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
>>>  { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
>>>
>>>sudo dkms add -m ar9462 -v 1.5.1
>>>sudo dkms build -m ar9462 -v 1.5.1
>>>sudo dkms install -m ar9462 -v 1.5.

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-11 Thread Raphaël Jakse
All right, so if this file isn't added to a package like linux-firmware 
or linux-firmware-non-free, this seems to ok (and even better) to let 
the fix reach users by upgrade. This will simplify the situation to any 
user who don't have the problem I have.

I didn't remember that I added this firmware file by myself, I'm sorry I 
made you revert your patch which finally don't cause any trouble to 
users who didn't modify their system.

Do you know if there is any plan to include this firmware in Ubuntu 
repositories ?

Le 11/08/2015 22:53, Pilot6 a écrit :
> It means that common Ubuntu users will not have problems if they
> manually do not install that firmware.
>
> 2015-08-11 23:43 GMT+03:00 Raphaël Jakse :
>> If I remove the firmware, my system boots correctly and I get :
>>
>> [   16.210927] Bluetooth: Patch file not found ar3k/AthrBT_0x11020100.dfu
>> [   16.210930] Bluetooth: Loading patch file failed
>>
>>
>> Le 11/08/2015 21:28, Pilot6 a écrit :
>>> Raphael,
>>>
>>> Can you remove the firmware file? Do you still have problems?
>>>
>>
>> --
>> Raphaël Jakse
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1394368
>>
>> Title:
>>Bluetooth with AR9462 doesn't work (New ID /Firmware)
>>
>> Status in linux package in Ubuntu:
>>Fix Released
>> Status in linux-firmware package in Ubuntu:
>>Confirmed
>> Status in linux source package in Vivid:
>>Fix Committed
>> Status in linux-firmware source package in Vivid:
>>Confirmed
>>
>> Bug description:
>>This is (kind of) a duplicate of:
>>https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884
>>(please read)
>>
>>I can't use Bluetooth with my AR9462 WLAN/BT-Combo.
>>In the link above, it has been fixed, but not for my Adapter ID/Firmware:
>>
>>System:
>>Ubuntu 14.10 utopic 64bit - 3.16.0-24-generic x86_64
>>
>>lspci -nnk
>>02:00.0 Network controller [0280]: Qualcomm Atheros AR9462
>>Wireless Network Adapter [168c:0034] (rev 01)
>> Subsystem: Lite-On Communications Inc Device [11ad:0802]
>> Kernel driver in use: ath9k
>>
>>lsusb (identified Bluetooth Device)
>>Bus 002 Device 003: ID 04ca:300d Lite-On Technology Corp.
>>
>>ath9k.conf
>>options ath9k btcoex_enable=1
>>
>>The "04ca:300d" ID is not in the Kernel, so i added it via dkms.
>>
>>I took ath3k.c and btusb.c out of the 3.16.0-24-generic source files
>>and changed them:
>>
>>diff -urN ./linux-3.16.0/drivers/bluetooth/ath3k.c 
>> /usr/src/ar9462-1.5.1/ath3k.c
>>--- ./linux-3.16.0/drivers/bluetooth/ath3k.c  2014-08-04 
>> 00:25:02.0 +0200
>>+++ /usr/src/ar9462-1.5.1/ath3k.c 2014-11-19 21:12:46.646265890 +0100
>>@@ -85,6 +85,7 @@
>>  { USB_DEVICE(0x04CA, 0x3007) },
>>  { USB_DEVICE(0x04CA, 0x3008) },
>>  { USB_DEVICE(0x04CA, 0x300b) },
>>+ { USB_DEVICE(0x04CA, 0x300d) },
>>  { USB_DEVICE(0x0930, 0x0219) },
>>  { USB_DEVICE(0x0930, 0x0220) },
>>  { USB_DEVICE(0x0b05, 0x17d0) },
>>@@ -134,6 +135,7 @@
>>  { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
>>  { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
>>  { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
>>+ { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
>>  { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
>>  { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
>>  { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
>>
>>diff -urN ./linux-3.16.0/drivers/bluetooth/btusb.c 
>> /usr/src/ar9462-1.5.1/btusb.c
>>--- ./linux-3.16.0/drivers/bluetooth/btusb.c  2014-08-04 
>> 00:25:02.0 +0200
>>+++ /usr/src/ar9462-1.5.1/btusb.c 2014-11-19 21:12:46.646265890 +0100
>>@@ -157,6 +157,7 @@
>>  { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
>>  { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
>>  { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
>>+ { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
>>  { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
>>  { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
>>  { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
>>
>>sudo dkms add -m ar9462 -v 1.5.1
>>sudo dkms build -m ar9462 -v 1.5.1
>>sudo dkms install -m ar9462 -v 1.5.1
>>
>>(DKMS package in the same style/versioning as in the bug report above)
>>
>>dkms status
>>ar9462, 1.5.1, 3.16.0-24-generic, x86_64: installed
>>
>>Now the new output:
>>
>>dmesg | egrep 'ath3|ar3|Bluet'
>>[2.787819] Bluetooth: Core ver 2.19
>>[2.787833] Bluetooth: HCI device and connection manager initialized
>>[2.787839] Bluetooth: HCI socket layer initialized
>>[2.787842] Bluetooth: L2CAP socket layer initialized
>>[2.787848] Blue

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-11 Thread Pilot6
It means that common Ubuntu users will not have problems if they
manually do not install that firmware.

2015-08-11 23:43 GMT+03:00 Raphaël Jakse :
> If I remove the firmware, my system boots correctly and I get :
>
> [   16.210927] Bluetooth: Patch file not found ar3k/AthrBT_0x11020100.dfu
> [   16.210930] Bluetooth: Loading patch file failed
>
>
> Le 11/08/2015 21:28, Pilot6 a écrit :
>> Raphael,
>>
>> Can you remove the firmware file? Do you still have problems?
>>
>
>
> --
> Raphaël Jakse
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1394368
>
> Title:
>   Bluetooth with AR9462 doesn't work (New ID /Firmware)
>
> Status in linux package in Ubuntu:
>   Fix Released
> Status in linux-firmware package in Ubuntu:
>   Confirmed
> Status in linux source package in Vivid:
>   Fix Committed
> Status in linux-firmware source package in Vivid:
>   Confirmed
>
> Bug description:
>   This is (kind of) a duplicate of:
>   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884
>   (please read)
>
>   I can't use Bluetooth with my AR9462 WLAN/BT-Combo.
>   In the link above, it has been fixed, but not for my Adapter ID/Firmware:
>
>   System:
>   Ubuntu 14.10 utopic 64bit - 3.16.0-24-generic x86_64
>
>   lspci -nnk
>   02:00.0 Network controller [0280]: Qualcomm Atheros AR9462
>   Wireless Network Adapter [168c:0034] (rev 01)
>Subsystem: Lite-On Communications Inc Device [11ad:0802]
>Kernel driver in use: ath9k
>
>   lsusb (identified Bluetooth Device)
>   Bus 002 Device 003: ID 04ca:300d Lite-On Technology Corp.
>
>   ath9k.conf
>   options ath9k btcoex_enable=1
>
>   The "04ca:300d" ID is not in the Kernel, so i added it via dkms.
>
>   I took ath3k.c and btusb.c out of the 3.16.0-24-generic source files
>   and changed them:
>
>   diff -urN ./linux-3.16.0/drivers/bluetooth/ath3k.c 
> /usr/src/ar9462-1.5.1/ath3k.c
>   --- ./linux-3.16.0/drivers/bluetooth/ath3k.c  2014-08-04 00:25:02.0 
> +0200
>   +++ /usr/src/ar9462-1.5.1/ath3k.c 2014-11-19 21:12:46.646265890 +0100
>   @@ -85,6 +85,7 @@
> { USB_DEVICE(0x04CA, 0x3007) },
> { USB_DEVICE(0x04CA, 0x3008) },
> { USB_DEVICE(0x04CA, 0x300b) },
>   + { USB_DEVICE(0x04CA, 0x300d) },
> { USB_DEVICE(0x0930, 0x0219) },
> { USB_DEVICE(0x0930, 0x0220) },
> { USB_DEVICE(0x0b05, 0x17d0) },
>   @@ -134,6 +135,7 @@
> { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
>   + { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
>
>   diff -urN ./linux-3.16.0/drivers/bluetooth/btusb.c 
> /usr/src/ar9462-1.5.1/btusb.c
>   --- ./linux-3.16.0/drivers/bluetooth/btusb.c  2014-08-04 00:25:02.0 
> +0200
>   +++ /usr/src/ar9462-1.5.1/btusb.c 2014-11-19 21:12:46.646265890 +0100
>   @@ -157,6 +157,7 @@
> { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
>   + { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
>
>   sudo dkms add -m ar9462 -v 1.5.1
>   sudo dkms build -m ar9462 -v 1.5.1
>   sudo dkms install -m ar9462 -v 1.5.1
>
>   (DKMS package in the same style/versioning as in the bug report above)
>
>   dkms status
>   ar9462, 1.5.1, 3.16.0-24-generic, x86_64: installed
>
>   Now the new output:
>
>   dmesg | egrep 'ath3|ar3|Bluet'
>   [2.787819] Bluetooth: Core ver 2.19
>   [2.787833] Bluetooth: HCI device and connection manager initialized
>   [2.787839] Bluetooth: HCI socket layer initialized
>   [2.787842] Bluetooth: L2CAP socket layer initialized
>   [2.787848] Bluetooth: SCO socket layer initialized
>   [2.793551] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
>   [2.793554] Bluetooth: BNEP filters: protocol multicast
>   [2.793561] Bluetooth: BNEP socket layer initialized
>   [3.130779] Bluetooth: Patch file not found ar3k/AthrBT_0x11020100.dfu
>   [3.130783] Bluetooth: Loading patch file failed
>   [3.130788] ath3k: probe of 2-5:1.0 failed with error -12
>   [3.130823] usbcore: registered new interface driver ath3k
>   [9.776503] Bluetooth: RFCOMM TTY layer initialized
>   [9.776512] Bluetooth: RFCOMM socket layer initialized
>   [9.776517] Bluetooth: RFCOMM ver 1.11
>
>   My patch works, but just like in the bug report above, a Firmware file is 
> missing:
>

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-11 Thread Raphaël Jakse
If I remove the firmware, my system boots correctly and I get :

[   16.210927] Bluetooth: Patch file not found ar3k/AthrBT_0x11020100.dfu
[   16.210930] Bluetooth: Loading patch file failed


Le 11/08/2015 21:28, Pilot6 a écrit :
> Raphael,
>
> Can you remove the firmware file? Do you still have problems?
>


-- 
Raphaël Jakse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394368

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-11 Thread Raphaël Jakse
Just tested mainline 4.2 rc6, still affected by the same problem.

Thank you very much for your help, and thank you for your decision to 
report this fix.

-- 
Raphaël Jakse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394368

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-10 Thread Raphaël Jakse
I'm about to send a launchpad bug against linux-image-3.19.0-26-generic 
describing the bug, attaching the mail I sent to the maintainer. Should 
I, even though the patch is going to be reverted?

Should I send a new mail to the maintainers?

Le 11/08/2015 00:28, Pilot6 a écrit :
> I agree. It is weird that upstream they did not notice the report.
> I hope that they will notice it now, because I am the patch author.
> I will send revert patches.
>
-- 
Raphaël Jakse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394368

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-10 Thread Pilot6
I agree. It is weird that upstream they did not notice the report.
I hope that they will notice it now, because I am the patch author.
I will send revert patches.

2015-08-11 1:15 GMT+03:00 Brad Figg :
> @Pilot6
>
> I believe this may be hurting more people than it is helping. The
> correct action is to revert this patch and produce new kernels.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1394368
>
> Title:
>   Bluetooth with AR9462 doesn't work (New ID /Firmware)
>
> Status in linux package in Ubuntu:
>   Fix Released
> Status in linux-firmware package in Ubuntu:
>   Confirmed
> Status in linux source package in Vivid:
>   Fix Committed
> Status in linux-firmware source package in Vivid:
>   Confirmed
>
> Bug description:
>   This is (kind of) a duplicate of:
>   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884
>   (please read)
>
>   I can't use Bluetooth with my AR9462 WLAN/BT-Combo.
>   In the link above, it has been fixed, but not for my Adapter ID/Firmware:
>
>   System:
>   Ubuntu 14.10 utopic 64bit - 3.16.0-24-generic x86_64
>
>   lspci -nnk
>   02:00.0 Network controller [0280]: Qualcomm Atheros AR9462
>   Wireless Network Adapter [168c:0034] (rev 01)
>Subsystem: Lite-On Communications Inc Device [11ad:0802]
>Kernel driver in use: ath9k
>
>   lsusb (identified Bluetooth Device)
>   Bus 002 Device 003: ID 04ca:300d Lite-On Technology Corp.
>
>   ath9k.conf
>   options ath9k btcoex_enable=1
>
>   The "04ca:300d" ID is not in the Kernel, so i added it via dkms.
>
>   I took ath3k.c and btusb.c out of the 3.16.0-24-generic source files
>   and changed them:
>
>   diff -urN ./linux-3.16.0/drivers/bluetooth/ath3k.c 
> /usr/src/ar9462-1.5.1/ath3k.c
>   --- ./linux-3.16.0/drivers/bluetooth/ath3k.c  2014-08-04 00:25:02.0 
> +0200
>   +++ /usr/src/ar9462-1.5.1/ath3k.c 2014-11-19 21:12:46.646265890 +0100
>   @@ -85,6 +85,7 @@
> { USB_DEVICE(0x04CA, 0x3007) },
> { USB_DEVICE(0x04CA, 0x3008) },
> { USB_DEVICE(0x04CA, 0x300b) },
>   + { USB_DEVICE(0x04CA, 0x300d) },
> { USB_DEVICE(0x0930, 0x0219) },
> { USB_DEVICE(0x0930, 0x0220) },
> { USB_DEVICE(0x0b05, 0x17d0) },
>   @@ -134,6 +135,7 @@
> { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
>   + { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
>
>   diff -urN ./linux-3.16.0/drivers/bluetooth/btusb.c 
> /usr/src/ar9462-1.5.1/btusb.c
>   --- ./linux-3.16.0/drivers/bluetooth/btusb.c  2014-08-04 00:25:02.0 
> +0200
>   +++ /usr/src/ar9462-1.5.1/btusb.c 2014-11-19 21:12:46.646265890 +0100
>   @@ -157,6 +157,7 @@
> { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
>   + { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
>
>   sudo dkms add -m ar9462 -v 1.5.1
>   sudo dkms build -m ar9462 -v 1.5.1
>   sudo dkms install -m ar9462 -v 1.5.1
>
>   (DKMS package in the same style/versioning as in the bug report above)
>
>   dkms status
>   ar9462, 1.5.1, 3.16.0-24-generic, x86_64: installed
>
>   Now the new output:
>
>   dmesg | egrep 'ath3|ar3|Bluet'
>   [2.787819] Bluetooth: Core ver 2.19
>   [2.787833] Bluetooth: HCI device and connection manager initialized
>   [2.787839] Bluetooth: HCI socket layer initialized
>   [2.787842] Bluetooth: L2CAP socket layer initialized
>   [2.787848] Bluetooth: SCO socket layer initialized
>   [2.793551] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
>   [2.793554] Bluetooth: BNEP filters: protocol multicast
>   [2.793561] Bluetooth: BNEP socket layer initialized
>   [3.130779] Bluetooth: Patch file not found ar3k/AthrBT_0x11020100.dfu
>   [3.130783] Bluetooth: Loading patch file failed
>   [3.130788] ath3k: probe of 2-5:1.0 failed with error -12
>   [3.130823] usbcore: registered new interface driver ath3k
>   [9.776503] Bluetooth: RFCOMM TTY layer initialized
>   [9.776512] Bluetooth: RFCOMM socket layer initialized
>   [9.776517] Bluetooth: RFCOMM ver 1.11
>
>   My patch works, but just like in the bug report above, a Firmware file is 
> missing:
>   AthrBT_0x11020100.dfu
>
>   I found it neither in linux-firmware 
> (http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/a

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-10 Thread Pilot6
I agree. Maybe it makes sense to remove this patch, until the issue is
sorted out.
I can add a dkms module to ppa for those who are not affected.

@Brad What do you think?

2015-08-11 0:43 GMT+03:00 Raphaël Jakse :
> The patch in my opinion is a regression for some specific laptops like
> mine. We go from "everything works except Bluetooth" to "The system
> works badly, and Bluetooth still doesn't work".
>
> Someone who doesn't know the bug can't even guess easily this is caused
> by the Bluetooth driver (if (s)he even know what is a driver, and
> messing with kernel modules and/or bios is not an option for most people).
>
> I will install the new kernel and report a new bug. I think the new
> report should get a "critical" level. This update will break existing
> installations, which should never happen.
>
> Le 10/08/2015 22:07, Pilot6 a écrit :
>> This wireless module does not work without this patch anyway. So the patch 
>> is not a regression.
>> If some specific laptops have your issue, it nay be fixed by disabling 
>> wireless adapter in bios or locking it by a hardware or software switch.
>>
>> This is actually a bug. I think it is worth creating a separate report
>> for it.
>>
>> You can install lernel from proposed and report a new bug.
>>
>
>
> --
> Raphaël Jakse
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1394368
>
> Title:
>   Bluetooth with AR9462 doesn't work (New ID /Firmware)
>
> Status in linux package in Ubuntu:
>   Fix Released
> Status in linux-firmware package in Ubuntu:
>   Confirmed
> Status in linux source package in Vivid:
>   Fix Committed
> Status in linux-firmware source package in Vivid:
>   Confirmed
>
> Bug description:
>   This is (kind of) a duplicate of:
>   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884
>   (please read)
>
>   I can't use Bluetooth with my AR9462 WLAN/BT-Combo.
>   In the link above, it has been fixed, but not for my Adapter ID/Firmware:
>
>   System:
>   Ubuntu 14.10 utopic 64bit - 3.16.0-24-generic x86_64
>
>   lspci -nnk
>   02:00.0 Network controller [0280]: Qualcomm Atheros AR9462
>   Wireless Network Adapter [168c:0034] (rev 01)
>Subsystem: Lite-On Communications Inc Device [11ad:0802]
>Kernel driver in use: ath9k
>
>   lsusb (identified Bluetooth Device)
>   Bus 002 Device 003: ID 04ca:300d Lite-On Technology Corp.
>
>   ath9k.conf
>   options ath9k btcoex_enable=1
>
>   The "04ca:300d" ID is not in the Kernel, so i added it via dkms.
>
>   I took ath3k.c and btusb.c out of the 3.16.0-24-generic source files
>   and changed them:
>
>   diff -urN ./linux-3.16.0/drivers/bluetooth/ath3k.c 
> /usr/src/ar9462-1.5.1/ath3k.c
>   --- ./linux-3.16.0/drivers/bluetooth/ath3k.c  2014-08-04 00:25:02.0 
> +0200
>   +++ /usr/src/ar9462-1.5.1/ath3k.c 2014-11-19 21:12:46.646265890 +0100
>   @@ -85,6 +85,7 @@
> { USB_DEVICE(0x04CA, 0x3007) },
> { USB_DEVICE(0x04CA, 0x3008) },
> { USB_DEVICE(0x04CA, 0x300b) },
>   + { USB_DEVICE(0x04CA, 0x300d) },
> { USB_DEVICE(0x0930, 0x0219) },
> { USB_DEVICE(0x0930, 0x0220) },
> { USB_DEVICE(0x0b05, 0x17d0) },
>   @@ -134,6 +135,7 @@
> { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
>   + { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
>
>   diff -urN ./linux-3.16.0/drivers/bluetooth/btusb.c 
> /usr/src/ar9462-1.5.1/btusb.c
>   --- ./linux-3.16.0/drivers/bluetooth/btusb.c  2014-08-04 00:25:02.0 
> +0200
>   +++ /usr/src/ar9462-1.5.1/btusb.c 2014-11-19 21:12:46.646265890 +0100
>   @@ -157,6 +157,7 @@
> { USB_DEVICE(0x04ca, 0x3007), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x04ca, 0x300b), .driver_info = BTUSB_ATH3012 },
>   + { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
> { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },
>
>   sudo dkms add -m ar9462 -v 1.5.1
>   sudo dkms build -m ar9462 -v 1.5.1
>   sudo dkms install -m ar9462 -v 1.5.1
>
>   (DKMS package in the same style/versioning as in the bug report above)
>
>   dkms status
>   ar9462, 1.5.1, 3.16.0-24-generic, x86_64: installed
>
>   Now the new output:
>
>   dmesg | egrep 'ath3|ar3|Bluet'
>   [2.787819] Bluetooth: Core ver 2.19
>   [2.787833] Bluetooth: HCI device and connection manager initialized
>   [2.787839] Bluetooth: HCI socket layer initialized
>   [2.787842] Bluetooth: L2CAP 

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-10 Thread Raphaël Jakse
The patch in my opinion is a regression for some specific laptops like 
mine. We go from "everything works except Bluetooth" to "The system 
works badly, and Bluetooth still doesn't work".

Someone who doesn't know the bug can't even guess easily this is caused 
by the Bluetooth driver (if (s)he even know what is a driver, and 
messing with kernel modules and/or bios is not an option for most people).

I will install the new kernel and report a new bug. I think the new 
report should get a "critical" level. This update will break existing 
installations, which should never happen.

Le 10/08/2015 22:07, Pilot6 a écrit :
> This wireless module does not work without this patch anyway. So the patch is 
> not a regression.
> If some specific laptops have your issue, it nay be fixed by disabling 
> wireless adapter in bios or locking it by a hardware or software switch.
>
> This is actually a bug. I think it is worth creating a separate report
> for it.
>
> You can install lernel from proposed and report a new bug.
>


-- 
Raphaël Jakse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394368

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-10 Thread Raphaël Jakse
I commented on the duplicate because I think the situation is a bit 
different.
This patch simply fixes #1394368, that is, for many people who have the 
0x04ca:0x300d device.

However, the same patch makes the same device enter a disconnect / 
reconnect infinite loop in my specific laptop model (Acer Aspire 
V3è371-31KW). The original poster of the duplicate, #1397885, also has 
an Acer Aspire and might be affected by the same issue (not sure about 
it). Sorry about commenting the duplicate if it was wrong.

On my laptop, the patch makes the firmware load into the device and it 
begins an infinite disconnect/reconnect cycle. The boot makes ages, 
lsusb freezes.

Quoting myself 
(https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1397885/comments/22) :

"Under your kernel, the whole computer runs unstable. the login manager 
and X won't always start, the system takes ages to start, lsusb feezes 
and I get a log of the following with journalctl -xe.

  mai 02 19:21:00 white kernel: usb 1-5: new full-speed USB device 
number 49 using xhci_hcd
mai 02 19:21:01 white kernel: usb 1-5: New USB device found, 
idVendor=04ca, idProduct=300d
mai 02 19:21:01 white kernel: usb 1-5: New USB device strings: Mfr=0, 
Product=0, SerialNumber=0
mai 02 19:21:01 white kernel: usb 1-5: USB disconnect, device number 49
mai 02 19:21:01 white kernel: usb 1-5: new full-speed USB device number 
50 using xhci_hcd
mai 02 19:21:01 white kernel: usb 1-5: New USB device found, 
idVendor=04ca, idProduct=300d
mai 02 19:21:01 white kernel: usb 1-5: New USB device strings: Mfr=0, 
Product=0, SerialNumber=0
mai 02 19:21:01 white kernel: usb 1-5: USB disconnect, device number 50
mai 02 19:21:01 white kernel: usb 1-5: new full-speed USB device number 
51 using xhci_hcd
mai 02 19:21:02 white kernel: usb 1-5: New USB device found, 
idVendor=04ca, idProduct=300d
mai 02 19:21:02 white kernel: usb 1-5: New USB device strings: Mfr=0, 
Product=0, SerialNumber=0
mai 02 19:21:02 white kernel: usb 1-5: USB disconnect, device number 51
mai 02 19:21:02 white kernel: usb 1-5: new full-speed USB device number 
52 using xhci_hcd
mai 02 19:21:02 white kernel: usb 1-5: New USB device found, 
idVendor=04ca, idProduct=300d
mai 02 19:21:02 white kernel: usb 1-5: New USB device strings: Mfr=0, 
Product=0, SerialNumber=0
mai 02 19:21:02 white kernel: usb 1-5: USB disconnect, device number 52
mai 02 19:21:03 white kernel: usb 1-5: new full-speed USB device number 
53 using xhci_hcd
mai 02 19:21:03 white kernel: usb 1-5: New USB device found, 
idVendor=04ca, idProduct=300d
mai 02 19:21:03 white kernel: usb 1-5: New USB device strings: Mfr=0, 
Product=0, SerialNumber=0
mai 02 19:21:03 white kernel: usb 1-5: USB disconnect, device number 53
mai 02 19:21:03 white kernel: usb 1-5: new full-speed USB device number 
54 using xhci_hcd
mai 02 19:21:03 white kernel: usb 1-5: New USB device found, 
idVendor=04ca, idProduct=300d
mai 02 19:21:03 white kernel: usb 1-5: New USB device strings: Mfr=0, 
Product=0, SerialNumber=0"

I made a workaround which makes the device work by loading the patched 
modules, unload them and load the unpatched ones. The firmware being 
loaded, the unpatched modules are able to drive the device.

I sent a mail to the Bluetooth maintainer's mailing list last month, but 
for some reasons, it might have been unnoticed, I didn't received any reply.

I'm concerned for unexperienced users of this computer getting trouble 
with new kernels. If I can help, don't hesitate to ask me any 
information about by laptop.

Cheers,
Raphaël.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394368

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1394368] Re: Bluetooth with AR9462 doesn't work (New ID /Firmware)

2015-08-10 Thread Raphaël Jakse
This patch makes Ubuntu unstable on my computer. I commented on bug 
#1397885 to describe the situation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394368

Title:
  Bluetooth with AR9462 doesn't work (New ID /Firmware)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs