Skip to contentSkip to conversation

stale connections with input service (bluez-libs-3.14)

Bluez-users Dick 2 participants 3 messages Aug 19, 2007 – Aug 20, 2007 Bluetooth drivers

lore
Share & tools
lore

Dick

author
#0 lore raw

Hi,

I'm using the latest bluez utils and bluez libs but the input service is still unstable. When I'm not using my dinovo desktop (keyboard/pointing) they disconnect but the input service doesn't seem to handle it well.

$ hcitool con
keep telling me:

Connections:

        ACL 00:07:61:69:XX:XX handle 51 state 1 lm MASTER 
        ACL 00:07:61:68:XX:XX handle 48 state 1 lm MASTER AUTH ENCRYPT 

When I reset the hci:

# hciconfig hci0 reset
The mouse reconnects but the keyboard is still not working, I can only get it
back online by either pressing the connect button or dis-/connect the batteries.

In the stale situation I see still data coming from the devices (with hcidump); that's kinda weird. (Why isn't it handled by the input service?)

I grepped for "input" in my syslog:
http://rafb.net/p/Kf3Ei066.html

What might be wrong?

Thanks in advance,
Dick

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Dick,

Quoted 10 lines

I'm using the latest bluez utils and bluez libs but the input service is still unstable. When I'm not using my dinovo desktop (keyboard/pointing) they disconnect but the input service doesn't seem to handle it well.

$ hcitool con
keep telling me:

Connections:

        ACL 00:07:61:69:XX:XX handle 51 state 1 lm MASTER 
        ACL 00:07:61:68:XX:XX handle 48 state 1 lm MASTER AUTH ENCRYPT 

which kernel version is this. This is not suppose to happen. Have you tried a 2.6.23-rc3 kernel?

Quoted 8 lines

When I reset the hci:

# hciconfig hci0 reset
The mouse reconnects but the keyboard is still not working, I can only get it
back online by either pressing the connect button or dis-/connect the batteries.

In the stale situation I see still data coming from the devices (with hcidump); that's kinda weird. (Why isn't it handled by the input service?)

Does the mouse always works? Maybe this is an issue with the authentication and encryption that are mandatory for keyboard. Which keyboard are you using? Which Bluetooth chip is inside it.

Regards

Marcel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#2 lore raw
Quoted 2 lines · Marcel Holtmann <marcel <at> holtmann.org> writes:

which kernel version is this. This is not suppose to happen. Have you tried a 2.6.23-rc3 kernel?

I'm using 2.6.22-gentoo-r4, today I've tried 23-rc3 twice but it seems to be even more unstable! (Even the USB-HID had problems)

Quoted 3 lines

Does the mouse always works? Maybe this is an issue with the authentication and encryption that are mandatory for keyboard. Which keyboard are you using? Which Bluetooth chip is inside it.

Most at the times, yes. The mouse sometimes gets "laggy" when the keyboard is "stale". My keyboard is a standard logitech dinovo packaged as "Dinovo Media Desktop Laser", is there a way to query the bluetooth chip in the keyboard?

Thanks so far,
Dick

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users