On Fri, 9 Nov 2012 17:08:16 +0300 Vasily Khoruzhick <anars...@gmail.com> wrote:
> That could be an alignment issue, could you guys try attached patch? > At least it should not break anything. It should not be. The structure is aligned properly - though adding the packed attribute is probably a good idea. The length mismatch does not come from the structure size. The USB data transfer is always short (less than requested) due to how the device works. And in this case the USB stack returns actually one more byte than what the device sent. So it really sounds like USB stack issue (kernel or libusb) that triggers on the target hardware only. - Timo _______________________________________________ fprint mailing list fprint@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/fprint