Logitech C525 webcam won't work on Raspberry PI2

Hans Petter Selasky hps at selasky.org
Wed Aug 5 11:44:59 UTC 2015


On 08/05/15 13:43, Tom Lislegaard wrote:
> On Tue, Jul 28, 2015 at 9:38 AM, Hans Petter Selasky <hps at 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 at 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 at 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 at 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 at 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



More information about the freebsd-usb mailing list