From owner-freebsd-questions Thu Feb 15 04:23:06 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA28343 for questions-outgoing; Thu, 15 Feb 1996 04:23:06 -0800 (PST) Received: from hda.com (hda.com [199.232.40.182]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA28338 for ; Thu, 15 Feb 1996 04:23:03 -0800 (PST) Received: (from dufault@localhost) by hda.com (8.6.11/8.6.9) id HAA27447; Thu, 15 Feb 1996 07:29:17 -0500 From: Peter Dufault Message-Id: <199602151229.HAA27447@hda.com> Subject: Re: QuickCam software port To: MARCOS@eig.unige.ch Date: Thu, 15 Feb 1996 07:29:15 -0500 (EST) Cc: freebsd-questions@freebsd.org In-Reply-To: <01I18P2BGYDE8WW8Z7@eig.unige.ch> from "MARCOS@eig.unige.ch" at Feb 15, 96 11:56:26 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org Precedence: bulk (I've redirected this to -questions, since -ports is more about issues related to the FreeBSD "ports" mechanism than issues with a piece of software being ported) > I've just bought a QuickCam and found some software for Linux made for it. > > Is there already a port of QuickCam dedicated softwares to FreeBSD ? I can't answer this but I believe the answer is no; there is some discussion of QuickCam requiring an NDA (non disclosure aggreement) to release the programming info. Search the mailing list archive at http://www.freebsd.org/search.html. I found this connectix URL there in one of the articles: http://www.pcworld.com/connectix/qcfaqw.html > If not, I'm in the process of porting some utilities but I'm stopped by the > Linux proprietary function "ioperm" which grants direct access for applications > to I/O ports. What is the equivalent on FBSD ? Once you open "/dev/io" you can access all I/O ports directly. There is no fine-grain mechanism. The man page is missing everywhere except the newest releases, however, it is straightforward - ensure /dev/io exists, set the protection modes up appropriately for your application, and open the device before trying to use the inb/outb inline functions found in machine/cpufunc.h. -- Peter Dufault Real-Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267