Date: Fri, 28 Aug 2009 09:11:44 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org Subject: Re: VMWare USB fail Message-ID: <200908280911.45358.hselasky@c2i.net> In-Reply-To: <F0E9BBA5-534D-4547-B870-DB36D8444EFC@tlb.org> References: <F0E9BBA5-534D-4547-B870-DB36D8444EFC@tlb.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 28 August 2009 00:24:44 Trevor Blackwell wrote: > I'm working on a new driver for empia 28XX USB cameras, and since it > needs isochronous support I'm upgrading to HPS's new stack. However, > it doesn't seem to work at all under VMWare. > I'm running yesterday's checkout of RELENG_8, under VMWare Fusion > 1.1.2 on a Mac 10.5.8 host. That setup has worked well for me in the > past developing USB drivers with the -7 kernel. > > Does the fact that this shows up as ugen instead of uhub mean that it > doesn't recognize the hub at all? > The new kernel presents an ugen device for all devices present in the system. There should be a uhub device associated with your ugen device! You could turn on uhub debugging if in doubt: sysctl hw.usb.uhub.debug=15 --HPS > ugen0.3: <product 0x0002 vendor 0x0e0f> at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=SAVE > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0110 > bDeviceClass = 0x0009 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0008 > idVendor = 0x0e0f > idProduct = 0x0002 > bcdDevice = 0x0100 > iManufacturer = 0x0000 <no string> > iProduct = 0x0001 <VMware Virtual USB Hub> > iSerialNumber = 0x0000 <no string> > bNumConfigurations = 0x0001 > > > Configuration index 0 > > bLength = 0x0009 > bDescriptorType = 0x0002 > wTotalLength = 0x0019 > bNumInterfaces = 0x0001 > bConfigurationValue = 0x0001 > iConfiguration = 0x0001 <VMware Virtual USB Hub> > bmAttributes = 0x00e0 > bMaxPower = 0x0000 > > Interface 0 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0000 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0001 > bInterfaceClass = 0x0009 > bInterfaceSubClass = 0x0000 > bInterfaceProtocol = 0x0000 > iInterface = 0x0001 <VMware Virtual USB Hub> > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0081 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0001 > bInterval = 0x00ff > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > -- > Trevor Blackwell 650 776 7870 tlb@tlb.org >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908280911.45358.hselasky>