From 9bb1b6140bb9c6a6c8e83ca5af212138bc815e4d Mon Sep 17 00:00:00 2001 From: pst Date: Sat, 16 Mar 1996 22:06:26 +0000 Subject: Bring in support code to make QuickCam driver a LKM. Stolen from: jmz --- lkm/qcam/Makefile | 16 ++++++++++++++++ lkm/qcam/qcam | 4 ++++ lkm/qcam/qcam.8 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 lkm/qcam/Makefile create mode 100644 lkm/qcam/qcam create mode 100644 lkm/qcam/qcam.8 (limited to 'lkm') diff --git a/lkm/qcam/Makefile b/lkm/qcam/Makefile new file mode 100644 index 0000000..d4fd422 --- /dev/null +++ b/lkm/qcam/Makefile @@ -0,0 +1,16 @@ +.PATH: ${.CURDIR}/../../sys/i386/isa +KMOD = qcam_mod +SRCS = qcam.c qcam.h +MAN8 = qcam.8 + +CFLAGS += -I. -I/sys -DQCAM_MODULE -DACTUALLY_LKM_NOT_KERNEL +CLEANFILES += qcam.h + +qcam.h: + echo "#define NQCAM 1" > qcam.h + +afterinstall: + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ + ${.CURDIR}/qcam ${DESTDIR}/usr/bin + +.include diff --git a/lkm/qcam/qcam b/lkm/qcam/qcam new file mode 100644 index 0000000..f298e68 --- /dev/null +++ b/lkm/qcam/qcam @@ -0,0 +1,4 @@ +#!/bin/sh +# $Id$ + +modload -q -u -A `sysctl -n kern.bootfile` /lkm/qcam_mod.o diff --git a/lkm/qcam/qcam.8 b/lkm/qcam/qcam.8 new file mode 100644 index 0000000..3a4587d --- /dev/null +++ b/lkm/qcam/qcam.8 @@ -0,0 +1,51 @@ +.\" +.\" Copyright (c) 1996 Paul Traina +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" $Id$ +.\" +.Dd March 18, 1996 +.Dt QCAM 8 +.Os FreeBSD +.Sh NAME +.Nm qcam +.Nd load the Connectix QuickCam(TM) driver kernel module +.Sh SYNOPSIS +.Nm qcam +.Sh DESCRIPTION +The +.Nm +utility loads the QuickCam driver kernel module. +.Sh FILES +.Bl -tag -width /lkm/qcam_mod.o +.It Pa /lkm/qcam_mod.o +QuickCam loadable kernel module. +.Sh "SEE ALSO" +.Xr qcam 4 , +.Xr modload 8 , +.Xr lkm 4 +.Sh TRADEMARK +QuickCam is a registered trademark of Connectix, Inc. +.Sh NOTES +This driver is not supported by Connectix and was developed by reverse +engineering the design. Use at your own risk. -- cgit v1.1