Open marioperator opened 2 years ago
Is this still v32 or v33 rc1?
v32 last downloaded from website
please try v33 beta
Some fixes have been made in v33 for BT
@marioperator do you still have this issue with v33 beta?
@marioperator do you still have this issue with v33 beta?
Hi, I have update v32 to v33 with stable release and issue is still here. When try to remove the gamepad in trusted on emulation station config, The process bluetoothd going to stopped and other device unpair (speaker Bluetooth going to unpair). build a script for restart Bluetooth in bash shell. When restart, speaker Bluetooth autopair, and need re-pair 8bitdo gamepad.
what is your hardware platform? what is your bluetooth controller?
what is your hardware platform? what is your bluetooth controller?
[root@BATOCERA /userdata/system]# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 006: ID 05ac:8218 Apple, Inc. Bluetooth Host Controller
Bus 004 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of B CM2046 Bluetooth)
Bus 004 Device 002: ID 05ac:8242 Apple, Inc. Built-in IR Receiver
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 1411:1819 2.4G Composite Devic
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@BATOCERA /userdata/system]# dmesg | grep -A3 tooth
[ 4.052310] usb 4-6.3: Product: Bluetooth USB Host Controller
[ 4.052312] usb 4-6.3: Manufacturer: Apple Inc.
[ 4.098935] Bluetooth: Core ver 2.22
[ 4.098972] NET: Registered PF_BLUETOOTH protocol family
[ 4.098974] Bluetooth: HCI device and connection manager initialized
[ 4.098979] Bluetooth: HCI socket layer initialized
[ 4.098982] Bluetooth: L2CAP socket layer initialized
[ 4.098986] Bluetooth: SCO socket layer initialized
[ 4.111501] usbcore: registered new interface driver btusb
[ 4.117943] Console: switching to colour frame buffer device 240x67
[ 4.123367] usb 4-6.1: USB disconnect, device number 4
[ 4.236308] Bluetooth: hci0: BCM: chip id 19 build 0846
[ 4.239306] Bluetooth: hci0: BCM: product 05ac:8218
[ 4.242307] Bluetooth: hci0: BCM: features 0x07
[ 4.253528] nouveau 0000:05:00.0: [drm] fb0: nouveaudrmfb frame buffer device
[ 4.260326] Bluetooth: hci0: BlueZ 5.62
[ 4.273920] [drm] Initialized nouveau 1.3.1 20120801 for 0000:05:00.0 on minor 0
[ 4.407296] usb 4-6.2: USB disconnect, device number 5
[ 4.781496] nvidia: loading out-of-tree module taints kernel.
--
[ 18.858462] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 18.858467] Bluetooth: BNEP filters: protocol multicast
[ 18.858473] Bluetooth: BNEP socket layer initialized
[ 18.909579] NET: Registered PF_ALG protocol family
[ 19.357351] Bluetooth: RFCOMM TTY layer initialized
[ 19.357363] Bluetooth: RFCOMM socket layer initialized
[ 19.357370] Bluetooth: RFCOMM ver 1.11
[ 22.854524] input: Echo Dot-4GJ (AVRCP) as /devices/virtual/input/input15
[ 89.926522] CE: hpet increased min_delta_ns to 11521 nsec
[ 94.868114] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 94.868125] Bluetooth: HIDP socket layer initialized
[ 121.964471] bluetoothd[1191]: segfault at 20 ip 000000000047d200 sp 00007ffed77aa5a8 error 4 in bluetoothd[40c000+bb000]
[ 121.964487] Code: f8 01 76 06 c3 0f 1f 44 00 00 e9 8b fd ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f b6 47 28 c3 66 66 2e 0f 1f 84 00 00 00 00 00 <8b> 47 20 83 e8 01 83 f8 01 77 25 85 f6 75 11 31 d2 be 03 00 00 00
[ 158.434468] input: Echo Dot-4GJ (AVRCP) as /devices/virtual/input/input16
[ 193.531597] hid-generic 0005:045E:02E0.0006: unknown main item tag 0x0
[ 193.531681] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:13/0005:045E:02E0.0006/input/input17
[ 193.532724] hid-generic 0005:045E:02E0.0006: input,hidraw3: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28
[ 193.584399] microsoft 0005:045E:02E0.0006: unknown main item tag 0x0
[ 193.584483] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:13/0005:045E:02E0.0006/input/input18
[ 193.584677] microsoft 0005:045E:02E0.0006: input,hidraw3: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28
[ 424.937293] nouveau 0000:05:00.0: fb: trapped read at 010080a000 on channel -1 [0fedf000 unknown] engine 06 [BAR] client 08 [PFIFO_READ] subclient 01 [IN] reason 0000000b [VRAM_LIMIT]
[ 484.539050] input: evmapy as /devices/virtual/input/input19
i should add a flag to run the bt daemon in debug (for the moment, i do it manually). i note it in my todolist for soon.
Ciao, it often happens with the v32 version that in some circumstances it does not reactivate the pairing trust with my 8bitdo SN30 PRO controller. Sometimes I have to remove the trust and repeat the pairing, in other circumstances I find the bluetoothd process with this message in dmesg:
358.820989] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 358.820999] Bluetooth: HIDP socket layer initialized [ 358.913187] hid-generic 0005:045E:02E0.0007: unknown main item tag 0x0 [ 358.913281] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:12/0005:045E:02E0.0007/input/input15 [ 358.913508] hid-generic 0005:045E:02E0.0007: input,hidraw4: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28 [ 358.963479] microsoft 0005:045E:02E0.0007: unknown main item tag 0x0 [ 358.963568] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:12/0005:045E:02E0.0007/input/input16 [ 358.963738] microsoft 0005:045E:02E0.0007: input,hidraw4: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28 [ 843.116559] microsoft 0005:045E:02E0.0008: unknown main item tag 0x0 [ 843.116749] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:11/0005:045E:02E0.0008/input/input17 [ 843.118413] microsoft 0005:045E:02E0.0008: input,hidraw4: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28 [ 856.510563] microsoft 0005:045E:02E0.0009: unknown main item tag 0x0 [ 856.511530] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:12/0005:045E:02E0.0009/input/input18 [ 856.511800] microsoft 0005:045E:02E0.0009: input,hidraw4: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28 [ 1300.904864] microsoft 0005:045E:02E0.000A: unknown main item tag 0x0 [ 1300.904959] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:12/0005:045E:02E0.000A/input/input19 [ 1300.905160] microsoft 0005:045E:02E0.000A: input,hidraw4: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28 [ 1641.099418] microsoft 0005:045E:02E0.000B: unknown main item tag 0x0 [ 1641.099521] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:12/0005:045E:02E0.000B/input/input20 [ 1641.099712] microsoft 0005:045E:02E0.000B: input,hidraw4: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28 [ 1739.389820] microsoft 0005:045E:02E0.000C: unknown main item tag 0x0 [ 1739.389910] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:11/0005:045E:02E0.000C/input/input21 [ 1739.390086] microsoft 0005:045E:02E0.000C: input,hidraw4: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28 [ 2435.576464] microsoft 0005:045E:02E0.000D: unknown main item tag 0x0 [ 2435.576556] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:12/0005:045E:02E0.000D/input/input22 [ 2435.576725] microsoft 0005:045E:02E0.000D: input,hidraw4: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28 [ 3119.669658] CE: hpet increased min_delta_ns to 17281 nsec [ 3119.669941] CE: hpet increased min_delta_ns to 25921 nsec [ 3119.670225] CE: hpet increased min_delta_ns to 38881 nsec [ 5925.118792] microsoft 0005:045E:02E0.000E: unknown main item tag 0x0 [ 5925.118886] input: 8Bitdo SN30 Pro as /devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6.3/4-6.3:1.0/bluetooth/hci0/hci0:11/0005:045E:02E0.000E/input/input23 [ 5925.119284] microsoft 0005:045E:02E0.000E: input,hidraw4: BLUETOOTH HID v9.03 Gamepad [8Bitdo SN30 Pro] on 10:9a:dd:b2:20:28 [13077.568800] traps: bluetoothd[1050] general protection fault ip:7f33e7fea159 sp:7fff176a7ff0 error:0 in libglib-2.0.so.0.6600.8[7f33e7fbd000+9b000]
Ho creato un file di supporto