bug-grub
[Top][All Lists]
Advanced

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

[bugs #12388] New Feature: support for hardware i/o based bootup selecti


From: philipp fischer
Subject: [bugs #12388] New Feature: support for hardware i/o based bootup selection
Date: Sun, 20 Mar 2005 18:23:28 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041122 Firefox/1.0

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: address@hidden
             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/





reply via email to

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