From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 22 14:47:43 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 2A766106566B; Tue, 22 Jun 2010 14:47:43 +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 8C1E48FC1F; Tue, 22 Jun 2010 14:47:42 +0000 (UTC) Received: by wyb33 with SMTP id 33so4275599wyb.13 for ; Tue, 22 Jun 2010 07:47:41 -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=PQMzefd3LLe6H/OuNNwauUlDzfFfh3qn7xUTBPjtdgc=; b=gVV5+qxumKPSIuMWBl084ex/mejC9meJNn0uUvbLmLZKrdRS9UFJkhff/zqncZnEwT p/Lnd/seS9Z7qmzkcVS2CmhC26ESxuqKTv4YnkCbd9NavwB+s09qucc0xLaTKCocUNxO sdnofvHVGljOf1mNwo5gX6xZhz0Jf3LvnFUpA= 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=m9aSi0Hjo7UGNdgp7KYAy8jDb4zKQI6nYa+fkezV9AIHjddfT2dpRXI8Ox8hupoCzl itw+szOX+94fbaggTPJe4TEkMoxSX2DfzrX04kUHh5o2xoizJm66epKCe4+sEtS0UoYw 4nyf1Ulp0/+JDuBLZb5E6u4r7aSgXoAfIDnUo= Received: by 10.227.133.149 with SMTP id f21mr6262028wbt.42.1277218061419; Tue, 22 Jun 2010 07:47:41 -0700 (PDT) Received: from localhost ([77.74.36.76]) by mx.google.com with ESMTPS id n31sm18349125wba.21.2010.06.22.07.47.38 (version=SSLv3 cipher=RC4-MD5); Tue, 22 Jun 2010 07:47:40 -0700 (PDT) Date: Tue, 22 Jun 2010 17:48:22 +0300 From: "Sergey V. Dyatko" To: Hans Petter Selasky Message-ID: <20100622174822.1707b834@gmail.com> In-Reply-To: <201006221554.08185.hselasky@freebsd.org> References: <20100622142550.26246636@gmail.com> <201006221554.08185.hselasky@freebsd.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit 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 14:47:43 -0000 On Tue, 22 Jun 2010 15:54:08 +0200 Hans Petter Selasky wrote: > On Tuesday 22 June 2010 13:25:50 Sergey V. Dyatko wrote: > > Hi, > > > > Not so long ago I updated my laptop (~month ago), also I do > > `portupgrade -a` (xorg, libtool - from large changes). After that > > webcamd doesn't work: > > laptop# kldstat > > Id Refs Address Size Name > > 1 37 0xc0400000 afcb24 kernel > > 2 1 0xc0efd000 e178 if_alc.ko > > 3 1 0xc0f0c000 a05768 nvidia.ko > > 4 3 0xc1912000 2eab8 linux.ko > > 5 1 0xc1941000 c198 ahci.ko > > 6 1 0xc6862000 8000 linprocfs.ko > > 7 1 0xc6ee1000 e000 fuse.ko > > 8 1 0xc6f8c000 1a000 snd_hda.ko > > 9 1 0xc6fb4000 4d000 sound.ko > > 10 1 0xc75b2000 4000 cuse4bsd.ko > > > > laptop# /usr/local/etc/rc.d/webcamd start > > Starting webcamd. > > Could not open /dev/cuse. Did you kldload cuse4bsd? > > /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd > > > > when laptop booting: > > Starting webcamd. > > /libexec/ld-elf.so.1: Shared object: "libcuse4bsd.so.1" not found, > > required by "webcamd" > > /usr/local/etc/rc.d/webcamd WARNING: failed to start webcamd > > > > laptop# ldd /usr/local/sbin/webcamd > > /usr/local/sbin/webcamd: > > libusb.so.2 => /usr/lib/libusb.so.2 (0x281c2000) > > libcuse4bsd.so.1 => /usr/local/lib/libcuse4bsd.so.1 > > (0x281cf000) libthr.so.3 => /lib/libthr.so.3 (0x281d2000) > > libutil.so.9 => /lib/libutil.so.9 (0x281e7000) > > libc.so.7 => /lib/libc.so.7 (0x281f8000) > > laptop# ldd /usr/local/lib/libcuse4bsd.so.1 > > /usr/local/lib/libcuse4bsd.so.1: > > libc.so.7 => /lib/libc.so.7 (0x28091000) > > > > today I update it again, nothing changed: > > > > FreeBSD laptop.domain 9.0-CURRENT FreeBSD 9.0-CURRENT #7 > > r209412M: Tue Jun 22 11:23:15 EEST 2010 > > root@laptop.domain:/usr/obj/usr/src/sys/b450 i386 > > rebuild webcamd, and cuse4bsd-kmod: > > [tiger@laptop]~%pkg_info -xI cuse > > cuse4bsd-kmod-0.1.11 Cuse4BSD character device loopback driver for > > userspace > > [tiger@laptop]~%pkg_info -xI webc > > webcamd-0.1.14 A port of Linux USB webcam and DVB drivers into > > userspace > > > > > > laptop# kldunload cuse4bsd > > laptop# kldload -v cuse4bsd > > Loaded cuse4bsd, id=11 > > laptop# ll /dev/cu* > > ls: No match. > > > > laptop# /usr/local/etc/rc.d/webcamd start > > Starting webcamd. > > Could not open /dev/cuse. Did you kldload cuse4bsd? > > /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd > > > > I will be glad of any help > > > > Please re-install cuse4bsd and webcamd directly from ports. Looks > like the library needs to be rebuilt. > I do it again. same result: laptop# kldunload -v cuse4bsd Unloading cuse4bsd.ko, id=12 laptop# kldload -v cuse4bsd Loaded cuse4bsd, id=12 laptop# kldstat [skipped] 12 1 0xc898f000 4000 cuse4bsd.ko laptop# ll /dev/cu* crw-rw---- 1 uucp dialer 0, 137 22 ÉÀÎ 17:33 /dev/cuaU0 crw-rw---- 1 uucp dialer 0, 138 22 ÉÀÎ 17:14 /dev/cuaU0.init crw-rw---- 1 uucp dialer 0, 139 22 ÉÀÎ 17:14 /dev/cuaU0.lock laptop# /usr/local/etc/rc.d/webcamd start Starting webcamd. Could not open /dev/cuse. Did you kldload cuse4bsd? /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd laptop# webcamd Could not open /dev/cuse. Did you kldload cuse4bsd? > --HPS -- wbr, tiger