BlueTooth Issues Hikey 970


#1

The Bluetooth is not working on the Hikey 970.
I remember reading somewhere there was a problem with the dtsi or something.
I’m wondering if this ever got fixed or ever will be fixed.

You see the errors during boot up.
And if you try to init bt after boot up you get the same. ->> hciconfig hci0 up

root@hikey970:~# hciconfig hci0 up
[ 554.470047] (stk) :ldisc installation timeout
[ 555.494065] (stk) : timed out waiting for ldisc to be un-installed
[ 556.614305] (stk) :ldisc installation timeout
[ 557.638061] (stk) : timed out waiting for ldisc to be un-installed
[ 558.758064] (stk) :ldisc installation timeout
[ 559.782071] (stk) : timed out waiting for ldisc to be un-installed
[ 560.902071] (stk) :ldisc installation timeout
[ 561.926061] (stk) : timed out waiting for ldisc to be un-installed
[ 563.046064] (stk) :ldisc installation timeout
[ 564.070305] (stk) : timed out waiting for ldisc to be un-installed
[ 565.190304] (stk) :ldisc installation timeout
[ 566.214374] (stk) : timed out waiting for ldisc to be un-installed
[ 566.222704] Bluetooth: st_register failed -22
Can’t init device hci0: Input/output error (5)

I have noticed this causes Light Display Manager to fail Startup as well due to the errors interfering with the boot up.


#2

This is what i find in the kirib970-hikey970.dts.
The reason that Bluetooth is not working.
Is there a fix for this??

/* bluetooth - TI WL1837 */
kim {
	compatible = "kim";
	/*
	 * FIXME: The following is complete CRAP since
	 * the vendor driver doesn't follow the gpio
	 * binding. Passing in a magic Linux gpio number
	 * here until we fix the vendor driver.
	 */
	/* BT_EN: GPIO_054_BT_EN */
	nshutdown_gpio = <462>;
	dev_name = "/dev/ttyAMA4";
	flow_cntrl = <1>;
	baud_rate = <115200>;
	/* baud_rate = <3000000>; */
	/* baud_rate = <230400>; ok */
	/* baud_rate = <921600>; ok */
	/* baud_rate = <1500000>; nok */
};