From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 23 23:27:08 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D7F416A4CE for ; Thu, 23 Sep 2004 23:27:08 +0000 (GMT) Received: from hercules.crossthread.com (hercules.crossthread.com [64.56.149.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44E3243D31 for ; Thu, 23 Sep 2004 23:27:08 +0000 (GMT) (envelope-from timp@crossthread.com) Received: from [192.168.1.2] (dedalus.crossthread.com [192.168.1.2]) (authenticated)i8NNW3p47424; Thu, 23 Sep 2004 17:32:03 -0600 (MDT) Message-ID: <41535CCE.8070503@crossthread.com> Date: Thu, 23 Sep 2004 17:31:26 -0600 From: Tim Pushor User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Daniel O'Connor" References: <4151C8F6.5060905@crossthread.com> <200409232201.30201.doconnor@gsoft.com.au> In-Reply-To: <200409232201.30201.doconnor@gsoft.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 24 Sep 2004 12:15:34 +0000 cc: freebsd-hackers@freebsd.org Subject: Re: Crystalfontz LCD display from kernel? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 23:27:08 -0000 Daniel O'Connor wrote: >On Thu, 23 Sep 2004 04:18, Tim Pushor wrote: > > >>My question is, I would really like to be able to display various things >>during startup, shutdown, and once shutdown is complete to the LCD. I >>assume I would have to modify the kernel for this. I done lots of C >>programming, and hardware interface programming in C and assembler, but >>never any UNIX kernel programming. >> >>First of all, is this doable? Also, would it be easier (from the kernel >>programming perspective) to do this via USB or Serial? >> >> > >Opening a device etc from the kernel would be moderatly painful.. >It write a userland program which did it first and then port it. > > > Daniel, Theres' really nothing to port. I just want to output various things at different points in the bootup process, and again when the system is safe to shut off. How painful is it to open/use a device from inside the kernel? Thanks, Tim