ayufan-pine64 / linux-build

Pine64 Linux build scripts, tools and instructions (based on Longsleep work)
MIT License
154 stars 36 forks source link

Bluetooth Mouse not work on 0.7.5 #35

Open sujunmin opened 7 years ago

sujunmin commented 7 years ago

I use MI Mouse on ubuntu mate release 0.7.5, pinebook, and I can not use it for bluetooth, but It works for Wifi dongle, Android 7.1.

sunxidrm enabled.

The dmesg show this.

[ 746.332073] bluetoothd[576]: unhandled level 1 translation fault (11) at 0x00000020, esr 0x92000005 [ 746.332100] pgd = ffffffc077fd2000 [ 746.335972] [00000020] *pgd=0000000000000000

[ 746.341164] CPU: 0 PID: 576 Comm: bluetoothd Tainted: G C O 3.10.105-bsp-1.2-ayufan-88 #1 [ 746.341172] task: ffffffc07af66040 ti: ffffffc077fe0000 task.ti: ffffffc077fe0000 [ 746.341200] PC is at 0x557a26d4f0 [ 746.341205] LR is at 0x7fa0f471cc [ 746.341211] pc : [<000000557a26d4f0>] lr : [<0000007fa0f471cc>] pstate: 60000000 [ 746.341215] sp : 0000007fc6f7f630 [ 746.341219] x29: 0000007fc6f7f630 x28: 0000000000000000 [ 746.341225] x27: 0000007fa0f257e8 x26: 000000557a355470 [ 746.341232] x25: 0000007fa0fe29a0 x24: 0000000000000000 [ 746.341237] x23: 0000007fa0fe1000 x22: 000000557a330810 [ 746.341243] x21: 000000557a2b7c30 x20: 000000557a33a920 [ 746.341249] x19: 0000000000000000 x18: 0000000000000014 [ 746.341255] x17: 0000007fa0f471a0 x16: 000000557a322a48 [ 746.341261] x15: 0000000000000020 x14: 5939364d2e6f666e [ 746.341267] x13: 692f31423a31373a x12: 35383a39353a4231 [ 746.341273] x11: 000000557a34bf00 x10: 0000000000000004 [ 746.341279] x9 : 000000557a362370 x8 : 0000000000000000 [ 746.341285] x7 : 0000000000000000 x6 : 0000007fa0f25218 [ 746.341291] x5 : 0000007fa0e479d0 x4 : 0000000000000000 [ 746.341297] x3 : 000000557a3423c0 x2 : 000000557a327000 [ 746.341303] x1 : 000000557a33a920 x0 : 0000000000000000

mbrudka commented 7 years ago

Confirmed for the same mouse. The problem is in bluetoothd which crashes after connection to MiMouse. The same mouse is handled correctly by 5.43-0ubuntu1@bluez@zesty@kubuntu@amd64.

sujunmin commented 7 years ago

I had use bluez 5.43, use this method. https://askubuntu.com/questions/883713/using-bluez-5-43-on-ubuntu-16-04 But still can not use this mouse, even thought the bluetoothd/bluez did not crash.

If somebody want to use bluez 5.43 and not want to build packages, you can download the attachment to install it. bluez_5.43.tar.gz