From owner-freebsd-current@freebsd.org Wed Feb 24 07:25:56 2016 Return-Path: Delivered-To: freebsd-current@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 84A84AB1A83 for ; Wed, 24 Feb 2016 07:25:56 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5152817D9 for ; Wed, 24 Feb 2016 07:25:56 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id A19841FE022; Wed, 24 Feb 2016 08:25:52 +0100 (CET) Subject: Re: pwcview and cheese - Device not configured / Invalid argument erros To: Miguel C , freebsd-current References: From: Hans Petter Selasky Message-ID: <56CD5B97.6000102@selasky.org> Date: Wed, 24 Feb 2016 08:28:23 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 07:25:56 -0000 On 02/24/16 00:58, Miguel C wrote: > I just noticed the last messages were never CC'ed to the list > > On Wed, Feb 10, 2016 at 8:56 PM, OtacĂ­lio wrote: > >> Miguel, I have noted that on my system, sometime I get a file not found >> error, like your problem. So, I unplugged the webcam and plug it again and >> it works. It is no frequently but occurs. Your camera is fixed or you can >> try something like this? >> > > Nah its fixed :P > > Its an acer ultrabook, the devices is conencted as a usb but its not like I > can plug it of unless I remove the LCD or something :P > > I was jsut think that this might be driver related, which seems to be uvc: > > % v4l2-dbg -D > Driver info: > Driver name : uvcvideo > Card type : 1.3M HD WebCam > Bus info : usb-/dev/usb-/dev/usb > Driver version: 2.6.38 > Capabilities : 0x84200001 > Video Capture > Streaming > Extended Pix Format > Device Capabilities > > maybe its a bug in the driver that presenting something unexpected to > /dev/video, I was just tried with ffpmeg, recompiled with v4l support and > get the same error using -i /dev/video > > [video4linux2,v4l2 @ 0x80ac6f000] ioctl(VIDIOC_STREAMON): Device not > configured > /dev/video0: Device not configured > Hi, Can you try to get a newer version of webcamd: pkg install -f webcamd Need to run the command below to make webamd re-attach. Further, try "usbconfig -d ugenX.1 reset", where X is the bus number for your webcam device. Else it is possible to compile webcamd with debugging on, and run it in the foreground to see what the error is about. --HPS