grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LPT


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: LPT
Date: Fri, 07 Jan 2011 15:34:07 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11

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
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/grub-devel
>>>
>>
>>
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]