From owner-freebsd-current@freebsd.org Thu Dec 17 08:12:04 2015 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 41CDEA48346 for ; Thu, 17 Dec 2015 08:12:04 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 08FB219FE; Thu, 17 Dec 2015 08:12:03 +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 549E41FE023; Thu, 17 Dec 2015 09:12:00 +0100 (CET) Subject: Re: webcamd & cuse4bsd To: Kostya Berger , Allan Jude , Freebsd-current References: <56707005.3060403@freebsd.org> <232365240.2892263.1450218301239.JavaMail.yahoo@mail.yahoo.com> <1187331091.3652142.1450295650956.JavaMail.yahoo@mail.yahoo.com> From: Hans Petter Selasky Message-ID: <56726EC5.1050802@selasky.org> Date: Thu, 17 Dec 2015 09:13:57 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1187331091.3652142.1450295650956.JavaMail.yahoo@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 17 Dec 2015 08:12:04 -0000 On 12/16/15 20:54, Kostya Berger wrote: > Well, this seems to be either hardware or software (driver code) bug. > After `usbconfig -d ugen1.4 reset` webcamd restarting sometimes creates the device /dev/video0 -- sometimes,, but not every time. More often than not it doesn't. So there's no method seen in this behaviour so far. I wonder how I could debug this. > > Sent from Yahoo Mail on Android > > On Wed, Dec 16, 2015 at 1:22, Kostya Berger wrote: Ok, I failed to make it clear enough: the module is loaded on boot. This was what was actually meant by the expression "when the system starts". By contrast, loading on demand is... well, loading "on demand". These are two ways of starting a program, "on demand", as opposite to "when the system starts". Please, correct me if I'm wrong here.Yet the situation is as I described. That's what I'm actually reporting. Just now I've done a reboot, and here we go again: all modules loaded, /dev/cuse persent, the message telling me "webcam is already running on ugen1.4.0" (my web-camera) -- and NO /dev/video0. > > Though it hits me now, there are 3 devices /dev/usb/1.4.*. Maybe 1.4.0 is not the correct one? > Sent from Yahoo Mail on Android > Can you check: ps auxw |grep webcamd Are there any webcamd coredumps? What does usbconfig say? --HPS