Enter command: sudo hciconfig -a or sudo hciconfig dev, error message returned: Can't open HCI socket.: Permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snappy-hwe-snaps |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Bluetooth Information
Installed BlueZ using: snap install bluez,
enter command: sudo bluetoothctl -v, returns version 5.47
enter command: sudo systemctl status snap.bluez.
enter command: sudo hciconfig -a, returns Can't open HCI socket.: Permission denied
enter command: sudo hciconfig dev, returns Can't open HCI socket.: Permission denied
OS Information
enter command: cat /etc/os-release, returns NAME="Ubuntu Core", VERSION="16"
enter command: hostnamectl, returns Kernel: Linux 4.4.0-1110-raspi2, Architecture=arm
Device Information
Raspberry Pi model 3
Question
How do I fix the permission denied issue so that the hci0 device can be accessed using hciconfig and/or hcitool?
Problem resolved.