Skip to contentSkip to conversation

Apple BT connection problem

Bluez-users snik1 3 participants 4 messages Jan 12, 2005 – Jan 13, 2005 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

snik1

author
#0 lore raw

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

maintainer
#1 lore raw

Hi Mathias,

Quoted 49 lines

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:

Quoted 1 line

ACL 00:0A:95:3B:1B:6E handle 42 state 1 lm MASTER

# hidd --show

<nothing>

Quoted 7 lines

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)

we saw that problem and it only occurs when you configured another input device through YaST. It is unclear what triggers this problem. Using a vanilla kernel I wasn't able to reproduce it. What other input devices are in your machine?

Regards

Marcel

-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 6 lines

we saw that problem and it only occurs when you configured another input device through YaST. It is unclear what triggers this problem. Using a vanilla kernel I wasn't able to reproduce it. What other input devices are in your machine?

I am having the same problems with SUSE 9.2, kernel 2.6.10, a EPOX dongle a MX900 mouse and a M$ Bluetooth keyboard. I can not creat connections on boot and have to connect the devices manually every time. Connecting is only possible after pressing the connect buttons of the devices or removing the batteries on the keyboard.

Error messages and config is identical to snik1`s...

Regards
Michael

-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): [email protected]

maintainer
#4 lore raw

Hi Mathias,

even your email client has a Reply-to-All button. Use it!

Quoted 3 lines

The only input device I have is a regular keyboard and a USB mouse. The USB mouse is configured as a KEY Genius Netscroll+ /dev/mouse in SaX and intelliMouse Explorer (USB) is choosen in yast.

as I said, the real reason has never been tracked down, but you can try to remove the mouse from your SaX configuration and see if it works.

Regards

Marcel

-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users