From owner-freebsd-questions@FreeBSD.ORG Fri Jun 18 23:14:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFED316A4CE for ; Fri, 18 Jun 2004 23:14:12 +0000 (GMT) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D8C243D48 for ; Fri, 18 Jun 2004 23:14:12 +0000 (GMT) (envelope-from mike@pcmedx.com) Received: from duron.pcmedx.com ([69.167.169.161]) by mta9.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040618231246.YNVZ23406.mta9.adelphia.net@duron.pcmedx.com>; Fri, 18 Jun 2004 19:12:46 -0400 Received: from localhost (localhost [127.0.0.1]) by duron.pcmedx.com (Postfix) with ESMTP id 9BB4FAA02; Fri, 18 Jun 2004 16:12:45 -0700 (PDT) Received: from duron.pcmedx.com ([127.0.0.1]) by localhost (duron.pcmedx.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58175-02; Fri, 18 Jun 2004 16:12:44 -0700 (PDT) Received: from [192.168.240.244] (mike.pcmedx.com [192.168.240.244]) by duron.pcmedx.com (Postfix) with ESMTP id 9E076A932; Fri, 18 Jun 2004 16:12:44 -0700 (PDT) Message-ID: <40D376EC.60906@pcmedx.com> Date: Fri, 18 Jun 2004 16:12:44 -0700 From: Mike Maltese User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4636.81.84.175.12.1087585711.squirrel@81.84.175.12> In-Reply-To: <4636.81.84.175.12.1087585711.squirrel@81.84.175.12> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd (http://www.amavis.org) and f-prot (http://www.f-prot.com) at pcmedx.com cc: klr@6s-gaming.com Subject: Re: LED proggy question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 23:14:13 -0000 klr@6s-gaming.com wrote: > hey, > > I've been trying to find a program on the ports that allows me to change > the state of the keyboard LEDs. I want to put the keyboard on the room > wall and make a script to call a program which makes leds blink according > to the kind of traffic being blocked on the firewall. I want a program > like: > > blink 1 - blinks num lock > blink 2 - blinks caps lock > blink 3 - blinks scroll lock > > If there isn't such a program on the ports, perhaps someone with the > knowledge to write this program could do it ? I don't touch C for many > many years and couldn't find any function to do this. sysutils/flasher may be a good source for learning how to work with keyboard LEDs.