[Top][All Lists]

[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


                 Summary: New Feature: support for hardware i/o based bootup
                 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: 



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.


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
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:
GRUB Hardware I/O patch, adding 2 new commands


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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