uname -a Linux kali 19 55-Re4son Tue Jul 18 44 01 AEST 2019 armv6l GNU

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# uname -a
Linux kali 4.19.55-Re4son+ #1 Tue Jul 2 18:44:01 AEST 2019 armv6l GNU/Linux
# zcat /proc/config.gz | grep -E "CONFIG_BT_HCIUART_SERDEV|CONFIG_SERIAL_DEV_BUS|CONFIG_BT_HCIUART_BCM"
CONFIG_BT_HCIUART_SERDEV=y
CONFIG_BT_HCIUART_BCM=y
CONFIG_SERIAL_DEV_BUS=m
# lsmod | grep serdev
serdev 11120 1 hci_uart
### Try to execute hciuart.service step by step
# cat /proc/device-tree/aliases/uart0
/soc/serial@7e201000
# cat /proc/device-tree/aliases/serial1
/soc/serial@7e201000
# wc -c /proc/device-tree/soc/gpio@7e200000/uart0_pins/brcm\,pins | cut -f 1 -d ' '
16
# /usr/bin/btattach -B /dev/ttyAMA0 -P bcm -S 3000000
[ 1032.533166] uart-pl011 20201000.serial: no DMA platform data
[ 1032.643665] Bluetooth: Core ver 2.22
[ 1032.647491] NET: Registered protocol family 31
[ 1032.652143] Bluetooth: HCI device and connection manager initialized
[ 1032.668647] Bluetooth: HCI socket layer initialized
[ 1032.673656] Bluetooth: L2CAP socket layer initialized
[ 1032.681544] Bluetooth: SCO socket layer initialized
[ 1032.710625] Bluetooth: HCI UART driver ver 2.3
[ 1032.715177] Bluetooth: HCI UART protocol H4 registered
[ 1032.736370] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1032.752477] Bluetooth: HCI UART protocol Broadcom registered
[ 1032.902736] Bluetooth: hci0: BCM: chip id 94
[ 1032.910252] Bluetooth: hci0: BCM: features 0x2e
[ 1032.938542] Bluetooth: hci0: BCM43430A1
[ 1032.942489] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[ 1035.048197] Bluetooth: hci0: command 0x0a0a tx timeout
[ 1043.048223] Bluetooth: hci0: BCM: Patch command 0a0a failed (-110)
# hciconfig
hci0: Type: Primary Bus: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN INIT RUNNING
RX bytes:7 acl:0 sco:0 events:1 errors:0
TX bytes:8 acl:0 sco:0 commands:2 errors:0
# hciconfig hci0 up
[ 1704.170543] Bluetooth: hci0: command 0x1001 tx timeout