Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Itj2C-0006cT-12 for mharc-grub-devel@gnu.org; Sun, 18 Nov 2007 07:13:56 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Itj29-0006ZM-WA for grub-devel@gnu.org; Sun, 18 Nov 2007 07:13:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Itj28-0006Xk-TU for grub-devel@gnu.org; Sun, 18 Nov 2007 07:13:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Itj28-0006XX-Pn for grub-devel@gnu.org; Sun, 18 Nov 2007 07:13:52 -0500 Received: from smtp-vbr1.xs4all.nl ([194.109.24.21]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Itj28-0006A6-JA for grub-devel@gnu.org; Sun, 18 Nov 2007 07:13:52 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id lAICDpnY041040 for ; Sun, 18 Nov 2007 13:13:51 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20071110213136.GA18400@thorin> <87sl33rdoz.fsf@xs4all.nl> <20071118115656.GB18369@thorin> Mail-Copies-To: mgerards@xs4all.nl Date: Sun, 18 Nov 2007 13:14:46 +0100 In-Reply-To: <20071118115656.GB18369@thorin> (Robert Millan's message of "Sun, 18 Nov 2007 12:56:56 +0100") Message-ID: <87zlxbpx6x.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: serial port 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: Sun, 18 Nov 2007 12:13:54 -0000 Robert Millan writes: > On Sun, Nov 18, 2007 at 12:33:00PM +0100, Marco Gerards wrote: >> Robert Millan writes: >> >> Hi, >> >> > Any reason why the serial port is not enabled in grub_serial_init() ? >> > >> > grub> terminal >> > Available terminal(s): console >> > Current terminal: console >> > grub> serial >> > grub> terminal >> > Available terminal(s): serial console >> > Current terminal: serial >> >> Perhaps because the serial command sets it up? Although I agree it >> seems a bit weird that it works this way. Perhaps it should be >> enabled with the same defaults from the beginning? >> >> One problem of initializing it is that hardware will be accessed, >> while it might not be desirable. > > Maybe we could move this to grub_term.init ? This way hardware is not > accessed untill user requests a switch. As long as it stays within serial.mod. Is that what you propose? -- Marco