From owner-freebsd-usb@FreeBSD.ORG Fri Nov 12 12:47:41 2010 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61862106566C for ; Fri, 12 Nov 2010 12:47:41 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 291AE8FC1D for ; Fri, 12 Nov 2010 12:47:40 +0000 (UTC) Received: from baby-jane.lamaiziere.net (unknown [192.168.1.10]) by smtp.lamaiziere.net (Postfix) with ESMTP id 6E85C63319F for ; Fri, 12 Nov 2010 13:30:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id E0B492CF69A for ; Fri, 12 Nov 2010 13:30:29 +0100 (CET) Date: Fri, 12 Nov 2010 13:30:26 +0100 From: Patrick Lamaiziere To: freebsd-usb@FreeBSD.org Message-ID: <20101112133026.438109f9@davenulle.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Cc: Subject: ugen and devd X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 12:47:41 -0000 (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 (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 iProduct = 0x0002 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. Thanks, regards.