Re: [Help] HIDP connection info error.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jay,

On Fri, Apr 22, 2016 at 9:14 AM, Jay Aurabind <jay.aurabind@xxxxxxxxx> wrote:
> Hi,
>
> I'm trying to communicate to my custom HID device. I initiated a
> connection from my laptop to my device, and I see the following in the
> debug log:
>
> Can't get HIDP connection info
>
> I traced this to profiles/input/device.c Line 798, to function
> ioctl_is_connected
>
>
> if (ioctl(ctl, HIDPGETCONNINFO, &ci) < 0) {
>                 error("Can't get HIDP connection info");
>                 close(ctl);
>                 return false;
> }
>
>
> Can somebody please tell me what this failure means? Obviously my
> there is something wrong with my device (its getting an L2CAP
> configuration error, looks like my laptop is asking for an MTU close
> to 8k bytes). So I want to know where things are going wrong. I
> suspect my HID descriptors/SDP records are messed up, but I would like
> to know what part of it is wrong.
>
> I could not find any information relating to this ioctl either. man
> ioctl_list doent seem to contain a number 211 (HIDPGETCONNINFO).
> Please give some suggestions on how to debug this problem.

Do you have the logs? For the HID descriptor you can check with
something like this: http://eleccelerator.com/usbdescreqparser/  (just
input your descriptor there to see if makes sense)


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux