Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2010 17:48:22 +0300
From:      "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
To:        Hans Petter Selasky <hselasky@freebsd.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: cuse4bsd doesn't work on recent -HEAD?
Message-ID:  <20100622174822.1707b834@gmail.com>
In-Reply-To: <201006221554.08185.hselasky@freebsd.org>
References:  <20100622142550.26246636@gmail.com> <201006221554.08185.hselasky@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Jun 2010 15:54:08 +0200
Hans Petter Selasky <hselasky@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100622174822.1707b834>