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
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to