From owner-freebsd-questions Wed Mar 20 10:46:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.libertysurf.net (mail.libertysurf.net [213.36.80.91]) by hub.freebsd.org (Postfix) with ESMTP id 1C53C37B405 for ; Wed, 20 Mar 2002 10:46:15 -0800 (PST) Received: from mybox.athome.net (213.36.0.194) by mail.libertysurf.net (5.1.053) (authenticated as francis.gudin@libertysurf.fr) id 3C9898FD0000D3AB for freebsd-questions@freebsd.org; Wed, 20 Mar 2002 19:46:16 +0100 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Date: Wed, 20 Mar 2002 19:43:40 +0100 (CET) From: francis.gudin@libertysurf.fr To: freebsd-questions@freebsd.org Subject: Re-init of lpt's driver is possible ? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello there, First of all : my apologies for the words i'll use... i'm in love with FreeBSD for 8 months only. I've got a somewhat unusual need : i'd like to trigger the init code from /dev/lpt*'s driver, while running multi-user. Let me explain : lazyless makes me not seeking for one of these power cables, so i've got to switch between my CRT and the printer during boot-time. Not smart :( I tried and had a look at kernel's init sequence, but my C lessons are now far away, and hacking into FBSD's internals isn't so easy to me. So, i'd appreciate your suggestions about it : is there a signal i could send the kernel to force it redetecting my hardware (well, only the lpt subroutines) ? Maybe there's a function i could call, or something else ? Thank you very much, Francis. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message