Yevgeniy Melnichuk | 26 Jul 12:42 2012

bluetooth does not work (AR9485).

Hi everybody,

my notebook is equipped with a AR9485. Wireless LAN works flawlessly, but bluetooth does not. Scanning shows no devices although my smartphone should be visible. A second notebook equipped with a intel chip finds the smartphone. Other way around does not work either. I configure the notebook with AR9485 to be visible, but it does not show up on my smartphone. Again, with the other notebook it works.

i have found people with similar problems: https://answers.launchpad.net/ubuntu/+source/bluez/+question/186364
but i did not found a solution.

the problem is there with kernel 3.2.4 and 3.5.0

am i doing something wrong or is it a (known?) bug.

Thx in advance,
Yevgeniy

_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Mohammed Shafi | 27 Jul 14:18 2012
Picon

Re: bluetooth does not work (AR9485).

Hi,

On Thu, Jul 26, 2012 at 4:12 PM, Yevgeniy Melnichuk
<yevgeniy.melnichuk <at> googlemail.com> wrote:
> Hi everybody,
>
> my notebook is equipped with a AR9485. Wireless LAN works flawlessly, but
> bluetooth does not. Scanning shows no devices although my smartphone should
> be visible. A second notebook equipped with a intel chip finds the
> smartphone. Other way around does not work either. I configure the notebook
> with AR9485 to be visible, but it does not show up on my smartphone. Again,
> with the other notebook it works.
>
> i have found people with similar problems:
> https://answers.launchpad.net/ubuntu/+source/bluez/+question/186364
> but i did not found a solution.
>
> the problem is there with kernel 3.2.4 and 3.5.0

it was previously working right ? could please point me to the
firmware or something you are using for BT, where i could
just try this out ?

>
> am i doing something wrong or is it a (known?) bug.
>
> Thx in advance,
> Yevgeniy
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel <at> lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>

--

-- 
thanks,
shafi
Yevgeniy Melnichuk | 27 Jul 14:50 2012

Re: bluetooth does not work (AR9485).

Hi Mohammed,

thx for your reply.

it was previously working right ?
no, it was not working previously... neither with the stock kernel in ubuntu 12.04, nor with vanilla 3.5.0

could please point me to the
firmware or something you are using for BT, where i could
just try this out ?
I have never used bluetooth before, so i am not sure, where to look for the information, you ask me for.
How can i tell what firmware i am using?

here is some information, that may help.
output by "lspci -s 02:00.0"
02:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
    Subsystem: Foxconn International, Inc. Device e044
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at c3000000 (64-bit, non-prefetchable) [size=512K]
    Expansion ROM at c0000000 [disabled] [size=64K]
    Capabilities: [40] Power Management version 2
    Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
    Capabilities: [70] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Virtual Channel
    Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
    Kernel driver in use: ath9k
    Kernel modules: ath9k

output by "rfkill list"
0: sony-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: sony-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
4: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

output by hciconfig
hci0:    Type: BR/EDR  Bus: USB
    BD Address: 08:ED:B9:CD:C0:70  ACL MTU: 1022:8  SCO MTU: 183:5
    UP RUNNING PSCAN
    RX bytes:822 acl:0 sco:0 events:33 errors:0
    TX bytes:877 acl:0 sco:0 commands:33 errors:0

the following modules related to ath/bluetooth are loaded
    ath9k
    ath9k_common
    ath9k_hw
    ath
    mac80211
    bluetooth
    bnet
    rfcomm
    btusb

i do the following steps to check whether it works or not.
    i enable bluetooth with the bluetooth-applet in unity.
    i check with "rfkill list" whether everything is unblocked
    i run bluetooth-wizard from gnome-bluetooth package and start scanning for devices. No devices ever show up.

is this informtion sufficient?

bye,
Yevgeniy
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Mohammed Shafi | 30 Jul 16:23 2012
Picon

Re: bluetooth does not work (AR9485).

On Fri, Jul 27, 2012 at 6:20 PM, Yevgeniy Melnichuk
<yevgeniy.melnichuk <at> googlemail.com> wrote:
> Hi Mohammed,
>
> thx for your reply.
>
>
>> it was previously working right ?
>
> no, it was not working previously... neither with the stock kernel in ubuntu
> 12.04, nor with vanilla 3.5.0
>
>
>> could please point me to the
>> firmware or something you are using for BT, where i could
>> just try this out ?
>
> I have never used bluetooth before, so i am not sure, where to look for the
> information, you ask me for.
> How can i tell what firmware i am using?

please follow the procedure mentioned in the link
http://wireless.kernel.org/en/users/Drivers/ath3k

if its AR3012 you need to create a dir
like
/lib/firmware/ar3k/
and then put those dfu
For AR3012, you can find the "AthrBT_0x01020200.dfu" and
"ramps_0x01020200_26.dfu" or "ramps_0x01020200_40.dfu" on the
linux-firmware git tree:

>
> here is some information, that may help.
> output by "lspci -s 02:00.0"
> 02:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless
> Network Adapter (rev 01)
>     Subsystem: Foxconn International, Inc. Device e044
>     Flags: bus master, fast devsel, latency 0, IRQ 16
>     Memory at c3000000 (64-bit, non-prefetchable) [size=512K]
>     Expansion ROM at c0000000 [disabled] [size=64K]
>     Capabilities: [40] Power Management version 2
>     Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
>     Capabilities: [70] Express Endpoint, MSI 00
>     Capabilities: [100] Advanced Error Reporting
>     Capabilities: [140] Virtual Channel
>     Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
>     Kernel driver in use: ath9k
>     Kernel modules: ath9k
>
> output by "rfkill list"
> 0: sony-wifi: Wireless LAN
>     Soft blocked: no
>     Hard blocked: no
> 1: sony-bluetooth: Bluetooth
>     Soft blocked: no
>     Hard blocked: no
> 3: phy0: Wireless LAN
>     Soft blocked: no
>     Hard blocked: no
> 4: hci0: Bluetooth
>     Soft blocked: no
>     Hard blocked: no
>
> output by hciconfig
> hci0:    Type: BR/EDR  Bus: USB
>     BD Address: 08:ED:B9:CD:C0:70  ACL MTU: 1022:8  SCO MTU: 183:5
>     UP RUNNING PSCAN
>     RX bytes:822 acl:0 sco:0 events:33 errors:0
>     TX bytes:877 acl:0 sco:0 commands:33 errors:0
>
> the following modules related to ath/bluetooth are loaded
>     ath9k
>     ath9k_common
>     ath9k_hw
>     ath
>     mac80211
>     bluetooth
>     bnet
>     rfcomm
>     btusb
>
> i do the following steps to check whether it works or not.
>     i enable bluetooth with the bluetooth-applet in unity.
>     i check with "rfkill list" whether everything is unblocked
>     i run bluetooth-wizard from gnome-bluetooth package and start scanning
> for devices. No devices ever show up.
>
> is this informtion sufficient?
>
> bye,
> Yevgeniy
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel <at> lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
Yevgeniy Melnichuk | 30 Jul 19:42 2012

Re: bluetooth does not work (AR9485).

Hi Mohammed,

thx again for the answer.
My mistake was to think AR9485 is responsible for wireless and bluetooth.

i followed the instructions on http://wireless.kernel.org/en/users/Drivers/ath3k
According to the instructions it is a AR3012.
i had to patch ath3k.c and btusb.c and add my device to the support/blacklist list.
i copied ar3k folder from the kernel gitr-repository to /lib.
Now i get the following error when loading ath3k:
Bluetooth: Error in firmware loading err = -110,len = 0, size = 4096

what does it mean?

Bye,
Yevgeniy

2012/7/30 Mohammed Shafi <shafi.ath9k <at> gmail.com>
On Fri, Jul 27, 2012 at 6:20 PM, Yevgeniy Melnichuk
<yevgeniy.melnichuk <at> googlemail.com> wrote:
> Hi Mohammed,
>
> thx for your reply.
>
>
>> it was previously working right ?
>
> no, it was not working previously... neither with the stock kernel in ubuntu
> 12.04, nor with vanilla 3.5.0
>
>
>> could please point me to the
>> firmware or something you are using for BT, where i could
>> just try this out ?
>
> I have never used bluetooth before, so i am not sure, where to look for the
> information, you ask me for.
> How can i tell what firmware i am using?

please follow the procedure mentioned in the link
http://wireless.kernel.org/en/users/Drivers/ath3k

if its AR3012 you need to create a dir
like
/lib/firmware/ar3k/
and then put those dfu
For AR3012, you can find the "AthrBT_0x01020200.dfu" and
"ramps_0x01020200_26.dfu" or "ramps_0x01020200_40.dfu" on the
linux-firmware git tree:


>
> here is some information, that may help.
> output by "lspci -s 02:00.0"
> 02:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless
> Network Adapter (rev 01)
>     Subsystem: Foxconn International, Inc. Device e044
>     Flags: bus master, fast devsel, latency 0, IRQ 16
>     Memory at c3000000 (64-bit, non-prefetchable) [size=512K]
>     Expansion ROM at c0000000 [disabled] [size=64K]
>     Capabilities: [40] Power Management version 2
>     Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
>     Capabilities: [70] Express Endpoint, MSI 00
>     Capabilities: [100] Advanced Error Reporting
>     Capabilities: [140] Virtual Channel
>     Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
>     Kernel driver in use: ath9k
>     Kernel modules: ath9k
>
> output by "rfkill list"
> 0: sony-wifi: Wireless LAN
>     Soft blocked: no
>     Hard blocked: no
> 1: sony-bluetooth: Bluetooth
>     Soft blocked: no
>     Hard blocked: no
> 3: phy0: Wireless LAN
>     Soft blocked: no
>     Hard blocked: no
> 4: hci0: Bluetooth
>     Soft blocked: no
>     Hard blocked: no
>
> output by hciconfig
> hci0:    Type: BR/EDR  Bus: USB
>     BD Address: 08:ED:B9:CD:C0:70  ACL MTU: 1022:8  SCO MTU: 183:5
>     UP RUNNING PSCAN
>     RX bytes:822 acl:0 sco:0 events:33 errors:0
>     TX bytes:877 acl:0 sco:0 commands:33 errors:0
>
> the following modules related to ath/bluetooth are loaded
>     ath9k
>     ath9k_common
>     ath9k_hw
>     ath
>     mac80211
>     bluetooth
>     bnet
>     rfcomm
>     btusb
>
> i do the following steps to check whether it works or not.
>     i enable bluetooth with the bluetooth-applet in unity.
>     i check with "rfkill list" whether everything is unblocked
>     i run bluetooth-wizard from gnome-bluetooth package and start scanning
> for devices. No devices ever show up.
>
> is this informtion sufficient?
>
> bye,
> Yevgeniy
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel <at> lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>

_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Yevgeniy Melnichuk | 31 Jul 16:30 2012

Re: bluetooth does not work (AR9485).

Hi Mohammed,

i made a mistake while patching ath3k.c, but now i got it working.
Thx for your help. Patch is attached.

Yevgeniy

2012/7/30 Yevgeniy Melnichuk <yevgeniy.melnichuk <at> googlemail.com>
Hi Mohammed,

thx again for the answer.
My mistake was to think AR9485 is responsible for wireless and bluetooth.

i followed the instructions on http://wireless.kernel.org/en/users/Drivers/ath3k
According to the instructions it is a AR3012.
i had to patch ath3k.c and btusb.c and add my device to the support/blacklist list.
i copied ar3k folder from the kernel gitr-repository to /lib.
Now i get the following error when loading ath3k:
Bluetooth: Error in firmware loading err = -110,len = 0, size = 4096

what does it mean?

Bye,
Yevgeniy


2012/7/30 Mohammed Shafi <shafi.ath9k <at> gmail.com>
On Fri, Jul 27, 2012 at 6:20 PM, Yevgeniy Melnichuk
<yevgeniy.melnichuk <at> googlemail.com> wrote:
> Hi Mohammed,
>
> thx for your reply.
>
>
>> it was previously working right ?
>
> no, it was not working previously... neither with the stock kernel in ubuntu
> 12.04, nor with vanilla 3.5.0
>
>
>> could please point me to the
>> firmware or something you are using for BT, where i could
>> just try this out ?
>
> I have never used bluetooth before, so i am not sure, where to look for the
> information, you ask me for.
> How can i tell what firmware i am using?

please follow the procedure mentioned in the link
http://wireless.kernel.org/en/users/Drivers/ath3k

if its AR3012 you need to create a dir
like
/lib/firmware/ar3k/
and then put those dfu
For AR3012, you can find the "AthrBT_0x01020200.dfu" and
"ramps_0x01020200_26.dfu" or "ramps_0x01020200_40.dfu" on the
linux-firmware git tree:


>
> here is some information, that may help.
> output by "lspci -s 02:00.0"
> 02:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless
> Network Adapter (rev 01)
>     Subsystem: Foxconn International, Inc. Device e044
>     Flags: bus master, fast devsel, latency 0, IRQ 16
>     Memory at c3000000 (64-bit, non-prefetchable) [size=512K]
>     Expansion ROM at c0000000 [disabled] [size=64K]
>     Capabilities: [40] Power Management version 2
>     Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
>     Capabilities: [70] Express Endpoint, MSI 00
>     Capabilities: [100] Advanced Error Reporting
>     Capabilities: [140] Virtual Channel
>     Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
>     Kernel driver in use: ath9k
>     Kernel modules: ath9k
>
> output by "rfkill list"
> 0: sony-wifi: Wireless LAN
>     Soft blocked: no
>     Hard blocked: no
> 1: sony-bluetooth: Bluetooth
>     Soft blocked: no
>     Hard blocked: no
> 3: phy0: Wireless LAN
>     Soft blocked: no
>     Hard blocked: no
> 4: hci0: Bluetooth
>     Soft blocked: no
>     Hard blocked: no
>
> output by hciconfig
> hci0:    Type: BR/EDR  Bus: USB
>     BD Address: 08:ED:B9:CD:C0:70  ACL MTU: 1022:8  SCO MTU: 183:5
>     UP RUNNING PSCAN
>     RX bytes:822 acl:0 sco:0 events:33 errors:0
>     TX bytes:877 acl:0 sco:0 commands:33 errors:0
>
> the following modules related to ath/bluetooth are loaded
>     ath9k
>     ath9k_common
>     ath9k_hw
>     ath
>     mac80211
>     bluetooth
>     bnet
>     rfcomm
>     btusb
>
> i do the following steps to check whether it works or not.
>     i enable bluetooth with the bluetooth-applet in unity.
>     i check with "rfkill list" whether everything is unblocked
>     i run bluetooth-wizard from gnome-bluetooth package and start scanning
> for devices. No devices ever show up.
>
> is this informtion sufficient?
>
> bye,
> Yevgeniy
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel <at> lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>


Attachment (ath3k.patch): application/octet-stream, 1548 bytes
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Mohammed Shafi | 31 Jul 16:54 2012
Picon

Re: bluetooth does not work (AR9485).

Hi,

On Tue, Jul 31, 2012 at 8:00 PM, Yevgeniy Melnichuk
<yevgeniy.melnichuk <at> googlemail.com> wrote:
> Hi Mohammed,
>
> i made a mistake while patching ath3k.c, but now i got it working.
> Thx for your help. Patch is attached.

awesome!  just now figured out for 3012 devices we have to add VID/PID
some thing like this
http://lkml.indiana.edu/hypermail/linux/kernel/1206.1/00062.html

Please send a public patch for this
for bluetooth you will want to send them to Marcel Holtmann and cc the
linux-bluetooth mailing list, maintainers of ath3k
and cc me to0.
i think you go to see the following maintainer too
Gustavo Padovan <gustavo <at> padovan.org>

pls let me know if you need any help

>
> Yevgeniy
>
>
> 2012/7/30 Yevgeniy Melnichuk <yevgeniy.melnichuk <at> googlemail.com>
>>
>> Hi Mohammed,
>>
>> thx again for the answer.
>> My mistake was to think AR9485 is responsible for wireless and bluetooth.
>>
>> i followed the instructions on
>> http://wireless.kernel.org/en/users/Drivers/ath3k
>> According to the instructions it is a AR3012.
>> i had to patch ath3k.c and btusb.c and add my device to the
>> support/blacklist list.
>> i copied ar3k folder from the kernel gitr-repository to /lib.
>> Now i get the following error when loading ath3k:
>> Bluetooth: Error in firmware loading err = -110,len = 0, size = 4096
>>
>> what does it mean?
>>
>> Bye,
>> Yevgeniy
>>
>>
>> 2012/7/30 Mohammed Shafi <shafi.ath9k <at> gmail.com>
>>>
>>> On Fri, Jul 27, 2012 at 6:20 PM, Yevgeniy Melnichuk
>>> <yevgeniy.melnichuk <at> googlemail.com> wrote:
>>> > Hi Mohammed,
>>> >
>>> > thx for your reply.
>>> >
>>> >
>>> >> it was previously working right ?
>>> >
>>> > no, it was not working previously... neither with the stock kernel in
>>> > ubuntu
>>> > 12.04, nor with vanilla 3.5.0
>>> >
>>> >
>>> >> could please point me to the
>>> >> firmware or something you are using for BT, where i could
>>> >> just try this out ?
>>> >
>>> > I have never used bluetooth before, so i am not sure, where to look for
>>> > the
>>> > information, you ask me for.
>>> > How can i tell what firmware i am using?
>>>
>>> please follow the procedure mentioned in the link
>>> http://wireless.kernel.org/en/users/Drivers/ath3k
>>>
>>> if its AR3012 you need to create a dir
>>> like
>>> /lib/firmware/ar3k/
>>> and then put those dfu
>>> For AR3012, you can find the "AthrBT_0x01020200.dfu" and
>>> "ramps_0x01020200_26.dfu" or "ramps_0x01020200_40.dfu" on the
>>> linux-firmware git tree:
>>>
>>>
>>> >
>>> > here is some information, that may help.
>>> > output by "lspci -s 02:00.0"
>>> > 02:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless
>>> > Network Adapter (rev 01)
>>> >     Subsystem: Foxconn International, Inc. Device e044
>>> >     Flags: bus master, fast devsel, latency 0, IRQ 16
>>> >     Memory at c3000000 (64-bit, non-prefetchable) [size=512K]
>>> >     Expansion ROM at c0000000 [disabled] [size=64K]
>>> >     Capabilities: [40] Power Management version 2
>>> >     Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
>>> >     Capabilities: [70] Express Endpoint, MSI 00
>>> >     Capabilities: [100] Advanced Error Reporting
>>> >     Capabilities: [140] Virtual Channel
>>> >     Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
>>> >     Kernel driver in use: ath9k
>>> >     Kernel modules: ath9k
>>> >
>>> > output by "rfkill list"
>>> > 0: sony-wifi: Wireless LAN
>>> >     Soft blocked: no
>>> >     Hard blocked: no
>>> > 1: sony-bluetooth: Bluetooth
>>> >     Soft blocked: no
>>> >     Hard blocked: no
>>> > 3: phy0: Wireless LAN
>>> >     Soft blocked: no
>>> >     Hard blocked: no
>>> > 4: hci0: Bluetooth
>>> >     Soft blocked: no
>>> >     Hard blocked: no
>>> >
>>> > output by hciconfig
>>> > hci0:    Type: BR/EDR  Bus: USB
>>> >     BD Address: 08:ED:B9:CD:C0:70  ACL MTU: 1022:8  SCO MTU: 183:5
>>> >     UP RUNNING PSCAN
>>> >     RX bytes:822 acl:0 sco:0 events:33 errors:0
>>> >     TX bytes:877 acl:0 sco:0 commands:33 errors:0
>>> >
>>> > the following modules related to ath/bluetooth are loaded
>>> >     ath9k
>>> >     ath9k_common
>>> >     ath9k_hw
>>> >     ath
>>> >     mac80211
>>> >     bluetooth
>>> >     bnet
>>> >     rfcomm
>>> >     btusb
>>> >
>>> > i do the following steps to check whether it works or not.
>>> >     i enable bluetooth with the bluetooth-applet in unity.
>>> >     i check with "rfkill list" whether everything is unblocked
>>> >     i run bluetooth-wizard from gnome-bluetooth package and start
>>> > scanning
>>> > for devices. No devices ever show up.
>>> >
>>> > is this informtion sufficient?
>>> >
>>> > bye,
>>> > Yevgeniy
>>> >
>>> > _______________________________________________
>>> > ath9k-devel mailing list
>>> > ath9k-devel <at> lists.ath9k.org
>>> > https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>> >
>>
>>
>
Mohammed Shafi | 31 Jul 17:07 2012
Picon

Re: bluetooth does not work (AR9485).

Hi,

ensure if you are using WLAN + BT, make sure you enable BTCOEX in
.config and as a module param
http://linuxwireless.org/en/users/Drivers/ath9k/btcoex

Gmane