From owner-freebsd-questions Sun Oct 22 0:28:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mx7.port.ru (mx7.port.ru [194.67.23.44]) by hub.freebsd.org (Postfix) with ESMTP id 21D4637B479 for ; Sun, 22 Oct 2000 00:28:23 -0700 (PDT) Received: from [195.58.58.23] (helo=195.58.58.23) by mx7.port.ru with esmtp (Exim 3.14 #9) id 13nFYL-00067D-00 for freebsd-questions@freebsd.org; Sun, 22 Oct 2000 11:28:21 +0400 Date: Sun, 22 Oct 2000 11:27:27 +0400 From: Mike Petrov X-Mailer: The Bat! (v1.44) Reply-To: Mike Petrov X-Priority: 3 (Normal) Message-ID: <612491722.20001022112727@mail.ru> To: freebsd-questions@freebsd.org Subject: Controlling keyboard leds on FreeBSD 3.4 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I need to turn on/off keyboard leds (num-lock,caps-lock,scroll-lock). I mean, I log in remotely to my FreeBSD-box, and can control state of leds on keyboard. What is the easiest way to do it? I made C-program with assembler code for DOS, it uses "in", "out" commands with keyboard port 60H. Problem in compiling such program with gcc. -- Best regards, Mike mailto:muwa@mail.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message