Hey Sergey,
Thanks for the help. :)
> > When reading events from my device, some of the events are being
filtered
> > out by this line of code in hid-core.c. It was in .hid_input_field(),
> > around line 777.
> >
> > if (value[n] == field->value[n]) continue;
> >
> > If I disable it, everything works fine. Does anyone know why this
filter is
> > here?
>
> This line filters out duplicate events (which report the same value
> for the field which was reported earlier). (For relative items the
> nearby check filters out zero change, which is the same.)
Why does it do that? What if I want to receive the events regardless of
duplication(which I do)?
>
> > Secondly, I am trying to write a single output report to my device that
> > contains 5 bytes of data{0x13,0x13,0,0,0} through the Control (0)
endpoint
> > via a SetReport command. I tried using hidiocsusage and hidiocsreport,
but
> > could not(& don't know how to) get it working.
>
> What does this mean (in terms of the report data items)?
> Please show the HID descriptor for your device - what report fields
> does it have?
dmesg shows this:
OUTPUT[OUTPUT]
Field(0)
Usage(1)
Digitizers.0000
Logical Minimum(0)
Logical Maximum(255)
Report Size(8)
Report Count(5)
Report Offset(0)
Flags( Variable Absolute BufferedByte )
So Count = 5 and each values size = 8. {0x13,0x13,0x00,0x00,0x00}
> Also, if your device uses report IDs for the output/feature reports,
We're not using report IDs.
Thanks,
Jackson
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel