Re: Misbehaving device

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

 



On Wed, 22 May 2013, Joe Julian wrote:

> Thanks. I have a usbmon capture of a failed event, but since this is a 
> credit card scan I need to at least interpret and obfuscate the card 
> data. For a keystroke there seems to be two events each, the key press 
> (00003800) and the key release (00000000), each being the 8 bytes I 
> would expect.

The values you wrote here are 4 bytes each, not 8.

> Some, however, start with 02 (02003800). Is that for a 
> shift key? I see a sequence like 02000000 02000d00 00000d00 00000000 
> which I suspect must be a "%" key (shift down, 5 down, shift up, 5 up). 
> Is that correct?

Maybe -- that's a good possibility.  But how should I know?  You
haven't posted any detailed information, and in particular, you haven't
posted the report descriptors.  Without them, the data values are
meaningless.

Alan Stern

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux