From owner-freebsd-usb@freebsd.org Wed Aug 5 11:44:59 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 9A0DC9B3A84 for ; Wed, 5 Aug 2015 11:44:59 +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 5CC8A191 for ; Wed, 5 Aug 2015 11:44:58 +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 9FC541FE023; Wed, 5 Aug 2015 13:44:49 +0200 (CEST) Message-ID: <55C1F78B.9000408@selasky.org> Date: Wed, 05 Aug 2015 13:46:19 +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 CC: freebsd-usb@freebsd.org Subject: Re: Logitech C525 webcam won't work on Raspberry PI2 References: <55AAC427.7090505@selasky.org> <55ACAA70.7010909@selasky.org> <55B73178.20005@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; 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: Wed, 05 Aug 2015 11:44:59 -0000 On 08/05/15 13:43, Tom Lislegaard wrote: > On Tue, Jul 28, 2015 at 9:38 AM, Hans Petter Selasky wrote: >> On 07/20/15 11:29, Tom Lislegaard wrote: >>> >>> On Mon, Jul 20, 2015 at 9:59 AM, Hans Petter Selasky >>> wrote: >>>> >>>> Hi, >>>> >>>> On 07/20/15 01:41, Tom Lislegaard wrote: >>>>> >>>>> >>>>> 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. >>>> >>>> >>>> >>>> Do you have an USB analyzer which can record the USB traffic? Else if it >>>> is >>>> important to you, maybe you can ship me such a webcam and I can analyze >>>> it >>>> for you? >>>> >>>> --HPS >>> >>> >>> I have no analyzer - and nowhere near the knowledge to use one :-) >>> >>> If you PM me your address I'll take you up on the offer to check it out. >>> >>> thanks >>> -tom >>> >> >> Hi, >> >> Can you try this: >> >> https://svnweb.freebsd.org/changeset/base/285935 >> >> --HPS > > With the patch the camera is detected correctly, and webcamd starts > and creates the /dev/video0 device. > > root@rpi2:~ # usbconfig > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE (0mA) > ugen0.2: at usbus0, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=SAVE (2mA) > ugen0.3: at usbus0, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON (2mA) > ugen0.4: <11n Adapter D-Link> at usbus0, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=ON (450mA) > ugen0.5: at usbus0, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON (500mA) > > > root@rpi2:~ # pgrep -lf webcamd > 28483 /usr/local/sbin/webcamd -i 0 -d ugen0.5 -B -U webcamd -G webcamd -H > > > I still can't read anything off the camera though with pwcview > > root@rpi2:~ # pwcview -h -c 1 -d /dev/video0 -o x.jpg > Webcam set to: 320x240 (sif) at 5 fps > libv4l2: error turning on stream: Device not configured > libv4l2: error reading: Invalid argument > Error reading from webcam: Invalid argument > > Am I overlooking something obvious? > Hi, I'll have a look later this week. Maybe if you set another format it will work. --HPS