Thanks for the response. I have just tried that, but I still see the same issue. Any suggestions?
On Thu, Dec 9, 2010 at 12:23 AM, Xiaofan Chen <[email protected]> wrote: > On Thu, Dec 9, 2010 at 8:12 AM, shiva vadla <[email protected]> wrote: > > Hello All, > > I am trying to read the card data from a credit card reader (usb device) > > using interrupt endpoint. I can open and claim the hid interface and read > > the data from the card reader. But if I close and delete the hid > interface > > after i am done reading and try to read the data again for the next card > > swipe, i miss the first packet (8 bytes) of the data on every alternate > > read. I am not sure why this is happening. If i do not close the hid > > interface and keep my program running, i do not see any issues. Any help > is > > appreciated. > > Just a guess, what if you reset the hid interface before closing > the interface? > > > -- > Xiaofan > -- Shiva
_______________________________________________ libhid-discuss mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss http://libhid.alioth.debian.org/

