public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: snik1 <mathias@mammoth.se>
To: bluez-users@lists.sourceforge.net
Cc: mathias@mammoth.se
Subject: [Bluez-users] Apple BT connection problem
Date: Thu, 13 Jan 2005 01:31:06 +0100	[thread overview]
Message-ID: <200501130131.07302.mathias@mammoth.se> (raw)

[-- Attachment #1: Type: text/plain, Size: 1977 bytes --]


Hi,
I've searched the archive but didn't really hit the spot there... ...so I 
guess I need some help.

I'm running SuSE9.2 and trying to connect a Apple BT keyboard and mouse, this 
what's happends:

1, If I reset the mouse and keyboard and do a server side connect it works 
just fine. After I changed to "lm master" in hcid.conf I also could reconnect 
after a sleep without a problem, so far so good, see the output.
"keyboard reset (off/on)"
# hidd --connect 00:0A:95:3B:1B:6E

New HID device 00:0A:95:3B:1B:6E (Apple Wireless Keyboard)
Jan 12 22:30:57 linux kernel: evdev_connect: evdev cddd3b40 handle cddd3b5c 
name event3

# hcitool con
Connections:
        lt; ACL 00:0A:95:3B:1B:6E handle 41 state 1 lm MASTER

hidd --show
00:0A:95:3B:1B:6E HID Boot Device [05ac:0209] connected [boot-protocol]




2, Now, if I reboot or some how looses the connection and then initiate the 
connection from the keyboard or mouse the following happends:

Keaboard reset (on/off)
(tap keaboard)
# hcitool con
Connections:
        > ACL 00:0A:95:3B:1B:6E handle 42 state 1 lm MASTER
# hidd --show
<nothing>

output from messages
Jan 12 22:29:10 linux hidd[7815]: New HID device 00:0A:95:3B:1B:6E (Apple 
Wireless Keyboard)
Jan 12 22:29:10 linux hidd[7815]: HID create error 25 (Inappropriate ioctl for 
device)

And when I try to connect from the server side:
# hidd --connect 00:0A:95:3B:1B:6E
Can't create HID control channel: Device or resource busy

# hidd --connect 00:0A:95:3B:1B:6E
Can't create HID control channel: Connection refused

And the log shows:
Jan 12 22:36:35 linux hcid[7808]: link_key_request (sba=00:0F:3D:39:02:19, 
dba=00:0A:95:3B:1B:6E)
Jan 12 22:36:35 linux kernel: hci_acldata_packet: hci0 ACL packet for unknown 
connection handle 42


The only way to get it to work again is to reset the keyboard and mouse and 
connect from the serverside. This means it always fail after a reboot.

Can anyone give me a pointer in right direction...?!

regards
Mathias


[-- Attachment #2: Type: text/html, Size: 2518 bytes --]

             reply	other threads:[~2005-01-13  0:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-13  0:31 snik1 [this message]
2005-01-12 12:13 ` [Bluez-users] Apple BT connection problem Marcel Holtmann
2005-01-12 13:35   ` Michael Firsching
     [not found]   ` <41E5228E.8090902@mammoth.se>
2005-01-12 13:49     ` Marcel Holtmann

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=200501130131.07302.mathias@mammoth.se \
    --to=mathias@mammoth.se \
    --cc=bluez-users@lists.sourceforge.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox