Re: [Bluez-users] help with Logitech Travel Mouse
flat view
From: Marcel Holtmann <marcel@holtmann.org>
Date: 2007-09-27 23:08:01
Hi Martin,
quoted
quoted
Thank you very much. I didn't realize that hidd were supposed to still work. I will look into writing a python tool that does what I want to do. However, I still don't quite understand why the hidd behavior has changed and/or why it is incorrect to use them more then once. In particular, in the case where a device (keyboard/mouse) was once paired with a computer, but then has been re-paired with another computer. If I want to reconnect the keyboard/mouse to the first computer, wouldn't I have to re-issue a hidd --connect <MAC> ? (or the equivalent D-Bus calls?)the HID devices are not designed to work like this. Period. They only support one binding with a host system. You try to make it work with a scenario it is not designed for. If you need details, check the Bluetooth HID specification.I understand that HID devices only support one binding at a time. But if I want to use the same keyboard with two systems, not at the same time but back and forth, then I should be able to re-authenticate it with the previous system. This is a use case that totally makes sense and works fine. It used to work fine between two Linux system, two Windows system and a Windows and Linux system. I just had one keyboard and whenever I wanted to use it with another system, I'd reset the keyboard and re-pair it with the system at hand. This is definitely possible and I am sure that the specifications allow for pairing with a system that was previously paired with in case the HID device lost its pairing.
the point here is to re-pair and for security reasons we reject attempts from devices where the authentication fails. So it means you have to actually remove the previous binding first before you can re-pair. From a security point of view there is no other way to do that. All other cases will make your system vulnerable for attacks. Regards Marcel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users