[Comm] Bluetooth & ALM2.4

Yuri N. Glibovetz =?iso-8859-1?q?greathit_=CE=C1_gmail=2Ecom?=
Пт Дек 2 00:13:58 MSK 2005


Здравствуйте.

Есть Bluetooth D-Link DBT-122.

# service bluetooth start
Starting Bluetooth subsystem:
Starting hcid service:                                   [ DONE ]
Starting sdpd service:                                   [ DONE ]
Starting hidd service: Can't open HIDP control socket: Invalid argument
                                                         [FAILED]
Starting rfcomm service:                                 [ DONE ]

Как с этим бороться?


# lsmod | grep blue
bluez                  30436   7  [sco rfcomm l2cap hci_usb]


# cat /etc/bluetooth/hcid.conf
#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.4 2004/04/29 20:14:21 holtmann Exp $
#

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

        # PIN helper
        pin_helper /usr/bin/bluepin;

        # D-Bus PIN helper
        #dbus_pin_helper;
}

# Default settings for HCI devices
device {
        # Local device name
        #   %d - device id
        #   %h - host name
        name "DBT-122 (%d)";

        # Local device class
        class 0x100;

        # 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,master;
        #
        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 hold,sniff;
        #
        lp rswitch,hold,sniff,park;

        # Authentication and Encryption
        #auth enable;
        #encrypt enable;
}


# tail /var/log/messages
Dec  1 23:06:35 earth hcid[6424]: Bluetooth HCI daemon
Dec  1 23:06:35 earth bluetooth: hcid startup succeeded
Dec  1 23:06:35 earth sdpd[6438]: Bluetooth SDP daemon
Dec  1 23:06:35 earth bluetooth: sdpd startup succeeded
Dec  1 23:06:35 earth hidd: Can't open HIDP control socket: Invalid argument
Dec  1 23:06:35 earth bluetooth: hidd startup failed
Dec  1 23:06:36 earth hid2hci: No devices in HCI mode found
Dec  1 23:06:36 earth bluetooth: hid2hci startup failed
Dec  1 23:06:36 earth bluetooth: rfcomm startup succeeded
Dec  1 23:06:36 earth hcid[6424]: Starting security manager 0


# hcitool scan
Scanning ...
        00:60:57:C6:81:97       Yuri N. Glibovetz


# l2ping 00:60:57:C6:81:97
Ping: 00:60:57:C6:81:97 from 00:13:46:00:1E:47 (data size 20) ...
0 bytes from 00:60:57:C6:81:97 id 200 time 44.61ms
0 bytes from 00:60:57:C6:81:97 id 201 time 13.16ms
0 bytes from 00:60:57:C6:81:97 id 202 time 11.29ms
0 bytes from 00:60:57:C6:81:97 id 203 time 13.42ms
0 bytes from 00:60:57:C6:81:97 id 204 time 14.53ms
5 sent, 5 received, 0% loss


Куда ещё смотреть?

-- 
Чудес не бывает - бывают только глюки...

Linux Registered User #387540
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=387540




Подробная информация о списке рассылки community