LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-03-2010, 11:30 PM   #1
page_seven
Member
 
Registered: Jun 2010
Distribution: CRUX 3.0
Posts: 76

Rep: Reputation: 0
kernel will not allow authentication with bluetooth mouse


I have bluetoothd, hidd, and bluez-simple-agent running. I click my mouse, and bluez-simple-agent never asks to authenticate or for a PIN. Before, bluez was working for me. It broke when I paired my mouse to a LiveCD session of Ubuntu Lucid Lynx.

using bluez 4.71

This is what shows up in syslog:

Code:
Oct  3 20:15:32 lo bluetoothd[10063]: link_key_request (sba=XX:XX:XX:XX:XX:XX, dba=XX:XX:XX:XX:XX:XX)
Oct  3 20:15:32 lo bluetoothd[10063]: src/security.c:link_key_request() kernel auth requirements = 0x04
Oct  3 20:15:32 lo bluetoothd[10063]: src/security.c:link_key_request() link key type = 0x00
Edit: here is what comes back when I enter 'hidd --connect XX:XX:XX:XX:XX:XX' where XX:XX... = my mouse address
Code:
Can't create HID control channel: Connection refused
And here is hcidump -V
Code:
HCI sniffer - Bluetooth packet analyzer ver 1.42
device: hci0 snap_len: 1028 filter: 0xffffffffffffffff
> HCI Event: Connect Request (0x04) plen 10
    bdaddr XX:XX:XX:XX:XX:XX class 0x002580 type ACL
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
    bdaddr XX:XX:XX:XX:XX:XX role 0x00
    Role: Master
> HCI Event: Command Status (0x0f) plen 4
    Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
> HCI Event: Role Change (0x12) plen 8
    status 0x00 bdaddr XX:XX:XX:XX:XX:XX role 0x00
    Role: Master
> HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 46 bdaddr XX:XX:XX:XX:XX:XX type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
    handle 46
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
    bdaddr XX:XX:XX:XX:XX:XX mode 1
> HCI Event: Command Status (0x0f) plen 4
    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
    bdaddr XX:XX:XX:XX:XX:XX mode 2 clkoffset 0x0000
> HCI Event: Link Key Request (0x17) plen 6
    bdaddr XX:XX:XX:XX:XX:XX
> HCI Event: Read Remote Supported Features (0x0b) plen 11
    status 0x00 handle 46
    Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00
> HCI Event: Command Status (0x0f) plen 4
    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
    bdaddr XX:XX:XX:XX:XX:XX key CE6E607B2145D3EEDFD6C998EBC78107
> HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Reply (0x01|0x000b) ncmd 1
    status 0x00 bdaddr XX:XX:XX:XX:XX:XX
> HCI Event: Remote Name Req Complete (0x07) plen 255
    status 0x00 bdaddr XX:XX:XX:XX:XX:XX name '<name>'s mouse'
> HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 46 reason 0x05
    Reason: Authentication Failure
I do not wish to use bluez-gnome-applet, etc. to try to fix this.

Last edited by page_seven; 10-04-2010 at 10:34 AM.
 
Old 10-04-2010, 04:31 PM   #2
taxtropel
Member
 
Registered: Mar 2005
Location: Cascade Mountains WA USA
Distribution: Linux From Scratch (LFS)
Posts: 149

Rep: Reputation: 16
did you try reseting the mouse? or taking the batteries out for a bit first?
 
Old 10-04-2010, 11:30 PM   #3
page_seven
Member
 
Registered: Jun 2010
Distribution: CRUX 3.0
Posts: 76

Original Poster
Rep: Reputation: 0
I left the batteries out for ~10 min. No difference when I put them back in, same messages.
 
Old 10-05-2010, 01:54 PM   #4
page_seven
Member
 
Registered: Jun 2010
Distribution: CRUX 3.0
Posts: 76

Original Poster
Rep: Reputation: 0
downgraded to bluez-4.70, now it works
 
  


Reply

Tags
bluetooth, kernel


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 Dongle and Bluetooth Mouse... Any ideas on this one? flipjarg Linux - Newbie 1 07-14-2010 08:04 AM
Bluetooth file transfer without authentication Stratofortress Linux - Software 0 05-06-2009 02:38 PM
Bluetooth Mouse mickeyboa Fedora 0 02-24-2009 04:28 PM
Bluetooth mouse and keyboard connect, mouse doesn't work BallsOfSteel Linux - Hardware 2 05-25-2008 02:09 AM
Bluetooth Mouse chocobanana Linux - Hardware 3 06-05-2005 02:43 PM


All times are GMT -5. The time now is 04:13 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration