Bug 73071 - Connection lost when transfer big file via Bluetooth on ASUS T100TA
Summary: Connection lost when transfer big file via Bluetooth on ASUS T100TA
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Bluetooth (show other bugs)
Hardware: i386 Linux
: P1 normal
Assignee: linux-bluetooth@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-28 06:01 UTC by Jin Yao
Modified: 2014-04-16 01:01 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.14-rc3
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Jin Yao 2014-03-28 06:01:20 UTC
Broadcom bluetooth chip BCM43241 is used on various Baytrail based boards such as Asus Transformer Book T100TA.

With this patch (https://lkml.org/lkml/2014/2/20/246), we can enable bluetooth on ASUS T100TA. The steps are below:

1. Attach the serial device and you should see it appearing as HCI device:

        % hciattach /dev/ttyS1 bcm2035 921600 flow
        ...
        % hciconfig
        hci0:   Type: BR/EDR  Bus: UART
        BD Address: <your addr>  ACL MTU: 1021:8  SCO MTU: 64:1
        DOWN
        RX bytes:0 acl:0 sco:0 events:58 errors:0
        TX bytes:0 acl:0 sco:0 commands:58 errors:0

2. Initialize the HCI device and start scanning for remote devices:

        % hciconfig hci0 up
        % hcitool scan
        Scanning ...

3. Transferring small files from/to ASUS T100TA via hci0 is successful.
But when I transfer a 2GB file, after transferring for a while, the dmesg says:

Bluetooth: hci0 command 0x1403 tx timeout
Bluetooth: hci0 command 0x0c2d tx timeout
……

The connection is broken. It looks like the bluetooth module is crashing
somehow and the UART is passing the data normally. The timeouts sound like the
BT module has just stopped responding for some reason.
Comment 1 Alan 2014-04-08 13:51:42 UTC
If you close the uart completely, stick it in D3 and back into D0 and then re-open it does it come back ?
Comment 2 Jin Yao 2014-04-16 01:01:44 UTC
Sorry, for some reason, I have to stick HSUART in D0 in test. The issue may be related with 8250 DMA usage, but not the final conclusion.

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