Skip to content

Bluetooth not working #34

Open
Open
@YiChunHung

Description

I compiled the kernel by my own through the manual on the official website.

Here is the command I run to generate the make config and some information.

gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)

[*] Networking support  --->
	<*>   Bluetooth subsystem support  --->
		--- Bluetooth subsystem support                                                          
		<*>   RFCOMM protocol support                                                            
		[*]     RFCOMM TTY support                                                               
		<*>   BNEP protocol support                                                              
		[*]     Multicast filter support                                                         
		[*]     Protocol filter support                                                          
		<*>   HIDP protocol support                                                              
		      Bluetooth device drivers  --->
					<*> HCI USB driver                                                                       
					<*> HCI SDIO driver                                                                      
					<*> HCI UART driver                                                                      
					[*]   UART (H4) protocol support                                                         
					[*]   BCSP protocol support                                                              
					[*]   Atheros AR300x serial support                                                      
					[*]   HCILL protocol support                                                             
					[*]   Three-wire UART (H5) protocol support                                              
					<*> HCI BCM203x USB driver                                                               
					<*> HCI BPA10x USB driver                                                                
					<*> HCI BlueFRITZ! USB driver                                                            
					<*> HCI VHCI (Virtual HCI device) driver                                                 
					<*> Marvell Bluetooth driver support                                                     
					<*>   Marvell BT-over-SDIO driver                                                        
					<*> Atheros firmware download driver                                                     
					<*> Texas Instruments WiLink7 driver
	<*>   RF switch subsystem support  --->
		--- RF switch subsystem support                                                          
		[*]   RF switch input support                                                            
		<*>   Generic rfkill regulator driver                                                    
		<*>   GPIO RFKILL driver
Device Drivers  --->
	Misc devices  --->
		Texas Instruments shared transport line discipline  --->
			<*> Shared transport core driver
			<*>   HCI TTY emulation driver for Bluetooth
	[*] USB support  --->
		--- USB support
		{*}   Support for Host-side USB
		<*>     EHCI HCD (USB 2.0) support

And here is the error about bluetooth on the boot process.

Ubuntu 16.04.2 LTS arm ttymxc0

default username:password is [ubuntu:temppwd]

arm login: (stk) : timed out waiting for ldisc to be un-installed
(stk) :ldisc installation timeout
[   19.159640] (stk) : timed out waiting for ldisc to be un-installed
(stk) :ldisc installation timeout
(stk) : timed out waiting for ldisc to be un-installed
[   22.379938] (stk) :ldisc installation timeout
(stk) : timed out waiting for ldisc to be un-installed
(stk) :ldisc installation timeout
[   25.489762] (stk) : timed out waiting for ldisc to be un-installed
(stk) :ldisc installation timeout
(stk) : timed out waiting for ldisc to be un-installed
[   27.606764] Bluetooth: st_register failed -22

And I try to use hciconfig to start the bluetooth. The following is the result.

ubuntu@arm:~$ sudo hciconfig
[sudo] password for ubuntu: 
hci0:   Type: BR/EDR  Bus: UART
        BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
        DOWN 
        RX bytes:0 acl:0 sco:0 events:0 errors:0
        TX bytes:0 acl:0 sco:0 commands:0 errors:0

ubuntu@arm:~$ sudo hciconfig hci0 up
[   86.509724] (stk) :ldisc installation timeout[   87.509724] (stk) : timed out waiting for ldisc to be un-installed[   88.619735] (stk) :ldisc installation timeout[   89.619735] (stk) : timed out waiting for ldisc to be un-installed[   90.729728] (stk) :ldisc installation timeout[   91.729734] (stk) : timed out waiting for ldisc to be un-installed[   92.839749] (stk) :ldisc installation timeout[   93.839733] (stk) : timed out waiting for ldisc to be un-installed[   94.949740] (stk) :ldisc installation timeout
(stk) : timed out waiting for ldisc to be un-installed
(stk) :ldisc installation timeout
(stk) : timed out waiting for ldisc to be un-installed
[   98.066455] Bluetooth: st_register failed -22
Can't init device hci0: Input/output error (5)

please help me out. I got stuck on it for a month.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions