Re: use_generic and usb probing

2011-05-17 Thread Andriy Gapon
on 06/04/2011 16:28 Hans Petter Selasky said the following: > > Run a kernel test compile including all modules. If that's OK it should be > fine. 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. -- And

usb serial port device naming

2011-05-17 Thread Charles Sprickman
Hello, I recently started moving our console server from one box (4.11) to another (8.1). The old box had some RocketPort PCI cards and a 16 port USB to serial adapter. I moved the USB to serial device to the 8.1 box and added another 8 port USB to serial adapter. I moved the 16 port box w

Re: usb serial port device naming

2011-05-17 Thread Hans Petter Selasky
On Tuesday 17 May 2011 09:00:00 Charles Sprickman wrote: > Hello, > > I recently started moving our console server from one box (4.11) to > another (8.1). The old box had some RocketPort PCI cards and a 16 port > USB to serial adapter. I moved the USB to serial device to the 8.1 box > and added

Re: SMARTCARD USB Reader

2011-05-17 Thread Hans Petter Selasky
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

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 = libusb20_tr_get_point

Re: SMARTCARD USB Reader

2011-05-17 Thread Luca Pizzamiglio
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, th

Re: usb serial port device naming

2011-05-17 Thread Christopher Hilton
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

Re: usb serial port device naming

2011-05-17 Thread Charles Sprickman
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 devi

Re: Does FreeBSD 8.2-RELEASE support combi printer + scanner ?

2011-05-17 Thread Julian H. Stacey
Hi Martin & cc u...@freebsd.org Thanks for your reply :-) Marcin Wisnicki wrote: > On Thu, 12 May 2011 21:59:10 +0200, Julian H. Stacey wrote: > > Hi usb people, > > Does 8.2-RELEASE support combi printer + scanner ? > Yes, it should work. I have HP Deskjet K209a and it works without problems. > M

Re: SMARTCARD USB Reader

2011-05-17 Thread Hans Petter Selasky
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 > documentat

Re: usb serial port device naming

2011-05-17 Thread Hans Petter Selasky
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