URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12388>

                 Summary: New Feature: support for hardware i/o based bootup
selection
                 Project: GNU GRUB
            Submitted by: phl
            Submitted on: Son 20.03.2005 um 18:23
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Philipp
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
                 Release: 0.96
         Reproducibility: None
         Planned Release: 

    _______________________________________________________

Details:

This little patch adds two new supported commands to grub.
"onportsel" and "portout".
With portout, it is possible to set a certain value to a hardware i/o port.

syntax: portout ADDR VALUE

With onportsel you can change the selected boot entry if the input on a
certain hardware address matches a mask.

Example:

onportsel 2 0x201 xxx0xxxx
 (matches if the first button of a plugged joystick is pressed.
  Joystickport = 0x201)

syntax: onportsel ENTRYNUM PORTADDR MASK
the mask must be 8 chars long and can contain '0's, '1's, or 'x's.
It represents one byte.
x - bits are ignored. All others must be matched to select the entry.

I use this command to switch between windows and linux, using a hardware
switch.
This is especially handy, if you only want to restart but do not want to wait
until the bootmenu pops up, to select the appropriate OS.







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Son 20.03.2005 um 18:23  Name: grub-0.96-hwio.patch  Size: 6KB   By:
phl
GRUB Hardware I/O patch, adding 2 new commands
<http://savannah.gnu.org/bugs/download.php?item_id=12388&item_file_id=2334>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12388>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to