From owner-freebsd-usb@freebsd.org Sat Jul 18 21:23:45 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A9929A57D5 for ; Sat, 18 Jul 2015 21:23:45 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 02F501B93 for ; Sat, 18 Jul 2015 21:23:44 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 485B91FE023; Sat, 18 Jul 2015 23:23:43 +0200 (CEST) Message-ID: <55AAC427.7090505@selasky.org> Date: Sat, 18 Jul 2015 23:24:55 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Tom Lislegaard , freebsd-usb@freebsd.org Subject: Re: Logitech C525 webcam won't work on Raspberry PI2 References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2015 21:23:45 -0000 On 07/17/15 21:28, Tom Lislegaard wrote: > This is an RPI2 with a recent CURRENT snapshot, but the original RPI with > 10.1-Stable give exactly the same result. The camera works without problems > on amd64 with 10.1-Stable. > > tl@rpi2:~ % uname -a > FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r284969: Wed Jul 8 > 19:50:02 CEST 2015 tl@rpi2:/usr/obj/usr/src/sys/RPI2 arm > > Trying to connect the camera I get this error > > usb_alloc_device: Failure selecting configuration index 0:USB_ERR_TIMEOUT, > port 4, addr 5 (ignored) > > Things I have tried include disconnecting all other usb-devices, and > connect the cam via an external powered hub. > > usbconfig/lsusb show the following If you run: usbconfig -d X.Y set_config 0 Does it work? Have you tried other webcams? Might be a timing issue at USB transaction level, because the USB controller in the RPI is driven mostly by software, while on the PC side by hardware. If you update the RPI2 kernel to the latest as of today - any difference? My Logitech webcam enumerates just fine. --HPS