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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
| rc-update add bluetooth rc-service bluetooth start
Alpine:~# hciconfig -a hci0: Type: Primary Bus: USB BD Address: E8:51:9E:90:89:EC ACL MTU: 1021:9 SCO MTU: 255:4 DOWN RX bytes:656 acl:0 sco:0 events:40 errors:0 TX bytes:402 acl:0 sco:0 commands:40 errors:0 Features: 0xbf 0x2e 0x4d 0xfe 0xd8 0x3f 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV3 Link policy: RSWITCH SNIFF Link mode: PERIPHERAL ACCEPT
Alpine:~# hciconfig hci0 up
Alpine:~# hciconfig -a hci0: Type: Primary Bus: USB BD Address: E8:51:9E:90:89:EC ACL MTU: 1021:9 SCO MTU: 255:4 UP RUNNING RX bytes:1312 acl:0 sco:0 events:80 errors:0 TX bytes:804 acl:0 sco:0 commands:80 errors:0 Features: 0xbf 0x2e 0x4d 0xfe 0xd8 0x3f 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV3 Link policy: RSWITCH SNIFF Link mode: PERIPHERAL ACCEPT Name: 'AIC8820' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Version: (0xd) Revision: 0xb LMP Version: (0xd) Subversion: 0xb Manufacturer: not assigned (2875)
Alpine:~# bluetoothctl
[bluetooth]# power on [bluetooth]# agent on [bluetooth]# default-agent
[bluetooth]# agent DisplayOnly KeyboardDisplay NoInputNoOutput off DisplayYesNo KeyboardOnly auto on [bluetooth]# agent KeyboardOnly
[bluetooth]# scan on [NEW] Device 50:98:39:35:C2:73 Mi12 [NEW] Device EB:DD:92:06:F5:1B G913 TKL
[bluetooth]# scan off [bluetooth]# pair EB:DD:92:06:F5:1B [bluetooth]# trust EB:DD:92:06:F5:1B [bluetooth]# connect EB:DD:92:06:F5:1B [bluetooth]# info EB:DD:92:06:F5:1B
bluetoothctl devices bluetoothctl discoverable on bluetoothctl scan on bluetoothctl scan off bluetoothctl pair EB:DD:92:06:F5:1B bluetoothctl trust EB:DD:92:06:F5:1B bluetoothctl untrust EB:DD:92:06:F5:1B bluetoothctl connect 50:9y8:39:35:C2:73 bluetoothctl disconnect EB:DD:92:06:F5:1B bluetoothctl remove EB:DD:92:06:F5:1B bluetoothctl block EB:DD:92:06:F5:1B
[G913 TKL]# info Device EB:DD:92:06:F5:1B (random) Name: G913 TKL Alias: G913 TKL Appearance: 0x03c1 (961) Icon: input-keyboard Paired: yes Bonded: yes Trusted: yes Blocked: no Connected: yes LegacyPairing: no UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb) UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb) UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb) UUID: Battery Service (0000180f-0000-1000-8000-00805f9b34fb) UUID: Human Interface Device (00001812-0000-1000-8000-00805f9b34fb) UUID: Vendor specific (00010000-0000-1000-8000-011f2000046d) Modalias: usb:v046DpB35Fd0021 Battery Percentage: 0x32 (50) [G913 TKL]#
Alpine:~# bluetoothctl devices Device EB:DD:92:06:F5:1B G913 TKL Alpine:~# dmesg [ 450.416032] input: G913 TKL Keyboard as /devices/virtual/misc/uhid/0005:046D:B35F.0001/input/input1 [ 450.418050] input: G913 TKL Mouse as /devices/virtual/misc/uhid/0005:046D:B35F.0001/input/input2 [ 450.418668] input: G913 TKL Consumer Control as /devices/virtual/misc/uhid/0005:046D:B35F.0001/input/input3 [ 450.418924] hid-generic 0005:046D:B35F.0001: input: BLUETOOTH HID v0.21 Keyboard [G913 TKL] on e8:51:9e:90:89:ec
|