linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc
@ 2006-06-12 18:55 Zhares
  2006-06-17 10:32 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Zhares @ 2006-06-12 18:55 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc
  2006-06-12 18:55 [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc Zhares
@ 2006-06-17 10:32 ` Marcel Holtmann
  2006-06-17 15:45   ` Zhares
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2006-06-17 10:32 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc
  2006-06-17 10:32 ` Marcel Holtmann
@ 2006-06-17 15:45   ` Zhares
  2006-06-18  7:13     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Zhares @ 2006-06-17 15:45 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc
  2006-06-17 15:45   ` Zhares
@ 2006-06-18  7:13     ` Marcel Holtmann
  2006-06-18 12:42       ` Zhares
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2006-06-18  7:13 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc
  2006-06-18  7:13     ` Marcel Holtmann
@ 2006-06-18 12:42       ` Zhares
  0 siblings, 0 replies; 5+ messages in thread
From: Zhares @ 2006-06-18 12:42 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-18 12:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-12 18:55 [Bluez-users] hidd error 14 (Bad address) on ubuntu ppc Zhares
2006-06-17 10:32 ` Marcel Holtmann
2006-06-17 15:45   ` Zhares
2006-06-18  7:13     ` Marcel Holtmann
2006-06-18 12:42       ` Zhares

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).