From owner-freebsd-multimedia@freebsd.org Wed Dec 30 00:49:30 2015 Return-Path: Delivered-To: freebsd-multimedia@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 24686A55670 for ; Wed, 30 Dec 2015 00:49:30 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF909151D for ; Wed, 30 Dec 2015 00:49:29 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x229.google.com with SMTP id n135so89542227qka.2 for ; Tue, 29 Dec 2015 16:49:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=zCgS1y8Bb0j4T4IxgkgR88LXMNChdWvErJX8UjDBbm8=; b=PLehBWhMgsayQXNlUYr5ya4wNaQ9gPqRk3WpFdllgaBbR9qwUwj1zCj39Yxm8CCd9I OX2EiDU+4ujON2rI5ASHj5r7gLnyttYnAgtVYFvylSxiQFEhwhIwQm0U6Ib5Y8JSxBwT 54At5EpWiepAsb9klSccy/ADG2NqPlNeNAzeE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=zCgS1y8Bb0j4T4IxgkgR88LXMNChdWvErJX8UjDBbm8=; b=QNrJi47PxES/F4PVtI0IQp/pG74QO+1rZjVx8DnACZb3zZLEqoL5ra6zU5xzp1w86Z LC/puVRs/Zzpo9GWnuD8OWGg71HPTvKNt1har/zFZAF++eDZcH0dKOQ+PCDW2RHjJMDr K5PJD53oe6kteoIH3LI+Riba01qdGFHjNWin8ByzdHOsMV+xPC+OdfM6nb5vNN5Y7bT2 AjVdywZj4+BkvzccAvPhgl18br0N8FuGOBkj8A8/TmFjOXsRpDYa3mKOSFwGzlHsKro5 DdB7RnPk3WHr2c1JHngm6lNnQ14d2KmQ9bFgJOG3AdFymbMSQ9h/ZV7AKGpHxkSBqg9v PBpw== X-Gm-Message-State: ALoCoQkGFkSZiZvvV5BFoCXK/HpIzjsPxYVKCitsT3YzKLXYIiUNHjyZQ7l+l3jAl5deEmhgAvx+10bBuwZudhb8r9j1nNXXKQ== X-Received: by 10.55.79.207 with SMTP id d198mr79245998qkb.49.1451436568717; Tue, 29 Dec 2015 16:49:28 -0800 (PST) Received: from [192.168.25.22] ([177.135.43.178]) by smtp.googlemail.com with ESMTPSA id s188sm25640183qhc.41.2015.12.29.16.49.27 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Dec 2015 16:49:28 -0800 (PST) Subject: Re: pwcview error when taking snapshots To: freebsd-multimedia@freebsd.org References: <20151203112612.GA4181@c720-r285885-amd64> From: =?UTF-8?B?T3RhY8OtbGlv?= Message-ID: <56832A0D.40503@bsd.com.br> Date: Tue, 29 Dec 2015 21:49:17 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151203112612.GA4181@c720-r285885-amd64> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2015 00:49:30 -0000 Em 03/12/2015 08:26, Matthias Apitz escreveu: > Hello, > > I wanted to use the cam of my netbook Acer C720 to take snapshots. The cam itself > works (i.e. gives picture on the screen) with: > > $ pwcview -k > Webcam set to: 320x240 (sif) at 5 fps > > but when I take snapshots it gives an error: > > $ pwcview -h -c 1 -o foo.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 > $ > > This is with 11-CURRENT r285885 amd64 and ports r392920 (around July this > year). > > Any ideas? > > matthias > Dear Matthias Sorry the delay to reply. I tried the two commands that you send and it works fine. My system is: FreeBSD Xbeaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r292177M: Mon Dec 14 05:35:35 BRT 2015 ota@Xbeaglebone:/usr/obj/usr/src/sys/GENERIC i386 and this machine is a guest running on Virtualbox. []'s -OtacĂ­lio