From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754030AbYIXMij (ORCPT ); Wed, 24 Sep 2008 08:38:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752419AbYIXMiW (ORCPT ); Wed, 24 Sep 2008 08:38:22 -0400 Received: from mail-in-04.arcor-online.net ([151.189.21.44]:48337 "EHLO mail-in-04.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753000AbYIXMiV (ORCPT ); Wed, 24 Sep 2008 08:38:21 -0400 From: Bodo Eggert <7eggert@gmx.de> Subject: Re: parport_pc disables parallel port on unload. To: Bill Unruh , linux-kernel@vger.kernel.org Reply-To: 7eggert@gmx.de Date: Wed, 24 Sep 2008 14:47:46 +0200 References: User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-Id: X-be10.7eggert.dyndns.org-MailScanner-Information: See www.mailscanner.info for information X-be10.7eggert.dyndns.org-MailScanner: Found to be clean X-be10.7eggert.dyndns.org-MailScanner-From: 7eggert@gmx.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bill Unruh wrote: > I have a parallel port module gps.c which I have written ( after the short > module described in Linux Device Drivers), whose purpose is to timestamp > the occurance of interrupts on the parallel port Ack line to as high a > temporal accuracy as possible.These are generated by the PPS line of a Gamin > 18LVC gps receiver. Since I want the highest accuracy possible I do not want > the latency of going through the stock drivers and waiting for a poll or > select to let me know an interrupt has occured. > So, could anyone point me to some relatively comprehensible documentation ( > or "canned program") to show me how to switch the parallel port back on if > unloading parport_pc has switched it off. You can copy/paste the relevant parts from the parport_pc driver.