lsusb
dmesg | grep Blue
dpkg -l | grep blue
hcioconfig -a
rfkill list
guido@guido:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 8087:0a2b Intel Corp.
Bus 001 Device 003: ID 064e:3410 Suyin Corp.
Bus 001 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
guido@guido:~$ dmesg | grep Blue
[ 5.616802] Bluetooth: Core ver 2.22
[ 5.616816] Bluetooth: HCI device and connection manager initialized
[ 5.616819] Bluetooth: HCI socket layer initialized
[ 5.616821] Bluetooth: L2CAP socket layer initialized
[ 5.616825] Bluetooth: SCO socket layer initialized
[ 5.624812] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
[ 5.625761] Bluetooth: hci0: Device revision is 16
[ 5.625762] Bluetooth: hci0: Secure boot is enabled
[ 5.625763] Bluetooth: hci0: OTP lock is enabled
[ 5.625764] Bluetooth: hci0: API lock is enabled
[ 5.625765] Bluetooth: hci0: Debug lock is disabled
[ 5.625766] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 5.626933] Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
[ 7.043949] Bluetooth: hci0: Waiting for firmware download to complete
[ 7.044736] Bluetooth: hci0: Firmware loaded in 1387411 usecs
[ 7.044780] Bluetooth: hci0: Waiting for device to boot
[ 7.056765] Bluetooth: hci0: Device booted in 11715 usecs
[ 7.056910] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc
[ 7.058750] Bluetooth: hci0: Applying Intel DDC parameters completed
[ 7.125870] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.125872] Bluetooth: BNEP filters: protocol multicast
[ 7.125876] Bluetooth: BNEP socket layer initialized
[ 8.041439] Bluetooth: RFCOMM TTY layer initialized
[ 8.041447] Bluetooth: RFCOMM socket layer initialized
[ 8.041452] Bluetooth: RFCOMM ver 1.11
[ 33.207747] Bluetooth: hci0: Firmware revision 0.1 build 103 week 50 2016
[ 2413.298764] Bluetooth: hci0 SCO packet for unknown connection handle 0
[ 2413.308787] Bluetooth: hci0 SCO packet for unknown connection handle 0
[ 2413.308793] Bluetooth: hci0 SCO packet for unknown connection handle 0
[ 2413.308796] Bluetooth: hci0 SCO packet for unknown connection handle 0
[ 2418.335344] Bluetooth: hci0 SCO packet for unknown connection handle 257
[ 2418.335354] Bluetooth: hci0 SCO packet for unknown connection handle 257
[ 2440.676748] Bluetooth: hci0 SCO packet for unknown connection handle 0
[ 2440.676752] Bluetooth: hci0 SCO packet for unknown connection handle 0
[ 2440.676753] Bluetooth: hci0 SCO packet for unknown connection handle 0
[ 2440.686752] Bluetooth: hci0 SCO packet for unknown connection handle 0
[ 2440.686757] Bluetooth: hci0 SCO packet for unknown connection handle 0
guido@guido:~$ dpkg -l | grep blue
ii bluez 5.37-0ubuntu5.1 amd64 Bluetooth tools and daemons
ii bluez-obexd 5.37-0ubuntu5.1 amd64 bluez obex daemon
ii gnome-bluetooth 3.18.2-1ubuntu2 amd64 GNOME Bluetooth tools
ii indicator-bluetooth 0.0.6+16.04.20160526-0ubuntu1 amd64 System bluetooth indicator.
ii libbluetooth3:amd64 5.37-0ubuntu5.1 amd64 Library to use the BlueZ Linux Bluetooth stack
ii libgnome-bluetooth13:amd64 3.18.2-1ubuntu2 amd64 GNOME Bluetooth tools - support library
ii pulseaudio-module-bluetooth 1:8.0-0ubuntu3.9 amd64 Bluetooth module for PulseAudio sound server
guido@guido:~$ hcioconfig -a
No command 'hcioconfig' found, did you mean:
Command 'hciconfig' from package 'bluez' (main)
hcioconfig: command not found
guido@guido:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: F8:63:3F:CF:96:61 ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING PSCAN ISCAN
RX bytes:1879227 acl:56 sco:5566 events:16172 errors:0
TX bytes:288717 acl:54 sco:5554 commands:161 errors:0
Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'Bluemoon Universal Bluetooth Host Controller'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Version: 4.2 (0x8) Revision: 0x100
LMP Version: 4.2 (0x8) Subversion: 0x100
Manufacturer: Intel Corp. (2)
guido@guido:~$ rfkill list
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
sudo hciconfig hci0 reset
sudo hciconfig hci0 up
hciconfig -a
cat /var/lib/bluetooth/F8:63:3F:CF:96:61/config
guido@guido:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: F8:63:3F:CF:96:61 ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING PSCAN ISCAN
RX bytes:97099 acl:0 sco:0 events:3315 errors:0
TX bytes:605824 acl:0 sco:0 commands:2501 errors:0
Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'Bluemoon Universal Bluetooth Host Controller'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Version: 4.2 (0x8) Revision: 0x100
LMP Version: 4.2 (0x8) Subversion: 0x100
Manufacturer: Intel Corp. (2)
guido@guido:~$ cat /var/lib/bluetooth/F8:63:3F:CF:96:61/config
cat: '/var/lib/bluetooth/F8:63:3F:CF:96:61/config': Permission denied
guido@guido:~$ sudo cat /var/lib/bluetooth/F8:63:3F:CF:96:61/config
cat: '/var/lib/bluetooth/F8:63:3F:CF:96:61/config': No such file or directory
guido@guido:~$ sudo cat /var/lib/bluetooth/F8:63:3F:CF:96:61/settings
[General]
Discoverable=true
DiscoverableTimeout=0
[ 2413.298764] Bluetooth: hci0 SCO packet for unknown connection handle 0
- - - - - - -
loop
hci0: Type: BR/EDR Bus: USB
BD Address: F8:63:3F:CF:96:61 ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING PSCAN ISCAN
RX bytes:97099 acl:0 sco:0 events:3315 errors:0
TX bytes:605824 acl:0 sco:0 commands:2501 errors:0
Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'Bluemoon Universal Bluetooth Host Controller'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Version: 4.2 (0x8) Revision: 0x100
LMP Version: 4.2 (0x8) Subversion: 0x100
Manufacturer: Intel Corp. (2)
hciconfig -a
cat /var/lib/bluetooth/F8:63:3F:CF:96:61/config
ubuntu@ubuntu:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: F8:63:3F:CF:96:61 ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING PSCAN ISCAN
RX bytes:419311 acl:70 sco:8327 events:172 errors:0
TX bytes:414951 acl:62 sco:8084 commands:71 errors:0
Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'ubuntu-0'
Class: 0x6e0100
Service Classes: Networking, Rendering, Capturing, Audio, Telephony
Device Class: Computer, Uncategorized
HCI Version: (0x8) Revision: 0x100
LMP Version: (0x8) Subversion: 0x100
Manufacturer: Intel Corp. (2)
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ cat /var/lib/bluetooth/F8:63:3F:CF:96:61/config
name ubuntu-0
pairable yes
class 0x6e0100
onmode discoverable
mode discoverable
ubuntu@ubuntu:~$
sudo -H gedit /etc/default/bluetooth
# Defaults for bluez
# start bluetooth on boot?
# compatibility note: If this variable is not found bluetooth will
# start
BLUETOOTH_ENABLED=1
# This setting will switch HID devices (e.g mouse/keyboad) to HCI mode, that is
# you will have bluetooth functionality from your dongle instead of only HID.
# Note that not every bluetooth dongle is capable of switching back to HID
# mode, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497
HID2HCI_ENABLED=1
HID2HCI_UNDO=1
sudo -H gedit /var/lib/bluetooth/F8:63:3F:CF:96:61/config
name Bluemoon Universal Bluetooth Host Controller
pairable yes
class 0x6e0100
onmode discoverable
mode discoverable
sudo chattr +i /var/lib/bluetooth/F8:63:3F:CF:96:61/config
sudo service bluetooth restart
guido@guido:~$ sudo attr +i /var/lib/bluetooth/F8:63:3F:CF:96:61/config
sudo: attr: command not found
guido@guido:~$
sudo chattr +i /var/lib/bluetooth/F8:63:3F:CF:96:61/config
guido@guido:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: F8:63:3F:CF:96:61 ACL MTU: 1021:4 SCO MTU: 96:6
DOWN
RX bytes:7799 acl:0 sco:0 events:130 errors:0
TX bytes:3219 acl:0 sco:0 commands:67 errors:0
Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
guido@guido:~$
sudo rfkill unblock all
sudo hciconfig hci0 reset
sudo hciconfig hci0 up
hciconfig -a
dmesg | grep Blue
guido@guido:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: F8:63:3F:CF:96:61 ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING
RX bytes:43281 acl:0 sco:0 events:2774 errors:0
TX bytes:606049 acl:0 sco:0 commands:2498 errors:0
Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'Bluemoon Universal Bluetooth Host Controller'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Version: 4.2 (0x8) Revision: 0x100
LMP Version: 4.2 (0x8) Subversion: 0x100
Manufacturer: Intel Corp. (2)
guido@guido:~$
guido@guido:~$ dmesg | grep Blue
[ 5.588997] Bluetooth: Core ver 2.22
[ 5.589012] Bluetooth: HCI device and connection manager initialized
[ 5.589014] Bluetooth: HCI socket layer initialized
[ 5.589016] Bluetooth: L2CAP socket layer initialized
[ 5.589020] Bluetooth: SCO socket layer initialized
[ 5.599821] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
[ 5.600825] Bluetooth: hci0: Device revision is 16
[ 5.600826] Bluetooth: hci0: Secure boot is enabled
[ 5.600827] Bluetooth: hci0: OTP lock is enabled
[ 5.600828] Bluetooth: hci0: API lock is enabled
[ 5.600829] Bluetooth: hci0: Debug lock is disabled
[ 5.600830] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 5.601941] Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
[ 7.020830] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.020833] Bluetooth: BNEP filters: protocol multicast
[ 7.020837] Bluetooth: BNEP socket layer initialized
[ 7.074578] Bluetooth: hci0: Waiting for firmware download to complete
[ 7.074804] Bluetooth: hci0: Firmware loaded in 1441898 usecs
[ 7.074851] Bluetooth: hci0: Waiting for device to boot
[ 7.086819] Bluetooth: hci0: Device booted in 11702 usecs
[ 7.086946] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc
[ 7.088819] Bluetooth: hci0: Applying Intel DDC parameters completed
[ 7.434820] Bluetooth: RFCOMM TTY layer initialized
[ 7.434826] Bluetooth: RFCOMM socket layer initialized
[ 7.434831] Bluetooth: RFCOMM ver 1.11
guido@guido:~$
guido@guido:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: F8:63:3F:CF:96:61 ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING
RX bytes:43281 acl:0 sco:0 events:2774 errors:0
TX bytes:606049 acl:0 sco:0 commands:2498 errors:0
Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'Bluemoon Universal Bluetooth Host Controller'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Version: 4.2 (0x8) Revision: 0x100
LMP Version: 4.2 (0x8) Subversion: 0x100
Manufacturer: Intel Corp. (2)
sudo chattr +i /var/lib/bluetooth/F8:63:3F:CF:96:61/config
sudo service bluetooth restart
guido@guido:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: F8:63:3F:CF:96:61 ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING PSCAN ISCAN
RX bytes:59688 acl:0 sco:0 events:703 errors:0
TX bytes:4079 acl:0 sco:0 commands:124 errors:0
Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'guido'
Class: 0x0c010c
Service Classes: Rendering, Capturing
Device Class: Computer, Laptop
HCI Version: 4.2 (0x8) Revision: 0x100
LMP Version: 4.2 (0x8) Subversion: 0x100
Manufacturer: Intel Corp. (2)
guido@guido:~$
guido@guido:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: F8:63:3F:CF:96:61 ACL MTU: 1021:4 SCO MTU: 96:6
UP RUNNING PSCAN ISCAN
RX bytes:41121 acl:0 sco:0 events:471 errors:0
TX bytes:2799 acl:0 sco:0 commands:70 errors:0
Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'Bluemoon Universal Bluetooth Host Controller'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Version: 4.2 (0x8) Revision: 0x100
LMP Version: 4.2 (0x8) Subversion: 0x100
Manufacturer: Intel Corp. (2)
guido@guido:~$
Visualizzano questa sezione: Masterplan e 9 ospiti