Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1Ch1iS-0001jd-88 for mharc-grub-devel@gnu.org; Wed, 22 Dec 2004 03:19:28 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Ch1iQ-0001jN-A7 for grub-devel@gnu.org; Wed, 22 Dec 2004 03:19:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Ch1iP-0001io-4v for grub-devel@gnu.org; Wed, 22 Dec 2004 03:19:25 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ch1iP-0001iX-11 for grub-devel@gnu.org; Wed, 22 Dec 2004 03:19:25 -0500 Received: from [195.113.31.125] (helo=artax.karlin.mff.cuni.cz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ch1XG-0003IM-QL for grub-devel@gnu.org; Wed, 22 Dec 2004 03:07:55 -0500 Received: by artax.karlin.mff.cuni.cz (Postfix, from userid 17122) id E90213FEE; Wed, 22 Dec 2004 09:07:52 +0100 (CET) Date: Wed, 22 Dec 2004 09:07:52 +0100 From: Tomas Ebenlendr To: The development of GRUB 2 Message-ID: <20041222080752.GA17249@artax.karlin.mff.cuni.cz> Mail-Followup-To: The development of GRUB 2 References: <20041221183026.GA24393@ebed.etf.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041221183026.GA24393@ebed.etf.cuni.cz> User-Agent: Mutt/1.5.6i Subject: Re: Grub and IR remote control? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 08:19:26 -0000 > > Hello! > > I've build microchip based IR remote control receiver, > that can wake my PC (it's connected via the RS232 > and it utilizes the RIng line that can be used with > WOR capables motherboards). > > Now the receiver knows by wich IR code was the PC > waked (it can be programmed to which codes to listen > or not to), so I thought it would be nice, if > grub could grab this code from the receiver > (it's just simple sending a command to the RS232 > and reading the response) and choose what to start > accordingly. > > Now my question: could someone point me, where could > start trying hacking? Should I use grub2, or grub1? > Is there some framework already, that I could reuse? > > Thank's a lot! > > Petr Tomasek > > P.S. I haven't published the schematics and firmware > for the receiver yet, but I hope to do that in the > future. > > -- > Petr Tomasek, http://www.etf.cuni.cz/~tomasek/ Grub 2 hacking should be somewhat easier. It is enough to write a module providing the command to read the port. On the other hand, grub2 is still in development, and sometimes does not work. Grub legacy is stable, but not feature-maintained anymore, so if you want to publish your feature to grub 1, you should do it via patch on your web-pages. P.S.: I don't know how looks grub legacy inside, I'm hacking only for 2. -- Tomas 'ebi' Ebenlendr http://get.to/ebik PF 2004.97370054139