From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: LPT
Date: Fri, 07 Jan 2011 15:34:07 +0100 [thread overview]
Message-ID: <4D27245F.4050807@gmail.com> (raw)
In-Reply-To: <ig77c0$ae1$1@dough.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1996 bytes --]
On 01/07/2011 03:18 PM, Kirill Kuprijanov wrote:
> On 14.12.2010 23:23, Vladimir 'φ-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 question
>>> is "how to make a grub module that is capable of setting levels on LPT
>>> 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)?
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
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2011-01-07 14:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-14 19:54 LPT Kirill Kuprijanov
2010-12-14 20:23 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-07 14:18 ` LPT Kirill Kuprijanov
2011-01-07 14:34 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2010-12-14 23:06 ` LPT Jordan
2010-12-14 23:22 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko
2011-02-10 18:57 ` LPT Kirill Kuprijanov
2011-02-10 21:47 ` LPT Vladimir 'φ-coder/phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D27245F.4050807@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).