From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PbDOe-000181-3S for mharc-grub-devel@gnu.org; Fri, 07 Jan 2011 09:34:28 -0500 Received: from [140.186.70.92] (port=41827 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbDOc-00017u-L2 for grub-devel@gnu.org; Fri, 07 Jan 2011 09:34:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PbDOb-0004u5-Bz for grub-devel@gnu.org; Fri, 07 Jan 2011 09:34:26 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:54985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PbDOb-0004tw-7k for grub-devel@gnu.org; Fri, 07 Jan 2011 09:34:25 -0500 Received: by wyj26 with SMTP id 26so18220475wyj.0 for ; Fri, 07 Jan 2011 06:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=vKEp+iK3UjHwzVdJpfdNqadylWsujKsDudg01R+ntOM=; b=xbtyblUQUqd1Rgim00h1s1qmWcc1keiQDHNi9vDHZR+JD7+IDDbu6kvqNJsK7RsxpN SQq+OF89tECWW4oQYdX9CejR4hpaD0dk67ilbLV/MhTfaEqsxpH7Lcln6SeCtE2tM3p7 tyOdP5dRbYNlDWfmOLCDCmvjUDwamSLvMsc34= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=ICi0STxhqoZAfMtdKhONbvJ7WiAkSVPwLkMYtwIlnBGvpZbpLLGquNXNmC9uesI+P/ LBnp/3fqUWJ9fH76oEhBqPEXrT2NrWtQ1tR7B5bUWK5bH3Y81De4O+IXIT4uSMyrtz8d bTatzpONQyi/AGP13K/VdvdOILEwkvMXta3x0= Received: by 10.216.24.134 with SMTP id x6mr1592100wex.34.1294410864161; Fri, 07 Jan 2011 06:34:24 -0800 (PST) Received: from debian.bg45.phnet (114-230.203-62.cust.bluewin.ch [62.203.230.114]) by mx.google.com with ESMTPS id i80sm12447065wej.28.2011.01.07.06.34.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 Jan 2011 06:34:23 -0800 (PST) Message-ID: <4D27245F.4050807@gmail.com> Date: Fri, 07 Jan 2011 15:34:07 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11 MIME-Version: 1.0 To: grub-devel@gnu.org References: <4D07D225.1040504@gmail.com> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigBEC2802E00C9A5C443543220" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: LPT X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2011 14:34:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBEC2802E00C9A5C443543220 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/07/2011 03:18 PM, Kirill Kuprijanov wrote: > On 14.12.2010 23:23, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: >> On 12/14/2010 08:54 PM, Kirill Kuprijanov wrote: >>> Hello, >>> >>> I have a motherboard with LCD indicator attached to it's LPT port. I >>> would like to make grub show some early splash screen on it. All the >>> things regarding protocol and pin assignments are ok, as I already >>> have a programm to show stuff on LCD from OS (Debian). So the questio= n >>> is "how to make a grub module that is capable of setting levels on LP= T >>> pins?" and a second one is "how to make use of it during bootup >>> procedure? >>> >> Currently GRUB has no LPT driver whatsoever. You would need to write >> one. I suggest having look in our tree at ns8250.c (serial driver), >> hello.c (module usage). As for how to write LPT driver, old DOS >> documentation is usually of assistance (nothing changed there). > > Does that mean LPT driver is actually a grub module (just to prove me > right)?=20 I would write it as a separate module. > Then what about some code to show the splash itself? Should it be a > second separate module or should I place it in some other place? > It must be at least be in a separate file and use a sane interface to LPT port. When it's done this way, whether it's compiled into separate module or not is just 2 lines of change >>> Thanks in advance, >>> Kirill >>> >>> >>> _______________________________________________ >>> Grub-devel mailing list >>> Grub-devel@gnu.org >>> http://lists.gnu.org/mailman/listinfo/grub-devel >>> >> >> >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigBEC2802E00C9A5C443543220 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk0nJF8ACgkQNak7dOguQgl6+AD/b6UwGuVxe3dGJeiw4f6K54Dm 8hN1hiPGRujV3G+69bIA/iC5Ltg8hbqYtv06Pu0Lt+l2+MNCijsCYmNMAg7TIyLq =2IQc -----END PGP SIGNATURE----- --------------enigBEC2802E00C9A5C443543220--