Thanks, Arch wiki
hciconfig
hcitool scan
Scanning ...
00:02:76:25:A2:23ThinkPad Bluetooth Laser Mouse
echo "0000" | bluez-simple-agent hci0 00:02:76:25:A2:23
RequestPinCode (/org/bluez/899/hci0/dev_00_02_76_25_A2_23)
Enter PIN Code: Release
New device (/org/bluez/899/hci0/dev_00_02_76_25_A2_23)
dbus-send --system --type=method_call --print-reply --dest=org.bluez "/" org.bluez.Manager.ListAdapters
dbus-send --system --type=method_call --print-reply \
--dest=org.bluez "/org/bluez/899/hci0/dev_00_02_76_25_A2_23" \
org.bluez.Device.SetProperty \
string:Trusted variant:boolean:true
sudo hidd --connect 00:02:76:25:A2:23
No comments:
Post a Comment