On Sat, 05 Aug 2006 13:21:15 +0100, James Courtier-Dutton <[EMAIL PROTECTED]> wrote:
> Why is "differential reporting to the layer" done? > > I have a USB device that uses the interrupt urb to notify the PC of > events. Each time an event happens, a usb interrupt is created, and the > driver reads the value from the report. Most of the time the event > contains exactly the same report info as the previous interrupt. As a > result of this differential reporting, I only see the first event, and > then no more until the event changes. How can I get repeated events of > the same report up to user space? I am currently using the > /dev/usb/hiddev0 interface. Dmitry, I can't wait for you to move the HID drivers away from drivers/usb, because then you get to answer the same question over and over again :-) Anyhow, this raises an interesting point. Perhaps it makes sense to deliver all events to hiddev, while coalescing them for /dev/input/mice. -- Pete ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel