LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-05-2006, 02:46 PM   #1
towel401
Member
 
Registered: Apr 2005
Location: Ireland
Distribution: Debian
Posts: 39

Rep: Reputation: 15
Bluetooth: hcitool auth doesn't work.


For some reason i can connect to my bluetooth devices but i cant pair with them. I used to be able to pair with them on my other machine, a box would come up asking for the pin code but that doesnt come up now. i did install bluez-pin but when i try to run bluez-pin nothing happens.. it just skips a line.

when i try to pair with something it just sits there for a while and says

HCI authentication request failed: Connection timed out
or
HCI authentication request failed: Input/output error

i running FC5 x86_64

here`s my hcid.conf

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

        # PIN helper
        pin_helper bluepin;

        # D-Bus PIN helper
        #dbus_pin_helper;
}

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

        # Local device class
        class 0x120104;

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

        # Authentication and Encryption (Security Mode 3)
        auth enable;
        encrypt enable;
}
 
Old 07-18-2006, 07:05 PM   #2
towel401
Member
 
Registered: Apr 2005
Location: Ireland
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: 15
*bumpettybump*
 
Old 07-18-2006, 07:59 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
You have been rather patient I see... Your conf looks quite the same as mine except I have the full path to the helper app (and lm set to master but that can't be it). Full path shouldn't matter unless it isn't in the user $PATH. Did you make changes to other files in /etc/bluetooth? What happens if you start /etc/init.d/bluetooth and then "hcitool -i <localdevice> scan"?
 
Old 11-09-2007, 08:47 AM   #4
abhijeetmirjolkar
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by towel401 View Post
For some reason i can connect to my bluetooth devices but i cant pair with them. I used to be able to pair with them on my other machine, a box would come up asking for the pin code but that doesnt come up now. i did install bluez-pin but when i try to run bluez-pin nothing happens.. it just skips a line.

when i try to pair with something it just sits there for a while and says

HCI authentication request failed: Connection timed out
or
HCI authentication request failed: Input/output error

i running FC5 x86_64

here`s my hcid.conf

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

        # PIN helper
        pin_helper bluepin;

        # D-Bus PIN helper
        #dbus_pin_helper;
}

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

        # Local device class
        class 0x120104;

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

        # Authentication and Encryption (Security Mode 3)
        auth enable;
        encrypt enable;
}



in the options add one line
passkey "1234"

and then connect
 
Old 11-09-2007, 09:05 AM   #5
abhijeetmirjolkar
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by abhijeetmirjolkar View Post
in the options add one line
passkey "1234"

and then connect

in the options add one line
passkey "1234"

and then connect
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth remote control with nokia S60 phone doesn't work rahilrai Linux - Newbie 1 12-18-2005 06:11 AM
Zoom PCMCIA Bluetooth and hciattach work only through a strange kludge Jana Kazakh Linux - Wireless Networking 0 06-26-2005 07:07 AM
orchid bluetooth usb dongle will work under linux ravikumarG Linux - Hardware 0 04-05-2005 03:06 AM
qmail-smtpd-auth-0.31.tar.gz didn't work Freewind Linux - General 0 01-24-2004 06:11 AM
Bluetooth supported yes, but how to get it work? LiWiz Linux - Hardware 1 05-05-2003 05:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration