Re: SMARTCARD USB Reader
On Tuesday 17 May 2011 14:45:35 Luca Pizzamiglio wrote: Hi, It was my mistake, I didn't understand that libusb20_tr_open() wants the bEndpointAddress provided by the end point descriptor as ep_no parameter. Man pages are not extremely detailed and I used usbconfig sources as documentation, but I didn't found examples on transfer functions usage, 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 Hi, You can look at: /usr/ports/multimedia/webcamd Feel free to write an USB toturial. --HPS ___ 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
Re: usb serial port device naming
On Tuesday 17 May 2011 18:19:25 Christopher Hilton wrote: On May 17, 2011, at 5:18 AM, Hans Petter Selasky wrote: Hi, If you run 8-stable, there is some information you can lookup via sysctls of the USB devices, which tells you which port belongs to which device. Use the serial number to identify your device, if your device has such a value. usbconfig -d X.Y dump_device_desc Are you suggesting that one could use this information to config devd and perhaps automatically create a link to the correct port at USB attach time? I ask because I anticipate having to deal with this situation in the future. Yes, I think that is the idea. Currently this functionality is only introduced in 8-stable and 9-current. --HPS ___ 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
Re: use_generic and usb probing
on 17/05/2011 10:19 Andriy Gapon said the following: So I am going to commit this. If it breaks anything for anyone and the problem would not be really trivial, the I'll just revert the change. r222051. Please take this commit in consideration if you run into any USB-related problems. -- Andriy Gapon ___ 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
Re: usb serial port device naming
On Wed, 18 May 2011, Hans Petter Selasky wrote: On Tuesday 17 May 2011 18:19:25 Christopher Hilton wrote: On May 17, 2011, at 5:18 AM, Hans Petter Selasky wrote: Hi, If you run 8-stable, there is some information you can lookup via sysctls of the USB devices, which tells you which port belongs to which device. Use the serial number to identify your device, if your device has such a value. usbconfig -d X.Y dump_device_desc Are you suggesting that one could use this information to config devd and perhaps automatically create a link to the correct port at USB attach time? I ask because I anticipate having to deal with this situation in the future. Yes, I think that is the idea. Currently this functionality is only introduced in 8-stable and 9-current. If the serial number is available to devd, it might be possible to do that already. On attach, create a specially-named link to the device depending on the serial number. ___ 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