2006-06-12 18:55:09

by Zhares

[permalink] [raw]
Subject: [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc

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

--

Zhares




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


2006-06-18 12:42:42

by Zhares

[permalink] [raw]
Subject: Re: [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc

Marcel Holtmann wrote:
> Hi,
>
>> 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.

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.

--

Zhares


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

2006-06-18 07:13:25

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc

Hi,

> 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

2006-06-17 15:45:14

by Zhares

[permalink] [raw]
Subject: Re: [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc

Marcel Holtmann wrote:

> 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)

--

Zhares


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

2006-06-17 10:32:27

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc

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.

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