Add support for Connectix QuickCam(tm)

This commit is contained in:
Paul Traina 1996-02-02 19:25:24 +00:00
parent 744f4aaa11
commit 869fc587ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13855
4 changed files with 93 additions and 2 deletions

View File

@ -90,10 +90,11 @@
# tun Tunneling IP device
# spigot Video Spigot video acquisition card
# meteor* Matrox Meteor video acquisition card (pci)
# qcam* Connectix QuickCam(tm) parallel port camera
# isdn* ISDN devices
# labpc* National Instrument's Lab-PC and LAB-PC+
#
# $Id: MAKEDEV,v 1.111 1996/01/28 19:10:37 bde Exp $
# $Id: MAKEDEV,v 1.112 1996/01/31 15:02:51 mpp Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -993,6 +994,13 @@ spigot)
chmod 444 spigot
;;
qcam?)
unit=`expr $i : 'qcam\(.*\)'`
rm -f qcam$unit
mknod qcam$unit c 73 $unit
chmod 444 qcam$unit
;;
meteor?)
unit=`expr $i : 'meteor\(.*\)'`
rm -f meteor$unit

View File

@ -90,10 +90,11 @@
# tun Tunneling IP device
# spigot Video Spigot video acquisition card
# meteor* Matrox Meteor video acquisition card (pci)
# qcam* Connectix QuickCam(tm) parallel port camera
# isdn* ISDN devices
# labpc* National Instrument's Lab-PC and LAB-PC+
#
# $Id: MAKEDEV,v 1.111 1996/01/28 19:10:37 bde Exp $
# $Id: MAKEDEV,v 1.112 1996/01/31 15:02:51 mpp Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -993,6 +994,13 @@ spigot)
chmod 444 spigot
;;
qcam?)
unit=`expr $i : 'qcam\(.*\)'`
rm -f qcam$unit
mknod qcam$unit c 73 $unit
chmod 444 qcam$unit
;;
meteor?)
unit=`expr $i : 'meteor\(.*\)'`
rm -f meteor$unit

View File

@ -33,6 +33,7 @@ MLINKS+= mse.4 ../mse.4
MLINKS+= nca.4 ../nca.4
MLINKS+= npx.4 ../npx.4
MLINKS+= pcvt.4 ../pcvt.4
MLINKS+= qcam.4 ../qcam.4
MLINKS+= scd.4 ../scd.4
MLINKS+= screen.4 ../screen.4
MLINKS+= sea.4 ../sea.4

View File

@ -0,0 +1,74 @@
.Dd Feburary 1, 1996
.Dt SD 4
.Os FreeBSD
.Sh NAME
.Nm qcam
.Nd Connectix QuickCam(TM) parallel port camera driver
.Sh SYNOPSIS
.Cd device qcam0 at isa? at "IO_LPT1" conflicts
.Sh DESCRIPTION
The
.Nm qcam
driver provides support for a Connectix
.Tn QuickCam
camera. It allows one to utilize all known modes, and may support
as many cameras as there are parallel ports available.
.Pp
When the
.Tn parallel\ ports
are probed during boot, the port will be scanned for the presence
of a camera.
.Sh KERNEL CONFIGURATION
The
.Nm
driver can share the same port with the lpt driver, however it is
reccommended that the lpt driver be configured for polled operation
if this sharing is to be done.
.Sh IOCTLS
The following
.Xr ioctl 2
calls apply to
.Tn QuickCam
devices.
They are defined in the header file
.Aq Pa qcam.h .
.Pp
.Bl -tag -width QC_GET
.It Dv QC_GET
Read, from the kernel, the current configuration and status
information about camera.
.It Dv QC_SET
Configure the camera for various operating modes. Image size,
resolution, zoom, and luminosity controls are available.
.Sh NOTES
If the camera is not found at boot time, the
.Nm
driver will not be available for use.
.Sh FILES
.Bl -tag -width /dev/qcamX -compact
.It Pa /dev/qcam Ns Ar u
raw mode
.Tn QuickCam
camera unit
.Ar u ,
accessed as a read-only character device
.El
.Sh DIAGNOSTICS
None.
.Sh SEE ALSO
.Xr qcamcontrol 8
.br
The QuickCam reverse engineering project, http://www.crynwr.com/qcpc/
.Sh HISTORY
The
.Nm
driver is new to
.Tn FreeBSD .
.Sh AUTHOR
The
.Nm
driver was written by Paul Traina borrowing heavily
from code written by Thomas Davis, Scott Laird, Paul Chinn, and additional
work done by Russel Nelson.
.Sh TRADEMARK
QuickCam is a registered trademark of Connectix Inc.