SMARTCARD USB Reader

Luca Pizzamiglio l.pizzamiglio at bally-wulff.de
Tue May 17 09:33:56 UTC 2011


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 = libusb20_tr_get_pointer( pdev, 1 );
>> libusb20_tr_open( bout_ep, 4096, 1, bout_ep_num );
>> irq_ep = libusb20_tr_get_pointer( pdev, 2 );
>> libusb20_tr_open( irq_ep, 4096, 1, irq_ep_num );
>
> What is the value of irq_ep_num ?
>
> --HPS

irq_ep_num is 2 and the device has 3 end points (confirmed also by 
usbconfig).

the device is ugen2.2 then the output of ls /dev/usb/2.2* is
/dev/usb/2.2.0	/dev/usb/2.2.1	/dev/usb/2.2.2	/dev/usb/2.2.3

Regards,

Luca


More information about the freebsd-usb mailing list