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