From owner-freebsd-questions@FreeBSD.ORG Sun Feb 19 03:41:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEB121065673 for ; Sun, 19 Feb 2012 03:41:13 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6AF358FC13 for ; Sun, 19 Feb 2012 03:41:13 +0000 (UTC) Received: by wgbgn7 with SMTP id gn7so2312829wgb.1 for ; Sat, 18 Feb 2012 19:41:12 -0800 (PST) Received-SPF: pass (google.com: domain of gobble.wa@gmail.com designates 10.180.83.97 as permitted sender) client-ip=10.180.83.97; Authentication-Results: mr.google.com; spf=pass (google.com: domain of gobble.wa@gmail.com designates 10.180.83.97 as permitted sender) smtp.mail=gobble.wa@gmail.com; dkim=pass header.i=gobble.wa@gmail.com Received: from mr.google.com ([10.180.83.97]) by 10.180.83.97 with SMTP id p1mr7289377wiy.19.1329622872592 (num_hops = 1); Sat, 18 Feb 2012 19:41:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Sxhh7AoaH19122EJtm1n5iAyjjVfsQpVIfIFuVDFiZQ=; b=eKMm3ZNy6eJevz1srJvos0pim6r5PSzFCgqt7KgtGY7pHpkJ2n72Xa3xkV+Fc9OHru PurTuv+EV/3rZ7eFhCqHK86bLNSLgb5rtS1mtiFSy2Luu0SfPhCnR/61Vaw8pe+xCJkg LD5i324OnaMG3Yuan4aS312Nc2fNv0/zaNpS0= MIME-Version: 1.0 Received: by 10.180.83.97 with SMTP id p1mr6129941wiy.19.1329622872541; Sat, 18 Feb 2012 19:41:12 -0800 (PST) Received: by 10.216.235.139 with HTTP; Sat, 18 Feb 2012 19:41:12 -0800 (PST) In-Reply-To: <4F405F4A.3080309@herveybayaustralia.com.au> References: <4F405F4A.3080309@herveybayaustralia.com.au> Date: Sat, 18 Feb 2012 19:41:12 -0800 Message-ID: From: Waitman Gobble To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: webcamd and device numbering X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2012 03:41:13 -0000 On Sat, Feb 18, 2012 at 6:32 PM, Da Rock < freebsd-questions@herveybayaustralia.com.au> wrote: > I've been struggling with this on my own for ages now, and I was > determined to try and sort it myself. But I'll now eat my humble pie and > ask for some help :) > > I have (I believe I have mentioned this before) 5 dvb tuners in a FreeBSD > server (8.2): 1 cx88, 2 DiVico dual tuners (that totals 4 amongst just the > DiVico's). I'm using webcamd to use these (thank God I can get away from > Linux!), and they work fine except I have to run ln -s to link them to the > right places after every reboot (Only the Divico's use webcamd). So they > should look like this: > > $ls /dev/dvb/ > adapter0 adapter1 adapter2 adapter3 > > instead: > > ls /dev/dvb/ > adapter0 adapter16 adapter24 adapter8 > > This is a real problem because 1. MPlayer only accepts 0-4, and 2. > GStreamer (including xine) only accept 1-16. > > I tried working out how to resolve the issue any sane way; and then I > resorted to some quick hacks. I tried uding devfs.rules for links before I > found out it can't do that at all. devfs.conf is no good, as it sets them > up to begin with. And running some commands in rc.local didn't work: `ln -s > /dev/dvb/adapter8 /dev/dvb/adapter1` and so forth. > > I googled and googled and there seem to be no real fix as webcamd won't > work without hal and relies on it for the numbering (but borks it > continuously). I've tried updates and so forth, but all to no avail. I'm > not too worried about a permanent fix because hal's death bells have > tolled, but I do need to fix this as it is really getting annoying now - > the server is on continuously but can go down from time to time and catches > the unwary :) (like when a scheduled recording which requires say adapter1 > finds it no longer there) > > I'm using webcamd-3.2.0.2, which I recently updated. > > Cheers > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > Hi, maybe cron job that runs once a minute and checks/fixes? maybe overkill but probably not noticeable to system performance,... . Waitman Gobble San Jose California USA