From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 17:50:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6885F16A412 for ; Wed, 31 Jan 2007 17:50:56 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id DE48A13C4AA for ; Wed, 31 Jan 2007 17:50:55 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HCJbY-0007ve-Dh for freebsd-current@freebsd.org; Wed, 31 Jan 2007 18:50:44 +0100 Received: from mulderlab.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Jan 2007 18:50:44 +0100 Received: from atkin901 by mulderlab.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Jan 2007 18:50:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Mark Atkinson Date: Wed, 31 Jan 2007 09:50:33 -0800 Lines: 49 Message-ID: References: <20070130170443.A49225__4224.36480080268$1170205552$gmane$org@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mulderlab.f5.com User-Agent: KNode/0.10.4 Sender: news Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 17:50:56 -0000 Luigi Rizzo wrote: > I think I reached a first interesting milestone in my project > to build an emulation layer to compile linux device drivers on FreeBSD. > > I managed to build a FreeBSD port of the linux 'gspca' driver (which > claims to support 228 different webcams) with basically no modifications > to the original source. So it would be good if someone could give a try > to this code, either on -current or -stable, keeping in mind that > this is NOT PRODUCTION READY yet. > > More details on how the thing works are at > > http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html > > together of course with source code, and even binary modules > for FreeBSD 6.2. > Basically I would like to know how it builds/works on -current, > have reports on cameras that work with it and those which don't > and so on. The driver supports the Video4Linux API so it should > be useful for a variety of applications. This is an Intel 'Create and Share' Camera Model No. CS330. [root@moby gspcav1-20070110]$ tail /var/log/messages Jan 31 09:44:48 moby kernel: usb_spca5xx_init: gspca driver 01.00.12 registered Jan 31 09:46:19 moby kernel: ldev0: on uhub2 Jan 31 09:46:19 moby kernel: ldev_attach: sc at 0xc5f88000, l_u_d at 0xc5f88058 Jan 31 09:46:19 moby kernel: --- allocate 191 bytes gives 0xc5f8e500 Jan 31 09:46:19 moby kernel: interface 0 has 8 altsettings (cur 0) Jan 31 09:46:19 moby kernel: gspca_attach_bridge: USB SPCA5XX camera found. (SPCA501 ) Jan 31 09:46:19 moby kernel: spca5xx_probe: [spca5xx_probe:3976] Camera type YUYV Jan 31 09:46:20 moby kernel: spca5xx_getcapability: [spca5xx_getcapability:1182] maxw 640 maxh 480 minw 160 minh 120 Jan 31 09:46:20 moby kernel: 615548232 [ 878] video_register_device: to be fixed but ok for now Jan 31 09:46:20 moby kernel: ldev0: vendor 0x0733 product 0x0401, rev 1.00/0.90, addr 2 -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired);