From owner-freebsd-usb@freebsd.org Sun Jul 19 23:41:01 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 2820C9A64CA for ; Sun, 19 Jul 2015 23:41:01 +0000 (UTC) (envelope-from tom.lislegaard@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E938313E6 for ; Sun, 19 Jul 2015 23:41:00 +0000 (UTC) (envelope-from tom.lislegaard@gmail.com) Received: by igbpg9 with SMTP id pg9so70576628igb.0 for ; Sun, 19 Jul 2015 16:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=lS7dUn8amJ/hotMxfU1r+J1Qa2OlNX90Anxq9IceuWU=; b=VQ6OvuucuBB1Ffq4nlmjV1tUz3YWgDRdKsaymTriGJhB5R39kaUredIgHVqM4owvE8 /cR1apkMW/VfTc/zybsuEslv7kGGvXJO8d90mbir2sPSV3WenjT3efRh1H2L9Sx1y3NQ 2qKcxE7TlXgNtG/M+0EdRbuLiZkZlywPmZxJbjVQJ9NvmKLuelbH6rcsaywBlTyGlT9m t1NUIjm1tZVRZezB+P74Fo1pV8fMQmrzAS+n+/2Qc2DWhHKuu68yjz6pDzUCtcoAoh/E wDKDDCxmIZwnIV/0Hw46nIJZJMM4dwlDbN7yhCG+lUrj/g1aTbVrLvCAhk5gkV/UNWMD 4/PA== MIME-Version: 1.0 X-Received: by 10.107.10.161 with SMTP id 33mr31717606iok.155.1437349260251; Sun, 19 Jul 2015 16:41:00 -0700 (PDT) Sender: tom.lislegaard@gmail.com Received: by 10.107.146.139 with HTTP; Sun, 19 Jul 2015 16:41:00 -0700 (PDT) In-Reply-To: <55AAC427.7090505@selasky.org> References: <55AAC427.7090505@selasky.org> Date: Mon, 20 Jul 2015 01:41:00 +0200 X-Google-Sender-Auth: BqHz7EZPji3_62HJiqxZIZOrEOs Message-ID: Subject: Re: Logitech C525 webcam won't work on Raspberry PI2 From: Tom Lislegaard To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Sun, 19 Jul 2015 23:41:01 -0000 On Sat, Jul 18, 2015 at 11:24 PM, Hans Petter Selasky wrote: > 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? set_config 0 does not help. No errors messages, but usbconfig still report "cfg=255" for the device > > 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. > I tried a different Logitech (very old, reported as model "Quickcam E 3500") which is recognized fine > If you update the RPI2 kernel to the latest as of today - any difference? > I've updated to CURRENT revision r285693M. It did not help as I get exactly the same error. > My Logitech webcam enumerates just fine. Is this a current model? I may look at an alternative to the C525, but unfortunately the E3500 is truly a piece of crap and inadequate for my intended use. My requirement is reasonable quality stills, streaming video is not important. -tom > > --HPS >