From owner-freebsd-questions@freebsd.org Fri Oct 11 00:44:20 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2ABD0136EBB for ; Fri, 11 Oct 2019 00:44:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46q8NL6Z0Mz3JMY for ; Fri, 11 Oct 2019 00:44:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.42.101]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1MqbDs-1hno8k06Iy-00mdhy; Fri, 11 Oct 2019 02:44:14 +0200 Date: Fri, 11 Oct 2019 02:44:14 +0200 From: Polytropon To: Antonio Olivares Cc: FreeBSD Questions Subject: Re: webcamd, IPEVO-Inc--IPEVO-Ziggi-HD-Plus -S unknown -M 0 Message-Id: <20191011024414.62903cf5.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:dncm64oisPnRlauWA8cRTqNo2OVeP4IingQBWzTQu+EEc1LTQkL hpNQtukDW4uit1FIuI+xJy8rm9iQ9jM9o78C7+SkXNN7HoiUVRUq2zQUGKrcL9xGbYDzhW+ bmnRNn/tEAlWmBjKvC1FGTtD3WDTpK/7sU3CL1FN+RorkKenASF9lPrTIFT1Bf0aiP/odcS FbnVW0d/f1UYDmi1IRT9A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:NvG6MqH3L3k=:DKIMUYWTOYV3rz7YEOdOtp 8bXfTc0Ee1JK9kD3UiIv334HG+SKHjfylsIvwI49NGkt088zFQebl/sMRG4kUstOhp8RZHm4t Rrl13AU+fTqQ1PuOlmnain7NDoseRxRJmlv9Kbl9DCB6gPEv+oON4MLsvliUefzaZrMcu1lIC mMXxec+gp92rJratNobsS3a+jh4oVazJ+jFjK+Y5qzFYmAGXheWTckJO4kV2g8JFY5EXD8KlZ hwWqNvg8aCiaIxkbODM4EHwQV/wpYnYdTyySy1Hns/KhN2m5fxahCX0oZTrWE2H/QMQScdvfJ 0KCmsA4umxUFNZH5p1iwG8f8I7aLuWJHmtjc6b9G99zhgnNE8hRlR7ogBAmrA97qn70q/YNYx wQbOTAUTSR3v7wX9ksOW8/k5VnDBkrSJ1EccY9RwTbHHJ3jQFM9kpgWrP68gWzoHQxEzDqBzv RtpraFAmCd6enWiVqxOIf2yXey5US36WGmBJLL79UNUSuRipjQgyVySlG9bMKNS0UJTicVNmX VvN0gWkw/74OJxTVCvQUp64Ux6f8OanZm+JxlYlI5m6RbETOhzI03LSPwFfKl6sll3N4HMJ9n b77K5Sd8lnghOzBYL/pCPKZi2wuqXj5ebzaTNC5EMipOsWp0se6gmxMA7Vk/Bukpf8s+RxHBo hjhc9ExcYkcoK6bRsnPrbNLXzKP6QQrhsR+16BuJPnQgVpJKLII2VDSZIj49ILkqnb9NYTRCN xICHKDsg5Am5i+NTCWu1CmZoUdWKI0aZsBWPYWeuCDS809EnfI48w3RkXrw146NKlzbYWJVqc TQvjdb74uGv3sz6ZEQbtXa5aUEnudWErRjMsNpVSALfSIPZa9+xEwCbOy4oW/HaLf1/fYbx/T PUWeHZXPswZJ0MCsrVlQ+Ix7GF7GxkKLP/+4+6b0s= X-Rspamd-Queue-Id: 46q8NL6Z0Mz3JMY X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[101.42.12.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.977,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.97)[0.973,0]; RCVD_IN_DNSWL_NONE(0.00)[130.126.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.65)[ip: (2.55), ipnet: 212.227.0.0/16(-1.32), asn: 8560(2.04), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Oct 2019 00:44:20 -0000 On Thu, 10 Oct 2019 10:30:47 -0500, Antonio Olivares wrote: > root@aceraspire:~ # service devd restart && webcamd -d ugen4.3 -v 0 & > [2] 2139 > root@aceraspire:~ # Stopping devd. > Waiting for PIDS: 1929. > Starting devd. > Webcamd is already running for ugen4.3.0 > > when I try to run cheese first it got that no devices found, then I get that > ``There was an error playing video from the webcam'' Do you have webcamd entries in /etc/rc.conf? I had a comparable problem on FreeBSD 12.0-p10 where webcamd would not be started (and therefore not stopped or restarted) even though I had placed webcamd_enable="YES" webcamd_flags="-d ugen3.2 -i 0 -v 0" into /etc/rc.conf. I now start it "manually" via /etc/rc.local: /usr/local/sbin/webcamd -d ugen3.2 -i 0 -v 0 & Now it works. :-) > Is there a way to get this to work? I have changed > cuse4bsd_load="YES" and changed to > cuse_load="YES" in /etc/rc.conf and have looked at what was > recommended in the threads and it does not work. The entry cuse_load="YES" belongs to /boot/loader.conf, _not_ to /etc/rc.conf, according to the documentation. Verify it has been loaded with "kldstat". I don't know if the package "cuse4bsd-kmod" has to be installed or not - in my case, it isn't. Maybe this just applies to older FreeBSD versions... > How can I get it to work? I appreciate your help/suggestions. For refereence: # webcamd -l Available device(s): [...] webcamd [-d ugen3.2] -N GenesysLogic-Technology-Co---Ltd--HP-Webcam-101 -S unknown -M 0 This is a built-in webcam. I added my username per /etc/group to the "webcamd" group. I did not add any further permissions or device configurations. For testing, install the "pwcview" package and start webcamd manually as shown above. If the instance is running, /dev/video0 (and maybe more) should be present. With no further options, run % pwcview as a user, it should detect the appropriate video device on its own; if it doesn't ("problem of multiple inputs"), you can specify one: % pwcview -d /dev/video0 Usually the 1st one (here: 0) should work. So if _that_ works, any other program should work as well. See "man webcamd" and "man pwcview" for details. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...