diff options
author | pst <pst@FreeBSD.org> | 1996-02-02 19:25:24 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-02-02 19:25:24 +0000 |
commit | ef78cb2df20f9fdd9d64b1ad0add0dc71b8ce1e8 (patch) | |
tree | 2ba16789bcd603197db683febfa31450e0d9aff8 | |
parent | acb82eb21b1ae459241f2a862191503b535bc3b6 (diff) | |
download | FreeBSD-src-ef78cb2df20f9fdd9d64b1ad0add0dc71b8ce1e8.zip FreeBSD-src-ef78cb2df20f9fdd9d64b1ad0add0dc71b8ce1e8.tar.gz |
Add support for Connectix QuickCam(tm)
-rw-r--r-- | etc/MAKEDEV | 10 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 10 | ||||
-rw-r--r-- | share/man/man4/man4.i386/Makefile | 1 | ||||
-rw-r--r-- | share/man/man4/man4.i386/qcam.4 | 74 |
4 files changed, 93 insertions, 2 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 2fa3b96..a876e4e 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -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 diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 2fa3b96..a876e4e 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -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 diff --git a/share/man/man4/man4.i386/Makefile b/share/man/man4/man4.i386/Makefile index 652b921..779e457 100644 --- a/share/man/man4/man4.i386/Makefile +++ b/share/man/man4/man4.i386/Makefile @@ -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 diff --git a/share/man/man4/man4.i386/qcam.4 b/share/man/man4/man4.i386/qcam.4 new file mode 100644 index 0000000..23093b5 --- /dev/null +++ b/share/man/man4/man4.i386/qcam.4 @@ -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. |