Bug 879408 - Acer Aspire S7 Bluetooth recognized but scanning fails
Summary: Acer Aspire S7 Bluetooth recognized but scanning fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 17
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-22 21:54 UTC by K. Anderson
Modified: 2013-02-27 04:23 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-27 02:29:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
lspci output showing wifi adapter (5.25 KB, text/plain)
2012-11-22 21:54 UTC, K. Anderson
no flags Details
lsusb output showing bluetooth adapter (47.02 KB, text/plain)
2012-11-22 21:55 UTC, K. Anderson
no flags Details
Patch: brings ath3k.c and btusb.c up to linux-next's state as of Jan 20, 2013. This adds new USB ID associations. (3.19 KB, patch)
2013-01-21 05:51 UTC, Daryl
no flags Details | Diff
Screenshot of crash (1.27 MB, image/jpeg)
2013-02-22 22:30 UTC, Daryl
no flags Details
Crash log to go with the screenshot. (43.15 KB, text/plain)
2013-02-22 22:31 UTC, Daryl
no flags Details

Description K. Anderson 2012-11-22 21:54:08 UTC
Created attachment 650040 [details]
lspci output showing wifi adapter

Description of problem:
The bluetooth adapter is recognized in Gnome, hcitool, and rfkill. When attempting to scan for devices the scan completes but fails to find any devices. I have tried this with a bluetooth mouse as well as my Galaxy Nexus phone. I have also tried to make my laptop discoverable and pair from my phone to my laptop but my phone does not see my laptop. 

How reproducible:
Always

Steps to Reproduce:
1. Open bluetooth applet in Gnome Shell
2. Click the "+" sign for a new device
3. Wait indefinitely for the scanning to take place

Alternate steps:
1. Open terminal
2. su - root
3. hcitool scan
4. timeout seen in /var/log/messages

  
Actual results:
Scan times out and no devices are found


Expected results:
Devices should be found and laptop should be visible to other bluetooth devices while in discoverable mode


Additional info:
Acer Aspire S7
Atheros Wireless/Bluetooth combination chip
Core i5 
Fedora 17

Comment 1 K. Anderson 2012-11-22 21:55:19 UTC
Created attachment 650042 [details]
lsusb output showing bluetooth adapter

Comment 2 Daryl 2013-01-21 05:47:27 UTC
I also have this problem. I noticed that rebooting (not powering down) into Fedora after running Windows 8 made the bluetooth work.

I tried the latest linux-next git as of today (Jan 20, 2013) and it worked for bluetooth, but was unstable in other ways (so I stopped using it).

Patching ath3k.c and btusb.c so that they match the linux-next versions seems to fix the problem (I tried it with the Fedora 3.7.2-204 kernel). I will attach the patch that I used and so far works for me.

The only changes that I see are associations of new USB IDs to specific chipsets.

Comment 3 Daryl 2013-01-21 05:51:33 UTC
Created attachment 684062 [details]
Patch: brings ath3k.c and btusb.c up to linux-next's state as of Jan 20, 2013. This adds new USB ID associations.

Comment 4 Vladimir Kangin 2013-02-22 11:34:41 UTC
The same case with all kernels of Fedora 18 x86_64:

kernel-3.7.7-201.fc18.x86_64
kernel-modules-extra-3.7.7-201.fc18.x86_64

kernel-3.7.8-202.fc18.x86_64
kernel-modules-extra-3.7.8-202.fc18.x86_64

kernel-3.7.9-201.fc18.x86_64
kernel-modules-extra-3.7.9-201.fc18.x86_64

Shall I open another ticket for Fedora 18?

Could you please raise up priority.

Thanking in advance,
Vladimir

Comment 5 Josh Boyer 2013-02-22 13:46:28 UTC
This was fixed upstream with commit

commit 2582d529c44d12502a700f1c3db062b9f44679bc
Author: AceLan Kao <acelan.kao>
Date:   Thu Jan 3 12:25:00 2013 +0800

    Bluetooth: Add support for Foxconn / Hon Hai [0489:e056]
    
    Add support for the AR9462 chip
    
    T: Bus=01 Lev=02 Prnt=02 Port=05 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
    D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
    P: Vendor=0489 ProdID=e056 Rev=00.01
    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
    
    Signed-off-by: AceLan Kao <acelan.kao>
    Signed-off-by: Gustavo Padovan <gustavo.padovan.uk>

Which is in the 3.8 kernel.  F18 will be moving to the 3.8 fairly soon, but we can look at getting that patch included sooner.

Comment 6 Josh Boyer 2013-02-22 13:54:29 UTC
Applied to the F18.  Should be in the next submitted update.

Comment 7 Daryl 2013-02-22 22:28:13 UTC
This might or might not be related to the patch I took from the upstream kernel (I don't have another system with bluetooth to test with), but I get kernel crashes sometimes when using the bluetooth mouse that came with the Acer Aspire S7-191.

To reproduce:

1. Apply the above patch (I'm using kernel-3.7.9-201.fc18.x86_64, but I think the older kernels have the same problem).
2. Boot the system with the new kernel, and log into xfce.
3. Turn on the mouse and check that it's working.
4. Turn off the mouse, wait a few seconds.
5. Turn the mouse back on.
6. Wait for the kernel oops.

I will attach the crash log and a screenshot (photo). The top two lines of the screenshot are unrelated (they happen at boot). The screen dump starts at timestamp 116.978630 in the log and is a null pointer dereference. But things appear to start going downhill before that (the log shows previous problems).

The system ends up in a half-hung state and I reboot it with a sysrq sequence.

-Daryl.

Comment 8 Daryl 2013-02-22 22:30:33 UTC
Created attachment 701387 [details]
Screenshot of crash

Comment 9 Daryl 2013-02-22 22:31:29 UTC
Created attachment 701388 [details]
Crash log to go with the screenshot.

Comment 10 Fedora Update System 2013-02-25 19:33:41 UTC
kernel-3.7.9-205.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/kernel-3.7.9-205.fc18

Comment 11 Fedora Update System 2013-02-27 02:29:24 UTC
kernel-3.7.9-205.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Vladimir Kangin 2013-02-27 04:23:13 UTC
(In reply to comment #11)
> kernel-3.7.9-205.fc18 has been pushed to the Fedora 18 stable repository. 
> If problems still persist, please make note of it in this bug report.

Confirmed, problem solved.

P.S. it makes me so happy, many thanks!!!


Note You need to log in before you can comment on or make changes to this bug.