Код: Выделить всё
lsusb | grep -i blue
Bus 2 Device 4: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)Всё настроено и работает. Конфиг hcid.conf:
Код:
root@darkstar:~# cat /etc/bluetooth/hcid.conf
#
# HCI daemon configuration file.
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security user;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# Default PIN code for incoming connections
passkey "BlueZ";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "BlueZ (%d)";
# Local device class
class 0x3e0100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable;
pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
}Ну и вывод hciconfig -a
Код: Выделить всё
root@darkstar:~# hciconfig -a
hci0: Type: USB
BD Address: 00:02:5B:0B:62:DC ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:434 acl:0 sco:0 events:19 errors:0
TX bytes:317 acl:0 sco:0 commands:17 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'BlueZ (0)'
Class: 0x3e0100
Service Classes: Networking, Rendering, Capturing, Object Transfer, Audio
Device Class: Computer, Uncategorized
HCI Ver: 2.0 (0x3) HCI Rev: 0xc5c LMP Ver: 2.0 (0x3) LMP Subver: 0xc5c
Manufacturer: Cambridge Silicon Radio (10)Единственное, что здесь настараживает, что в конфиге прописаны возможность сканирования в двух режимах:
Код: Выделить всё
# Inquiry and Page scan
iscan enable;
pscan enable;..тогде как hciconfig -a указывает только на PSCAN.. ну да ладно.
Ну и собственно, суть проблемы: гарнитура не видна системе, hcitool scan ничего не выводит. Гарнитура рабочая, проверял на телефоне. Кстати этот же телефон легко цепляется к компу. Есть какие мнения, преположения, указания к действию..?
Спасибо.