From owner-freebsd-current@freebsd.org Wed Feb 24 17:33:38 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 6BCCCAB39A6 for ; Wed, 24 Feb 2016 17:33:38 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (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 D448E123A for ; Wed, 24 Feb 2016 17:33:37 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-lb0-x234.google.com with SMTP id x4so14679446lbm.0 for ; Wed, 24 Feb 2016 09:33:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=pDZIt9WpROhyORmVXT6D/t01ogsgNm/8SUizxI3Mg0o=; b=ZlbXEyFLJyenXSn02iM7QRixqvwaSF7a2eM+A58+KWUuFP25U8TIZh/zI8Jnb/Rc8w TWl9aQRX5rKGQRICcC0QhOljmz7V3csvkZvamIrQJHtUlzcfBSzQYVCGmE+89Vq5vsjV 7Kt4qsZD+ifYNbZLI/xris8NJiLBRC5jv0xnXnDYZChEM5KErZm9dBn/FSjgwQgtmCyH SDIk0+SkaxxBUJ+1xSgT5xdiJUDuvRi87HvUXYjl0l+8C6cetaIQWvC02lmlfjahn6D3 oIJYFGyPScFmpHYsUR7VrRufArNdzUaSD3XAt6LO1GcZzTFGM/0RiPiJebateWF8Udha IQmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=pDZIt9WpROhyORmVXT6D/t01ogsgNm/8SUizxI3Mg0o=; b=CBWpIIW74B0jz727cJTfHTSQ5jnx5dQk+FIW2ah48XAOyJ0n3kh6GMR8aZH84zx3Ia eo7fobKRT/4+DqRK4izJQoZ7Qsz+Gsw1hBHND82/ndCp4517tehqyq3JgL8hHhi/oeYI 3mTThpZEXUp71XGGe5SWayWhXBkA0i+Szxvu0qmH1ikB16FGZ6C/EF28WlBJFE4zQEvi QJ4HKPrf6ctctBVHL4zwwUqeDMFBv7iKJBVO6KSWVZwwPh2Zb+7BxqfmaBW+ydvzQqet yQWjLA8xDdlsFaFh9uB44SJd1qYTl6FBjOHKyGEV95BHdN7yieaYujPjqUKmIEfqJT0r +itw== X-Gm-Message-State: AG10YOQWIKz0Scuk/hE8EIL8+jmsZKhSe04kpCtbcItYiQMJDGuX/hE91LJ9BwIHMMppvd3axE6msuGsdbV6hw== X-Received: by 10.112.25.99 with SMTP id b3mr14885528lbg.11.1456335215846; Wed, 24 Feb 2016 09:33:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.19.94 with HTTP; Wed, 24 Feb 2016 09:32:56 -0800 (PST) In-Reply-To: <56CD5B97.6000102@selasky.org> References: <56CD5B97.6000102@selasky.org> From: Miguel C Date: Wed, 24 Feb 2016 17:32:56 +0000 Message-ID: Subject: Re: pwcview and cheese - Device not configured / Invalid argument erros To: Hans Petter Selasky Cc: 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: Wed, 24 Feb 2016 17:33:38 -0000 On Wed, Feb 24, 2016 at 7:28 AM, Hans Petter Selasky wrote: > 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=C3=ADlio >> 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 c= an >>> try something like this? >>> >>> >> Nah its fixed :P >> >> Its an acer ultrabook, the devices is conencted as a usb but its not lik= e >> 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 uv= c: >> >> % 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 an= d >> 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 > This would just reinstall the one I already have (cause I do have the latest version from ports), but in any case I did try to reinstall and recompile a few times. > 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. > Tried that too, I need to restart webcamd after doing it, but it still gets me the same result. > > Else it is possible to compile webcamd with debugging on, and run it in > the foreground to see what the error is about. > > I was assuming it was a driver or permissions issue, but its certainly a good idea to see if I get any debug info from webcamd, recompiling with DEBUG on. FYI today even cheese fails with: "cheese:18761): cheese-WARNING **: Device '/dev/video0' is busy: gstv4l2object.c(3267): gst_v4l2_object_set_format_full (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin35/G= stV4l2Src:v4l2src1: " This is after restarting and I have not upgrade kernel/userland since I've noticed this issue so that's strange. > --HPS >