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?
> 
> # usbconfig -u 6 -a 2 dump_device_desc
> ugen6.2: <Built-in iSight Apple Inc.> at usbus6, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=ON
> 
>   bLength = 0x0012
>   bDescriptorType = 0x0001
>   bcdUSB = 0x0200
>   bDeviceClass = 0x00ef
>   bDeviceSubClass = 0x0002
>   bDeviceProtocol = 0x0001
>   bMaxPacketSize0 = 0x0040
>   idVendor = 0x05ac
>   idProduct = 0x8502
>   bcdDevice = 0x0155
>   iManufacturer = 0x0001  <Apple Inc.>
>   iProduct = 0x0002  <Built-in iSight>
>   iSerialNumber = 0x0003  <9063CC366CC23E8C (03.00)>
>   bNumConfigurations = 0x0001
> 
> # usbconfig -u 6 -a 2 power_off
> devd =>
> !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/6.2.2
> !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/6.2.1
> 
> # usbconfig -u 6 -a 2 power_on
> devd=>
> ? at bus=1 hubaddr=4 port=6 devaddr=2 interface=0 vendor=0x05ac
> product=0x8502 devclass=0xef devsubclass=0x02 sernum="9063CC366CC23E8C
> (03.00)" release=0x0155 intclass=0x0e intsubclass=0x01 on uhub6
> 
> and in the console:
> Unknown USB device: vendor 0x05ac product 0x8502 bus uhub6
> 
> When I boot the laptop ugen6.2 is attached and works fine with webcamd.

Yes, this is normal. You need to reboot the computer or reset the parent HUB 
of your device to recover the device.

--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"
  • ugen and devd Patrick Lamaiziere
    • Re: ugen and devd Hans Petter Selasky

Reply via email to