From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 22 15:02:24 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CB8A106566C for ; Tue, 22 Jun 2010 15:02:24 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9FC048FC14 for ; Tue, 22 Jun 2010 15:02:23 +0000 (UTC) Received: by wyb33 with SMTP id 33so4291444wyb.13 for ; Tue, 22 Jun 2010 08:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=A/+pdLCdFBq+io2fjdtRFxjj8hTtaYHBLMWy3H/d3uo=; b=k/3YfKLITboZZ4vFKPbnz20fhe0CUuX13zkYxdv+RAVe2g8HZawV4DRovkIECQA6jf 4njuT0mcBLEFUKvmT/wQyTrgS5RUuhMNUjZ5vd4oJRQBWxenSfQDhknj+emgHmX73cck D5JzIV5M3nhEDimGXSKFG0tf16UqnyOsaW+nE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=ZKCgGyXU+Gd/hu3l+IiOBMVLSs2gzd7YbcXRFwO4YjPUJuUJ8FRNPMb9tqnEuqH79/ mdyCpsootO1vYo7yKCoEGs65Tx0R6nFrNO0RhthzWeB8oL17bC2v540ZUPlfuJnxBBjb 7NSrJsQu9FVXbmZoOT+VFp6W4d6Ae4MFUWWgg= Received: by 10.216.159.3 with SMTP id r3mr1412676wek.26.1277218466543; Tue, 22 Jun 2010 07:54:26 -0700 (PDT) Received: from localhost ([77.74.36.76]) by mx.google.com with ESMTPS id o13sm4649522wej.40.2010.06.22.07.54.19 (version=SSLv3 cipher=RC4-MD5); Tue, 22 Jun 2010 07:54:26 -0700 (PDT) Date: Tue, 22 Jun 2010 17:55:00 +0300 From: "Sergey V. Dyatko" To: Hans Petter Selasky Message-ID: <20100622175500.73e0ea5d@gmail.com> In-Reply-To: <20100622174822.1707b834@gmail.com> References: <20100622142550.26246636@gmail.com> <201006221554.08185.hselasky@freebsd.org> <20100622174822.1707b834@gmail.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: cuse4bsd doesn't work on recent -HEAD? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 15:02:24 -0000 On Tue, 22 Jun 2010 17:48:22 +0300 "Sergey V. Dyatko" wrote: SVD>On Tue, 22 Jun 2010 15:54:08 +0200 SVD>Hans Petter Selasky wrote: SVD> SVD>> On Tuesday 22 June 2010 13:25:50 Sergey V. Dyatko wrote: SVD>> > Hi, SVD>> > SVD>> > Not so long ago I updated my laptop (~month ago), also I do SVD>> > `portupgrade -a` (xorg, libtool - from large changes). After SVD>> > that webcamd doesn't work: SVD>> > laptop# kldstat SVD>> > Id Refs Address Size Name SVD>> > 1 37 0xc0400000 afcb24 kernel SVD>> > 2 1 0xc0efd000 e178 if_alc.ko SVD>> > 3 1 0xc0f0c000 a05768 nvidia.ko SVD>> > 4 3 0xc1912000 2eab8 linux.ko SVD>> > 5 1 0xc1941000 c198 ahci.ko SVD>> > 6 1 0xc6862000 8000 linprocfs.ko SVD>> > 7 1 0xc6ee1000 e000 fuse.ko SVD>> > 8 1 0xc6f8c000 1a000 snd_hda.ko SVD>> > 9 1 0xc6fb4000 4d000 sound.ko SVD>> > 10 1 0xc75b2000 4000 cuse4bsd.ko SVD>> > SVD>> > laptop# /usr/local/etc/rc.d/webcamd start SVD>> > Starting webcamd. SVD>> > Could not open /dev/cuse. Did you kldload cuse4bsd? SVD>> > /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd SVD>> > SVD>> > when laptop booting: SVD>> > Starting webcamd. SVD>> > /libexec/ld-elf.so.1: Shared object: "libcuse4bsd.so.1" not SVD>> > found, required by "webcamd" SVD>> > /usr/local/etc/rc.d/webcamd WARNING: failed to start webcamd SVD>> > SVD>> > laptop# ldd /usr/local/sbin/webcamd SVD>> > /usr/local/sbin/webcamd: SVD>> > libusb.so.2 => /usr/lib/libusb.so.2 (0x281c2000) SVD>> > libcuse4bsd.so.1 => /usr/local/lib/libcuse4bsd.so.1 SVD>> > (0x281cf000) libthr.so.3 => /lib/libthr.so.3 (0x281d2000) SVD>> > libutil.so.9 => /lib/libutil.so.9 (0x281e7000) SVD>> > libc.so.7 => /lib/libc.so.7 (0x281f8000) SVD>> > laptop# ldd /usr/local/lib/libcuse4bsd.so.1 SVD>> > /usr/local/lib/libcuse4bsd.so.1: SVD>> > libc.so.7 => /lib/libc.so.7 (0x28091000) SVD>> > SVD>> > today I update it again, nothing changed: SVD>> > SVD>> > FreeBSD laptop.domain 9.0-CURRENT FreeBSD 9.0-CURRENT #7 SVD>> > r209412M: Tue Jun 22 11:23:15 EEST 2010 SVD>> > root@laptop.domain:/usr/obj/usr/src/sys/b450 i386 SVD>> > rebuild webcamd, and cuse4bsd-kmod: SVD>> > [tiger@laptop]~%pkg_info -xI cuse SVD>> > cuse4bsd-kmod-0.1.11 Cuse4BSD character device loopback driver SVD>> > for userspace SVD>> > [tiger@laptop]~%pkg_info -xI webc SVD>> > webcamd-0.1.14 A port of Linux USB webcam and DVB drivers SVD>> > into userspace SVD>> > SVD>> > SVD>> > laptop# kldunload cuse4bsd SVD>> > laptop# kldload -v cuse4bsd SVD>> > Loaded cuse4bsd, id=11 SVD>> > laptop# ll /dev/cu* SVD>> > ls: No match. SVD>> > SVD>> > laptop# /usr/local/etc/rc.d/webcamd start SVD>> > Starting webcamd. SVD>> > Could not open /dev/cuse. Did you kldload cuse4bsd? SVD>> > /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd SVD>> > SVD>> > I will be glad of any help SVD>> > SVD>> SVD>> Please re-install cuse4bsd and webcamd directly from ports. Looks SVD>> like the library needs to be rebuilt. SVD>> just in case: laptop# usbconfig|grep -i cam ugen7.2: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON SVD> SVD>> --HPS SVD> SVD> -- wbr, tiger