From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: snik1 To: bluez-users@lists.sourceforge.net Cc: mathias@mammoth.se MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-00=_LFc5BuXWmBg3KKy" Message-Id: <200501130131.07302.mathias@mammoth.se> Subject: [Bluez-users] Apple BT connection problem Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 13 Jan 2005 01:31:06 +0100 --Boundary-00=_LFc5BuXWmBg3KKy Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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 --Boundary-00=_LFc5BuXWmBg3KKy Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit

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

--Boundary-00=_LFc5BuXWmBg3KKy-- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users