Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluetooth atheros ar3011: no hci
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Oo.et.oO
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 291
Location: burlington

PostPosted: Thu Apr 05, 2012 9:08 pm    Post subject: bluetooth atheros ar3011: no hci Reply with quote

Code:
glazed bluetooth # lsmod | grep hci 
hci_uart               10844  0
hci_vhci                2862  0
bluetooth              46290  4 hci_uart,hci_vhci,rfcomm,l2cap
ehci_hcd               32111  0


i used to be able to see my bluetooth adapter in lsusb, but after i load the driver it disappears.

hciconfig returns nothing
when i start bluetooth init:
Code:
glazed bluetooth # /etc/init.d/bluetooth restart
bluetooth        | * Shutting down Bluetooth ...                          [ ok ]
bluetooth        | * Starting Bluetooth ...                               [ ok ]
bluetooth        | *   Starting rfcomm ...                                [ ok ]


Code:
glazed bluetooth # lsmod | grep ath3k
ath3k                   2032  0


Code:
glazed bluetooth # dmesg | grep -i blue
Bluetooth: Core ver 2.15
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.15
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: Atheros AR30xx firmware driver ver 1.0
Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCIATH3K protocol initialized
Bluetooth: Atheros AR30xx firmware driver ver 1.0


ideas?

i can't get hciconfig nor hcitool scan to give me anything.

Code:
glazed bluetooth # hcitool scan
Device is not available: No such device
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Sun Feb 10, 2013 5:02 pm    Post subject: Reply with quote

I'm having the same problem with an Atheros AR3011 built into my motherboard. It looks like the firmware hasn't been installed (even if the kernel is setup properly, we need the firmware involved as well). I think it is included in sys-kernel/linux-firmware, but it also can be found here. Installing it (And restarting all bluetooth related stuff) doesn't seem to have changed 'hcitool scan' results, but I am getting more in dmesg, so I think it'll be an important step.

Also: this post.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Sun Feb 10, 2013 7:26 pm    Post subject: Reply with quote

I have the same bluetooth device, but it is an external USB Atheros AR3011 (0cf3:3005).

I force the load of the module ath3k from /etc/conf.d/modules even if the kernel autoload it. The bluetooth adapter is only seen as hci0 by the command hciconfig -a after the boot is finish when I unplug the adaptor and plug it again. It look like the ath3k driver must be load before the adaptor is detected.

With an internal bluetooth device, it is not possible to unplug it. I would suggest to hard blacklist the ath3k module in /etc/modprobe.d/modprobe.conf
Code:
install ath3k /bin/true

So the driver and his dependancies will not be load at boot time. I did that to not loose time for the probe and the configuration of the bluetooth device at early startup. I do not use bluetooth every day.

When I need bluetooth, I load the ath3k module
Code:
modprobe -i ath3k

Then I plug the bluetooth adaptor. Only then I start the bluetooth daemon. Everything work.

Using this sequence perhaps can help.
_________________
Paul
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Mon Feb 11, 2013 10:49 pm    Post subject: Reply with quote

Logicien: Thanks for the reply. I was actually booting my computer up to try out your suggestion when I noticed my mouse wasn't working. It's a USB gaming mouse and I came across this thread in the forum and tried the suggestion from the following post:

ballfire wrote:
Are you building a custom kernel ?

I was having exactly this problem while creating my custom kernel for this notebook (also booting EFI)

Solved it by activating "Improved Transaction Translator scheduling" and "Root Hub Transaction Translators" under "EHCI HCD(USB 2.0) support" in the USB section of the kernel configuration.

Now it works flawlessly.

Greetings


After making the kernel changes (enabling both of those is all I did, aside from the obvious installing of the new kernel) and when I rebooted not only was my mouse working, but the bluetooth was as well. I read through the descriptions of both of those options, and I still don't quite understand what they do, but it seems that the bluetooth adapter in my mainboard is understood as a USB device and this fixed it for me. Thanks again for the suggestion!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum