[linux-usb-devel] [BUG] Hiddev does not support Output Report Count > 1 (was: Simple write/read example)

2003-07-30 Thread Jackson Chan
Hi Damien, I think you have the same problem as me. My descriptor: > OUTPUT[OUTPUT] > Field(0) > Usage(1) > Digitizers. > Logical Minimum(0) > Logical Maximum(255) > Report Size(8) > Report Count(5) > Report Offset(0) > Flags( Variable

[linux-usb-devel] reason for change? (linux-2.4.19-pre5 --> 2.4.19-pre6) hid-core.c

2003-07-09 Thread Jackson Chan
Hello, I was hoping someone would know the reason for the difference/patch. This is regarding a bug: This looks like a bug/misfeature in hiddev - it does not support items with Report Count > 1 (when the number of usages for a data item < the number of values). ---

[linux-usb-devel] Re: [BUG] hiddev does not support Report Count > 1 (Re: HID & Hiddev troubles (write))

2003-06-25 Thread Jackson Chan
> One solution is to redefine hiddev_usage_ref::usage_index as a value > index, and change hiddev_ioctl() to compare it against > field->report_count instead of field->maxusage. In this case the field > name will become incorrect, but there should be no binary > compatibility issues - the call will

[linux-usb-devel] RE: [BUG] hiddev does not support Report Count > 1 (Re: HID & Hiddev troubles (write))

2003-06-23 Thread Jackson Chan
Thanks, Jackson > -Original Message- > From: Sergey Vlasov [mailto:[EMAIL PROTECTED] > Sent: June 23, 2003 10:18 AM > To: Jackson Chan > Cc: [EMAIL PROTECTED] > Subject: [BUG] hiddev does not support Report Count > 1 (Re: HID & > Hiddev troubles (write)) &

[linux-usb-devel] RE: [BUG] hiddev does not support Report Count > 1 (Re: HID & Hiddev troubles (write))

2003-06-23 Thread Jackson Chan
on Linux. Also, do you know how compliant Linux is with the HID spec? Should I expect other similar bugs? Thanks, Jackson > -Original Message- > From: Sergey Vlasov [mailto:[EMAIL PROTECTED] > Sent: June 23, 2003 10:18 AM > To: Jackson Chan > > On Fri, 20 Jun 2003 14:

[linux-usb-devel] RE: HID & Hiddev troubles (write)

2003-06-20 Thread Jackson Chan
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, ev

[linux-usb-devel] HID & Hiddev troubles (write)

2003-06-20 Thread Jackson Chan
Hi there, I am having two issues trying to use the hiddev interface(kernel 2.4.20). 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]) continu

[linux-usb-devel] hiddev not claiming my usb device - please help me

2003-06-09 Thread Jackson Chan
> Hi, > > I have been trying to solve this problem for a long time and any help > would be greatly appreciated. > > Problem: I am having difficulty trying to connect a USB > SMARTBoard(digital whiteboard) to my Linux machine. > Specifically: HID/HIDDEV is not claiming the device. > > I am u