ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Yuri N. Glibovetz" <greathit@gmail.com>
To: community@lists.altlinux.org
Subject: [Comm] Bluetooth & ALM2.4
Date: Thu, 01 Dec 2005 23:13:58 +0200
Message-ID: <438F6796.8080604@gmail.com> (raw)

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

Есть 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



             reply	other threads:[~2005-12-01 21:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01 21:13 Yuri N. Glibovetz [this message]
2005-12-01 23:32 ` Motsyo Gennadi aka Drool
2005-12-01 22:16   ` Yuri N. Glibovetz
2005-12-02  8:42     ` Alexey Borovskoy
2005-12-02 19:19       ` Yuri N. Glibovetz
2005-12-03  2:59         ` Alexey Borovskoy
2005-12-03  8:39           ` Yuri N. Glibovetz
2005-12-03  7:29     ` Motsyo Gennadi aka Drool
2005-12-02  8:40   ` Alexey Borovskoy
2005-12-03  7:30     ` Motsyo Gennadi aka Drool
2005-12-02  8:39 ` Alexey Borovskoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=438F6796.8080604@gmail.com \
    --to=greathit@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git