From owner-freebsd-hardware@FreeBSD.ORG Wed Nov 26 15:35:26 2014 Return-Path: Delivered-To: freebsd-hardware@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 6188F929 for ; Wed, 26 Nov 2014 15:35:26 +0000 (UTC) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 295E892C for ; Wed, 26 Nov 2014 15:35:26 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id rd18so2864421iec.15 for ; Wed, 26 Nov 2014 07:35:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NrTX0e1oUZnCWtthIMus/4QPncVj61owUI+xTHk7/G8=; b=Q8qf+kQultKY7MedZmbxjjv/h2bDhKfONBSHeZ3mRW1BCmRyrNnwp9WuflQFdr7/IL eQlY82VYw0uf0TitqfxskCYWo0nOPa0JdXNrquLXuctboD0L0dtR7TczTiwTl5umuBc8 /MFXAxjTSsXyfMQ0Sj6IKLcu26JWZ2zh4zGVpkF6Gh5Y3duMcafrHW2mFBB4deEjrFOB r6wHNoDGsaID0AdxHkl3iRiQ/vtHjEQNUQQ/ZUNzTFwjZHL+GxEb4YbMpRhw0Azrloxb 9luUmPjBoaAreGm0e3P/vu9FXpmpDh0lhqwoSKAm2Xp1cVB3tSLVgw13UktMP9wZiImN +o8A== MIME-Version: 1.0 X-Received: by 10.50.80.46 with SMTP id o14mr23946575igx.22.1417016125379; Wed, 26 Nov 2014 07:35:25 -0800 (PST) Received: by 10.107.156.210 with HTTP; Wed, 26 Nov 2014 07:35:25 -0800 (PST) In-Reply-To: <5475F07B.8090900@selasky.org> References: <5475F07B.8090900@selasky.org> Date: Wed, 26 Nov 2014 16:35:25 +0100 Message-ID: Subject: Re: webcamd for integrated ricoh webcam on sony vaio VGN-SZ4XN/C laptop (linux driver r5u870) From: Giuseppe Pagnoni To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hardware@freebsd.org X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2014 15:35:26 -0000 Hello, thanks for picking this up. Does that mean, then, that the camera is not supported by webcamd? I could probably find the linux sources but, unfortunately, I would not have the programming expertise to patch webcamd myself. I was hoping that somebody had already ported it to FreeBSD! thanks giuseppe On Wed, Nov 26, 2014 at 4:23 PM, Hans Petter Selasky wrote: > On 11/26/14 15:08, Giuseppe Pagnoni wrote: >> >> Dear all, >> >> I apologize for reposting this here, by I am trying with no success to >> make the camera on my laptop work under FreeBSD 10.1 i386. The laptop >> is a Vaio VGN-SZ4XN/C, and the integrated webcam is a Ricoh-made one. >> Under Linux, it is recognized as: "05ca:1835 Sony Visual Communication >> Camera VGP-VCC5" and is supported by the driver r5u870. >> >> I am unable to make it work under FreeBSD. I installed the packages: >> - lib4l >> - v4l_compat >> - webcamd >> - cuse4BSD-kmod >> >> And entered in /boot/loader.conf: >> cuse4bsd_load="YES" >> >> and in /etc/rc.conf: >> webcamd_enable="YES" >> >> The camera is attached to usb 4.3. Now, if I enter: >> # webcamd -d ugen4.3 -i 0 -v 0 >> >> I get: >> Attached to ugen4.3[0] >> webcamd: cannot find USB device >> >> Any suggestions? > > > Hi, > > Where is the source code for the "r5u870" driver? From a quick grep, it is > not part of the webcamd package, unless it uses some of the standard USB > video classes. Possibly you need to patch webcamd to build support for your > hardware. NOTE: Binary Linux drivers will not work! > > --HPS > -- Giuseppe Pagnoni Dip. Scienze Biomediche, Metaboliche e Neuroscienze Sezione Fisiologia e Neuroscienze Univ. di Modena e Reggio Emilia Via Campi 287 I-41125 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363