diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 2fa3b9633f53..a876e4e05e13 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 2fa3b9633f53..a876e4e05e13 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 652b9215a8d9..779e4571f20f 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 000000000000..23093b563a85 --- /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.