From owner-freebsd-current@freebsd.org Tue Feb 23 23:58:48 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 7B941AB28D8 for ; Tue, 23 Feb 2016 23:58:48 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (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 DD9551093 for ; Tue, 23 Feb 2016 23:58:47 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-lb0-x231.google.com with SMTP id x4so1157199lbm.0 for ; Tue, 23 Feb 2016 15:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=UZK6UBFzPWCQMtyiKYZvLWcScZ8QdbnaSOCoEXd/0ok=; b=Q1TH1ejy3l4BciamBT/zNWP7eBnG+xlVYqPpm+AfhnmihNrTqbMDH9t0jlbnZ0J9vN 9inZ6F4IyowcnDnpEty5arV22xPHf73hJ/EvXFEKQPL40kRZznhFhcdAjdQ8YLyFEFIt iPAmHZqFkcIfwrUS6IbxTzxR0FWDjR9JiqZVTvYm70C/xReUAgoukncaN084bnnu4vXk jMda2L8KqojWl6RDwif+MhYurZROLV89z031w957Nvk6Ys33o/0lSxWF5eRPCVsiw57z 5Yyk9tjNQv/TPwDSS3LaAvT1pc7FeCXslmiLepLR0jSSJqw5D0/0ybqdVSA6Rb+2oiUm 2R0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=UZK6UBFzPWCQMtyiKYZvLWcScZ8QdbnaSOCoEXd/0ok=; b=CsSs5Yqhju+mSYsS3KSnKMocejFnHHs31f3ThPo7A9EDUmiPIXImntUUOe4oy3wBIb VYiQ4X7f1aMlxFxUylGyly8SJyRd8/M4nkm6nY02pF2NeJmB6aCRPcFsoGkjZkUP6Tj7 u5NfZYT8yUouAWSHSIWOCUtf9/TsO3YN+bKuooKyJYm+gAr5x3tAGuubWIgpMf4kv6aD +605ht01H9ARbSyE7qLeUR8YAKXb+kRVh+nTr263YXJn6P7EPy3K81rlnPezn8qvce7n /dmmTQIGtObaxN7Eb7nAhxJHblome0mMi6GPeNLBcfaMQ6IGfdBtG47KSF/s72pn6Mov PWSw== X-Gm-Message-State: AG10YOT0BMjolz1HS404BCSmI3t1/+rfJ6sEA2uNoiQYz9yCy1Fed6Hx8F4u/ZhDxSCOcombny0PgQ/bldjNGg== X-Received: by 10.112.139.104 with SMTP id qx8mr13109733lbb.88.1456271926038; Tue, 23 Feb 2016 15:58:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.19.94 with HTTP; Tue, 23 Feb 2016 15:58:06 -0800 (PST) From: Miguel C Date: Tue, 23 Feb 2016 23:58:06 +0000 Message-ID: Subject: RE: pwcview and cheese - Device not configured / Invalid argument erros To: freebsd-current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Tue, 23 Feb 2016 23:58:48 -0000 I just noticed the last messages were never CC'ed to the list On Wed, Feb 10, 2016 at 8:56 PM, Otac=C3=ADlio w= rote: > 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 an= d > 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 > > []'s > -Otac=C3=ADlio > > > Em 10/02/2016 11:32, Miguel C escreveu: > > > > On Wed, Feb 10, 2016 at 2:32 PM, Miguel C wrote: > >> >> >> On Wed, Feb 10, 2016 at 2:05 PM, Otac=C3=ADlio < >> otacilio.neto@bsd.com.br> wrote: >> >>> I'm not a expert in this, but do you have recompiled webcamd enabling >>> cuse(3) over multimedia/cuse4bsd-kmod? >>> >> >> Actually ***you*** bring up a nice point I had it always compile with >> defaults which means that it was already compiled for cuse no cuse4bsd-k= mod >> ... >> Which makes all this even more confusing since the cuse module was not >> loaded until now and cheese works :| >> >> Unless the option means "if checked" support both cuse and cuse4bsd, >> depending on which one is loaded >> >> >>> []'s >>> -Otac=C3=ADlio >>> >>> >>> Em 10/02/2016 10:59, Miguel C escreveu: >>> >>> >>>> From your setup I noted that I'm not using cuse4bsd-kmod, but only cus= e. >>>> >>> >>> I tired to stop webcamd unoad cuse4bsd and load cuse, then start webcam= d >>> again and I get the same results. >>> >>> >>>> [ota@nostromo /usr/home/ota]$ kldstat >>>> Id Refs Address Size Name >>>> 1 28 0xffffffff80200000 1e39ca8 kernel >>>> 2 1 0xffffffff8203b000 e3b8 cuse.ko >>>> 3 1 0xffffffff8204a000 3d90 pty.ko >>>> 4 1 0xffffffff82221000 57b8 fdescfs.ko >>>> 5 1 0xffffffff82227000 a3ac linprocfs.ko >>>> 6 1 0xffffffff82232000 695a linux_common.ko >>>> 7 1 0xffffffff82239000 26f8a vboxguest.ko >>>> 8 1 0xffffffff82260000 7a9 vboxvideo.ko >>>> 9 1 0xffffffff82261000 52092 drm2.ko >>>> 10 1 0xffffffff822b4000 2679 iicbus.ko >>>> 11 1 0xffffffff822b7000 1f6a imgact_binmisc.ko >>>> >>>> >>>> [ota@nostromo /usr/home/ota]$ pkg info multimedia/webcamd >>>> webcamd-4.2.0.9 >>>> Name : webcamd >>>> Version : 4.2.0.9 >>>> Installed on : Thu Jan 14 17:09:41 2016 BRT >>>> Origin : multimedia/webcamd >>>> Architecture : freebsd:11:x86:64 >>>> Prefix : /usr/local >>>> Categories : multimedia >>>> Licenses : GPLv2 >>>> Maintainer : hselasky@FreeBSD.org >>>> WWW : >>>> http://www.selasky.org/hans_petter/video4bsd/ >>>> Comment : Port of Linux USB webcam and DVB drivers into userspa= ce >>>> Options : >>>> CUSE : on >>>> DEBUG : off >>>> DVB : off >>>> HAL : on >>>> INPUT : on >>>> RADIO : on >>>> VT_CLIENT : off >>>> VT_SERVER : off >>>> WEBCAM : on >>>> Shared Libs required: >>>> libdbus-1.so.3 >>>> libhal.so.1 >>>> >>>> >>>> I have used pwcview here and works fine, but I don't have tested with >>>> skype. >>>> >>>> []'s >>>> -Otac=C3=ADlio >>>> >>> >>> >>> >> > >