Подключение bluetooth

Ethernet card, Wi-Fi, Bluetooth, IrDA, ADSL-модемы, модемы

Модератор: Модераторы разделов

Аватара пользователя
farex
Сообщения: 497
ОС: Slackware 12.2, Archlinux

Подключение bluetooth

Сообщение farex »

Установил пакеты:
bluez-libs
bluez-utils
Потом отредактировал /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 auto;

        # 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 "1234";
}

# Default settings for HCI devices
device {
        # Local device name
        #   %d - device id
        #   %h - host name
        name "arabluetooth";

        # Local device class
        class 0x000100;

        # 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;
}

запускаю демона.
/etc/rc.d/rc.bluetooth start
Потом:
sdptool browse
не чего не находит.
Действия производились по этой статье.
http://arahorn01.blogspot.com/2009/04/blue...-slackware.html
И еще по этой пробывал
http://www.opennet.ru/base/sys/bluetooth_slackware.txt.html
и по этой
http://www.idol13.ru/index.php/option/cont...id/56/Itemid/82
и по этой
https://forum.antichat.ru/nextnewesttothread53001.html
И еще пару способов.., в голове каша ):
Сыграем?
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf /* || echo "Жив"
Спасибо сказали:
Аватара пользователя
farex
Сообщения: 497
ОС: Slackware 12.2, Archlinux

Re: Подключение bluetooth

Сообщение farex »

Вот еще

Код: Выделить всё

hciconfig -a
hci0:    Type: USB
    BD Address: 00:0D:18:01:3F:C3 ACL MTU: 1017:8 SCO MTU: 64:0
    UP RUNNING
    RX bytes:1735 acl:0 sco:0 events:247 errors:0
    TX bytes:4383 acl:0 sco:0 commands:247 errors:0
    Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
    Packet type: DM1 DM3 DM5 DH3 DH5 HV2 HV3
    Link policy:
    Link mode: SLAVE ACCEPT
Can't read local name on hci0: Input/output error (5)
Сыграем?
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf /* || echo "Жив"
Спасибо сказали: