SMARTCARD USB Reader

2011-05-16 Thread Luca Pizzamiglio
Hi List! I'm Luca and I'm trying to write a kind of driver for USB SMARTCARD Reader on FreeBSD 8.2-STABLE. The approach adopted is to use libusb20, but I've some problem using interrupt end point... I successfully implemented a find_device() routine scanning all device and it works well.

Re: SMARTCARD USB Reader

2011-05-17 Thread Luca Pizzamiglio
On 05/17/11 11:22, Hans Petter Selasky wrote: On Monday 16 May 2011 16:28:55 Luca Pizzamiglio wrote: libusb20_dev_open( pdev, 32 ) libusb20_dev_set_config_index( pdev, 0) bin_ep = libusb20_tr_get_pointer( pdev, 0 ); libusb20_tr_open( bin_ep, 4096, 1, bin_ep_num ); bout_ep

Re: SMARTCARD USB Reader

2011-05-17 Thread Luca Pizzamiglio
, then my mistake. Does anyone know a project or library that use libusb20 that I could use as example? If HPS agree, I want to use the experience I'm collecting to improve documentation or to write examples and/or a tutorial. thanks again Regards, Luca On 05/17/11 11:33, Luca Pizzamiglio

Re: Read from bulk end point

2011-06-27 Thread Luca Pizzamiglio
is implemented? (just to save time studying source code!) Is the prefetch also enabled for Interrupt end point? maybe I could have push to correctly redesign this USB board... thanks in advance! Luca On 06/27/11 13:20, Hans Petter Selasky wrote: On Monday 27 June 2011 13:14:55 Luca Pizzamiglio