public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Apple BT connection problem
@ 2005-01-13  0:31 snik1
  2005-01-12 12:13 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: snik1 @ 2005-01-13  0:31 UTC (permalink / raw)
  To: bluez-users; +Cc: mathias

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-13  0:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-13  0:31 [Bluez-users] Apple BT connection problem snik1
2005-01-12 12:13 ` Marcel Holtmann
2005-01-12 13:35   ` Michael Firsching
     [not found]   ` <41E5228E.8090902@mammoth.se>
2005-01-12 13:49     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox