Re: [linux-usb-devel] HID device communication problem with kernel 2.4

2007-06-26 Thread Szilvási Bertalan
Hello, Unfortunately the problem is thrown new light upon... However, commenting out that line from kernel source is a solution, customer does not want to patch all the workstations' kernel. Some errors can be excluded with workaround ("silent" query from device that provide other response than

Re: [linux-usb-devel] HID device communication problem with kernel 2.4

2007-06-22 Thread Szilvási Bertalan
Hi again, After some serious investigation problem is solved. And the key of the solution is contained by this listgroup.. :-). As it turned out from this mail http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg13486.html , duplicate messages are filtered out in kernel 2.4. I

Re: [linux-usb-devel] HID device communication problem with kernel 2.4

2007-06-21 Thread Pete Zaitcev
On Thu, 21 Jun 2007 22:39:32 +0200, Szilvási Bertalan <[EMAIL PROTECTED]> wrote: > Communication is done with blocks of 9 values. I send 9 usage_refs to the > device using HIDIOCSUSAGE and HIDIOCSREPORT ioctl calls, and wait for the > reply. Using cat /dev/usb/hiddev0 I can see that answer has arr

[linux-usb-devel] HID device communication problem with kernel 2.4

2007-06-21 Thread Szilvási Bertalan
Hi all, I have got a HID device with a few buttons and LEDs, and would like to communicate with it. I wrote a simple program that sets LEDs, reads button events and queries serial number. It works fine with kernel 2.6. However, with kernel 2.4, querying serial number behaves strange. Communicat