Re: struct usb_config: pass custom parameter to callback?

2010-11-12 Thread Hans Petter Selasky
On Friday 12 November 2010 16:01:44 Lev Serebryakov wrote: > Hello, Freebsd-usb. > > Is it possible to pass custom parameter to xfer callback, configured > via "struct usb_config"? > > I'm writing driver for device, which have multiple equivalent ports, > each whith its own paor of pipes (f

struct usb_config: pass custom parameter to callback?

2010-11-12 Thread Lev Serebryakov
Hello, Freebsd-usb. Is it possible to pass custom parameter to xfer callback, configured via "struct usb_config"? I'm writing driver for device, which have multiple equivalent ports, each whith its own paor of pipes (for IN and OUT), and I want to use only two callbacks. Is it pos

Re: uplcom(4) does not work on cuaU0 ?

2010-11-12 Thread Hans Petter Selasky
On Friday 12 November 2010 14:58:49 Patrick Lamaiziere wrote: > (8.1-STABLE/i386) > > Hello, > > Here, if uplcom is attached to cuaU0, the serial connection does not > work, as far i can see it does not send anything : > > kernel: uplcom_pre_param: > kernel: uplcom_cfg_param: sc = 0xc7416200 > k

uplcom(4) does not work on cuaU0 ?

2010-11-12 Thread Patrick Lamaiziere
(8.1-STABLE/i386) Hello, Here, if uplcom is attached to cuaU0, the serial connection does not work, as far i can see it does not send anything : kernel: uplcom_pre_param: kernel: uplcom_cfg_param: sc = 0xc7416200 kernel: uplcom_cfg_param: rate=9600 fmt=0 parity=0 bits=8 kernel: uplcom_pre_param

Re: Motorola TER/GUSB3-E Ralink Wireless USB

2010-11-12 Thread Emanuel Haupt
Hans Petter Selasky wrote: > On Thursday 11 November 2010 17:36:38 Emanuel Haupt wrote: > > Hans Petter Selasky wrote: > > > On Thursday 11 November 2010 17:00:00 Emanuel Haupt wrote: > > > > I've got a Motorola TER/GUSB3-E Wireless USB stick that > > > > identifies itself as: > > > > > > > > #

Re: ugen and devd

2010-11-12 Thread Hans Petter Selasky
On Friday 12 November 2010 13:30:26 Patrick Lamaiziere wrote: > (8.1-STABLE/i386) > > Hello, > > I'm playing with the built-in camera of my laptop. > > Using usbconfig, if I issue a power_off and then a power_on on the > device, I don't have any ugen device attached. > > Is it normal? > > # us

ugen and devd

2010-11-12 Thread Patrick Lamaiziere
(8.1-STABLE/i386) Hello, I'm playing with the built-in camera of my laptop. Using usbconfig, if I issue a power_off and then a power_on on the device, I don't have any ugen device attached. Is it normal? # usbconfig -u 6 -a 2 dump_device_desc ugen6.2: at usbus6, cfg=0 md=HOST spd=HIGH (480Mbp

Re: USB 3.0 Fails To Attach Western Digital My Book 3.0

2010-11-12 Thread Hans Petter Selasky
On Saturday 06 November 2010 17:48:41 Michael Martin wrote: > On 11/06/2010 10:26, Hans Petter Selasky wrote: > > On Saturday 06 November 2010 17:00:46 Michael Martin wrote: > >> On 11/06/2010 03:31, Hans Petter Selasky wrote: > >>> Hi, > >>> > >>> Can you revert the last patch I sent an apply the