From owner-freebsd-hardware Tue Jan 9 06:06:18 1996 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA11420 for hardware-outgoing; Tue, 9 Jan 1996 06:06:18 -0800 (PST) Received: from cc.jyu.fi (root@cc.jyu.fi [130.234.1.3]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA11407 for ; Tue, 9 Jan 1996 06:06:08 -0800 (PST) Received: from [130.234.41.39] (zaphod.maccc.jyu.fi [130.234.41.39]) by cc.jyu.fi (8.7.2/8.7.2) with SMTP id QAA23633; Tue, 9 Jan 1996 16:05:23 +0200 (EET) X-Sender: kallio@pop.jyu.fi Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 9 Jan 1996 16:05:47 +0300 To: truesdel@nas.nasa.gov, shovey@buffnet.net From: kallio@cc.jyu.fi (Seppo Kallio) Subject: Linux Connectix QuickCam app Cc: hardware@freebsd.org Sender: owner-hardware@freebsd.org Precedence: bulk Found this ... Seppo ---------------------------------------------------------------- Subject: Connectix QuickCam (parallel-port) supported in Linux X-URL: ftp://ftp.nas.com/laird/README-0.2 ftp://ftp.nas.com/laird/README-0.2 README for qcam 0.2 This is the third alpha-test release of my control program for the Connectix QuickCam parallel port video camera. It enables you to take pictures with the camera at 320x240, 160x120, or 80x60 using 4 or 6 bits per pixel. This program may not work with your camera, and could possibly damage your system if used improperly. Use at your own risk. New Features since 0.1: ----------------------- I've included Paul Chinn's X frontend as 'xqcam', and enhanced it a bit. It supports the same command-line options as the original, plus a -C flag for using a private colormap and a -v flag for verbose operation. Right now, verbose mode only adds a running frame rate display. Added a TK front end to qcam to make it easier to experiment with brightness, contrast, and white balance settings. Added a new program ("probeqcam") to automatically probe for the QuickCam. Note: This may fail if an old version of "qcam" has accessed the camera recently. It wouldn't detect my QuickCam until I unplugged it and then replugged it. I added a qc_reset at the end of qc_scan, and that seems to have fixed the problem for now. Please test this on your system and report problems ASAP -- I want to add autoprobing to libqcam if the port isn't specified otherwise. Added support for SUID operation. Added code to library to automatically set the scan mode from resolution, bit depth. Added locking to qc_open/qc_close -- hopefully this will prevent multiple programs from trying to use the same camera at the same time. Usage: ------ qcam [options] [filename] Options: -x width Set width -y height Set height -p port Set port -B bpp Set bits per pixel -c val Set contrast -w val Set white balance -b val Set brightness -V Print version The program returns one image from the camera on standard output in PGM format. The default resolution is 160x120, and the default port is 0x378 (LPT1). There are command-line arguments to change these as well as a configuration file. If your camera is on your first parallel port (0x378 or /dev/lp1), then your should be able to run the program with no options and get a picture. If you are unsure which port your QuickCam is on, run probeqcam as root, and it should tell you. This program *must* run as root to allow access to the parallel port. This program can be run suid root, and should not pose a security problem. The makefile's install target installs qcam and xqcam into /usr/local/bin, suid root by default. Credits: -------- Several people have contributed to this, including Paul Chinn, Thomas Davis, Russell Nelson, and Simon Janes. Copyright: ---------- I've placed this program under the same copyright the X Consortium uses. Basically, it's free for any use whatsoever. If this manages to cause great problems for anyone (?) let me know and I suspect we can arrange something. Here's the notice: Copyright (C) 1996 by Scott Laird Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SCOTT LAIRD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Bugs: ----- This program has bugs. The known ones should be listed in the BUGS file that comes with this program. Please send bug reports/fixes to me at scott@laird.com, and I'll try to get the bug fixed for the next version. FTP Site: --------- The latest version of this program can be found in ftp://ftp.nas.com/laird Mailing List: ------------- There is a mailing list for discussing the QuickCam and Linux at linux-connectix@crynwr.com. Send mail to linux-connect-request@crynwr.com to be added to the list. Scott Laird scott@laird.com January 3, 1996. -- +-- Seppo Kallio ----- kallio@jyu.fi ---+ ! Computing Center ! Fax +358-41-603611 Phone +358-41-603606 ! ! University of Jyvaskyla ! http://www.jyu.fi/~kallio ! +-- Finland --+-- 62.14N 25.44E -- +