Comment 8 for bug 32415

Revision history for this message
Zhares (launchpad1) wrote : Re: Bluetooth Mouse and Keyboard Broken in Dapper released

Hi
I have a PowerMac G5 bi 2GHz with internal bluetooth. I've got apple bluetooth keyboard and logitech MX900.
I've just updated to Dapper and I've download bluez 2.25 source code to do some research on this bug.
The problem occurs in ./hidd/main.c, line 313, in function int create_device:
   err = ioctl(ctl, HIDPCONNADD, &req);
This call returns -1 and set errno to 14. An error is displayed in stderr (sometimes also in syslog) when I try to connect manualy with:
   ./hidd --connect <mac-address>
With breezy, I used to keep the bluetooth dongle in HID mode (hardware mode used in bootloader) to avoid the problem, but I had a similar error when I tried to connect using bluez.
I'm not confident enough with ioctl() to understand the error. Maybe someone can help with this call.
There seems to be a duplicate in #41786