From owner-freebsd-usb@FreeBSD.ORG Fri Jan 16 17:32:31 2015 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97C7F154 for ; Fri, 16 Jan 2015 17:32:31 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 769AB17B for ; Fri, 16 Jan 2015 17:32:31 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 7D5FD192A3B for ; Fri, 16 Jan 2015 17:32:30 +0000 (UTC) Message-ID: <54B94B2E.9030701@ignoranthack.me> Date: Fri, 16 Jan 2015 09:32:30 -0800 From: Sean Bruno Reply-To: sbruno@freebsd.org User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Subject: Re: Lenovo x240 webcam not working with cheese/pwcview References: <54B3F25A.306@ignoranthack.me> In-Reply-To: <54B3F25A.306@ignoranthack.me> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 17:32:31 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 01/12/15 08:12, Sean Bruno wrote: > Unsure how to debug what's up here. webcamd seems to attach > correctly and doesn't output any errors, but cheese is unable to > access the webcam in /dev/video0 > > % ls -l /dev/video0 crw-rw---- 1 webcamd webcamd 0x6c Jan 12 > 07:54 /dev/video0 % groups sbruno sbruno wheel operator webcamd > vboxusers > > pwcview seems to abort when attaching to my X11 session: > > % pwcview Webcam set to: 320x240 (sif) at 5 fps XDM authorization > key matches an existing client!Failed to init sdl: Couldn't open > X11 display The Lenovo X240 has one of these: ugen0.3: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) webcamd and cuse4bsd seem "happy" with it: # /usr/local/sbin/webcamd -i 0 -d ugen0.3 -U webcamd -G webcamd -H Attached to ugen0.3[0] Waiting for HAL USB device. Creating /dev/video0 when trying to use cheese to test it out, I get some strangess like it can't seem to find a libvorbis package of something? (cheese:1283): cheese-WARNING **: Your GStreamer installation is missing a plug-in.: gstencodebin.c(1474): StreamGroup *_create_stream_group(GstEncodeBin *, GstEncodingProfile *, const gchar *, GstCaps *) (): /GstCameraBin:camerabin/GstEncodeBin:video-encodebin: Couldn't create encoder for format audio/x-vorbis However, I seem to have all the things required for this to work? % pkg info | grep -i vorbis gstreamer-plugins-vorbis-0.10.36_1,3 Gstreamer vorbis encoder/decoder plugin libvorbis-1.3.4_2,3 Audio compression codec library -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJUuUssXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kYoIH/RjqL80m3k2MU/DNMls+KbQy MJ2okoRt2zUM4fXG1KnqqvPaqIdfEm6FJjl7rpxk9ln5E/cBfPPSKMO0yJUgImhL GdGKfPdI+zD4BRWecz6de78vMcvWWkiyKv6IfaKsJObTDOIdIcz7O5av1Pvuji3m kXj3OOTjyGDeo9blc0cORWU/XLuSpgxStFALAnZvhxNp04KWkg0IqqhYFXYP0ckb V270z8Iz9tAXavJCho3Wq4sy708pPDCxZjnqOThg8v5Pb5IogRF+scTNxqF3cbbE YPB9Vu0VBiHSJ7Nb3pe4kRxlZOFFI1c4iIEZTk0bDScPEP0VMgHv+sFqQFbJ/xo= =znnR -----END PGP SIGNATURE-----