Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2020 15:38:43 +0100
From:      Thomas Steen Rasmussen <thomas@gibfest.dk>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        usb@freebsd.org
Subject:   Re: webcamd, usb and two webcams - only one works
Message-ID:  <13180470-0336-b115-ce31-bc392ff8da76@gibfest.dk>
In-Reply-To: <6c527c1f-62a6-3089-50b8-02cda74b4eb1@selasky.org>
References:  <c11c1a2f-306f-3cd9-825f-4c39fd250d50@gibfest.dk> <9a382539-c90d-91b9-bfac-f36c0f19d3f7@selasky.org> <723be24d-b2fe-85df-4961-5483004050e8@gibfest.dk> <f49afce8-e055-d432-b374-4af10bf7d70e@selasky.org> <cdadc525-e4f9-6cde-26f3-15d7594bd5ee@gibfest.dk> <6c527c1f-62a6-3089-50b8-02cda74b4eb1@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/26/20 3:20 PM, Hans Petter Selasky wrote:
> 
> Try running webcamd in the foreground, and see if there are any errors 
> output there aswell. Like request for firmware.

I now have webcamd running for both webcams in the foreground, no 
errors, almost the same output except the video device numbers:

==============================
$ sudo /usr/local/sbin/webcamd -i 0 -d ugen0.2 -U webcamd -G webcamd
webcamd 61415 - - Attached to ugen0.2[0]
webcamd 61415 - - Creating /dev/video0
webcamd 61415 - - Creating /dev/video1


$ sudo /usr/local/sbin/webcamd -i 0 -d ugen0.3 -U webcamd -G webcamd
webcamd 73317 - - Attached to ugen0.3[0]
webcamd 73317 - - Creating /dev/video2
webcamd 73317 - - Creating /dev/video3
==============================

No further output when taking a snapshot with the working /dev/video0 or 
when trying to take a snapshot with the not working /dev/video2.

I tried swapping the webcams around, the error is always with the second 
webcam connected (so video2), regardless of which webcam it is.

/Thomas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13180470-0336-b115-ce31-bc392ff8da76>