Skip to content

Instantly share code, notes, and snippets.

@gengwg
Created November 24, 2019 01:07
Show Gist options
  • Save gengwg/819260d5cc2e704a2410c7de77889b94 to your computer and use it in GitHub Desktop.
Save gengwg/819260d5cc2e704a2410c7de77889b94 to your computer and use it in GitHub Desktop.
bluetooth centos
gengwg@example:~/nc$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2019-11-23 16:52:45 PST; 6min ago
Docs: man:bluetoothd(8)
Main PID: 20081 (bluetoothd)
Status: "Running"
Tasks: 1
CGroup: /system.slice/bluetooth.service
└─20081 /usr/libexec/bluetooth/bluetoothd
Nov 23 16:52:45 example bluetoothd[20081]: Bluetooth daemon 5.44
Nov 23 16:52:45 example systemd[1]: Started Bluetooth service.
Nov 23 16:52:45 example bluetoothd[20081]: Starting SDP server
Nov 23 16:52:45 example bluetoothd[20081]: Bluetooth management interface 1.14 initialized
Nov 23 16:52:45 example bluetoothd[20081]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSource
Nov 23 16:52:45 example bluetoothd[20081]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSink
Nov 23 16:52:47 example bluetoothd[20081]: Endpoint unregistered: sender=:1.66 path=/MediaEndpoint/A2DPSource
Nov 23 16:52:47 example bluetoothd[20081]: Endpoint unregistered: sender=:1.66 path=/MediaEndpoint/A2DPSink
Nov 23 16:52:50 example bluetoothd[20081]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSource
Nov 23 16:52:50 example bluetoothd[20081]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSink
gengwg@example:~/nc$ rfkill list
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
gengwg@example:~/nc$ hcitool scan
Device is not available: No such device
gengwg@example:~/nc$ sudo hciconfig hci0 up
[sudo] password for gengwg:
gengwg@example:~/nc$ sudo hciconfig hci0
hci0: Type: Primary Bus: USB
BD Address: 00:19:86:00:10:90 ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING
RX bytes:1501 acl:0 sco:0 events:74 errors:0
TX bytes:1098 acl:0 sco:0 commands:73 errors:0
gengwg@example:~/nc$ sudo hcitool scan
Scanning ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment