Skip to contentSkip to conversation

hidd error 14 (Bad address) on ubuntu ppc

Bluez-users Zhares 2 participants 5 messages Jun 12, 2006 – Jun 18, 2006 Bluetooth drivers

lore
Share & tools
lore

Zhares

author
#0 lore raw

Hi

I'm trying to connect my bluetooth apple keyboard and my logitech MX900 to the internal dongle of my mac G5 with the latest ubuntu and I have some troubles: The hidd program failed in a call to ioctl that set errno to 14.
I tried the brand new version 3.0 as well and I still have the same problem. This bug has been confirmed in ubuntu but nobody seems to want to work on it:
https://launchpad.net/distros/ubuntu/+source/bluez-utils/+bug/32415
The current solution is to remove bluez, which mean the bluetooth dongle stays in HID mode (used to have the keyboard in bootloader) and every mouse/keyboard device paired with OSX are working fine (except the mouse wheel and eject button).
This is not a solution for me since I would like to use the dongle for phone transfer and a bluetooth headset as well.
It seems nobody else care about this bug because they are fine with the hid mode. Also, most researches on the subject are hidden by people who just want to pair with there devices.

Pairing works fine for me and file transfer as well. The bluetooth headset is also making a ioctl error. And I've got the same error with 3 other bluetooth dongles.

I tried to understand how the program works but it is not easy since it is not commented. I think I can fix the bug by myself but I need some help to run proper debugging sessions. Since this problem seems to only happen on linux ppc, I suspect there is a big-endian problem somewhere in the structures but I have no idea of where to start looking at. Maybe someone has a better idea of what the problem is and can tell me where to look.

Thanks in advance for your answers

Signature · 9 lines
Zhares




_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
maintainer
#1 lore raw

Hi,

Quoted 22 lines

I'm trying to connect my bluetooth apple keyboard and my logitech MX900 to the internal dongle of my mac G5 with the latest ubuntu and I have some troubles: The hidd program failed in a call to ioctl that set errno to 14.
I tried the brand new version 3.0 as well and I still have the same problem. This bug has been confirmed in ubuntu but nobody seems to want to work on it:
https://launchpad.net/distros/ubuntu/+source/bluez-utils/+bug/32415
The current solution is to remove bluez, which mean the bluetooth dongle stays in HID mode (used to have the keyboard in bootloader) and every mouse/keyboard device paired with OSX are working fine (except the mouse wheel and eject button).
This is not a solution for me since I would like to use the dongle for phone transfer and a bluetooth headset as well.
It seems nobody else care about this bug because they are fine with the hid mode. Also, most researches on the subject are hidden by people who just want to pair with there devices.

Pairing works fine for me and file transfer as well. The bluetooth headset is also making a ioctl error. And I've got the same error with 3 other bluetooth dongles.

Quoted 7 lines

I tried to understand how the program works but it is not easy since it is not commented. I think I can fix the bug by myself but I need some help to run proper debugging sessions. Since this problem seems to only happen on linux ppc, I suspect there is a big-endian problem somewhere in the structures but I have no idea of where to start looking at. Maybe someone has a better idea of what the problem is and can tell me where to look.

run "hcidump -X -V" and show us the results.

Regards

Marcel

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#2 lore raw
Quoted 1 line · Marcel Holtmann

run "hcidump -X -V" and show us the results.

Hi, thanks for investigate my problem. I've put the result of hcidump
here: http://stfw.eu/hcidump-X-V.txt

Here is the command I did and the result:

root@Monster:~# hidd --connect 00:0A:95:3A:CA:44
HID create error 14 (Bad address)
root@Monster:~#

Here what was writen in syslog (only one line):

Jun 17 16:20:16 localhost hidd: New HID device 00:0A:95:3A:CA:44 (Apple 

Wireless Keyboard)

Signature · 7 lines
Zhares


_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
maintainer
#3 lore raw

Hi,

Quoted 11 lines

Hi, thanks for investigate my problem. I've put the result of hcidump
here: http://stfw.eu/hcidump-X-V.txt

Here is the command I did and the result:

root@Monster:~# hidd --connect 00:0A:95:3A:CA:44
HID create error 14 (Bad address)
root@Monster:~#

Here what was writen in syslog (only one line):

Jun 17 16:20:16 localhost hidd: New HID device 00:0A:95:3A:CA:44 (Apple 

Wireless Keyboard)

make sure that the hidp kernel module is loaded.

Regards

Marcel

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#4 lore raw
Quoted 10 lines · Marcel Holtmann

Hi,

Quoted 8 lines

Hi, thanks for investigate my problem. I've put the result of hcidump
here: http://stfw.eu/hcidump-X-V.txt

Here is the command I did and the result:

root@Monster:~# hidd --connect 00:0A:95:3A:CA:44
HID create error 14 (Bad address)
root@Monster:~#
Quoted 5 lines
Quoted 3 lines

Here what was writen in syslog (only one line):

Jun 17 16:20:16 localhost hidd: New HID device 00:0A:95:3A:CA:44 (Apple 

Wireless Keyboard)

make sure that the hidp kernel module is loaded.

Hi. Yes, the hidp module is loaded:

root@Monster:~# lsmod |grep hidp
hidp                   48192  2
l2cap                  41120  10 rfcomm,hidp
bluetooth              82596  8 hci_usb,rfcomm,hidp,l2cap

Do you know what 'Bad address' can be? is it address of a device, or address of a pointer?
Also, I suppose that some kind of /dev/input/something is created by hidd so that xfree can read it but nothing appears.

Thanks again.

Signature · 7 lines
	Zhares


_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users