Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Aug 2015 13:46:19 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Tom Lislegaard <tom@lislegaard.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Logitech C525 webcam won't work on Raspberry PI2
Message-ID:  <55C1F78B.9000408@selasky.org>
In-Reply-To: <CAFxxQFwZvcVBVqoOU=so7F3kioo5RH%2BbnnT4DpG_ThbDF0E_uA@mail.gmail.com>
References:  <CAFxxQFxDo5n7XjkhV8efinqxmzj7iRkOT-O7h06Fxo-CknWrNw@mail.gmail.com>	<55AAC427.7090505@selasky.org>	<CAFxxQFxvcQchv4XH-383q_2Uq-WPB1e0M4d%2BQqnKdZ-N41c2Bg@mail.gmail.com>	<55ACAA70.7010909@selasky.org>	<CAFxxQFybbd0-Ht4PkU5%2BofZie7KmCugb9M7PGjRcWhza0AK44Q@mail.gmail.com>	<55B73178.20005@selasky.org> <CAFxxQFwZvcVBVqoOU=so7F3kioo5RH%2BbnnT4DpG_ThbDF0E_uA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/05/15 13:43, Tom Lislegaard wrote:
> On Tue, Jul 28, 2015 at 9:38 AM, Hans Petter Selasky <hps@selasky.org> wrote:
>> On 07/20/15 11:29, Tom Lislegaard wrote:
>>>
>>> On Mon, Jul 20, 2015 at 9:59 AM, Hans Petter Selasky <hps@selasky.org>
>>> 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: <OTG Root HUB DWCOTG> at usbus0, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=SAVE (0mA)
> ugen0.2: <product 0x9514 vendor 0x0424> at usbus0, cfg=0 md=HOST
> spd=HIGH (480Mbps) pwr=SAVE (2mA)
> ugen0.3: <product 0xec00 vendor 0x0424> 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: <HD Webcam C525 vendor 0x046d> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55C1F78B.9000408>