bugGNU GRUB - Bugs: bug #12388, New Feature: support for hardware...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12388: New Feature: support for hardware i/o based bootup selection

Submitter:  philipp fischer <phl>
Submitted:  Sun 20 Mar 2005 06:23:27 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Philipp
Open/Closed:  Closed Release:  None
Release:  0.96 Reproducibility:  None
Planned Release:  None

Sat 15 Dec 2007 05:07:28 PM UTC, comment #1: 

We've moved to GRUB 2 as a development platform.  You'd have to update this patch before it can be used there.

However, I'm not sure this is a feature we want.  Could you bring this up on the mailing list?  (grub-devel@gnu.org)

I'm closing this bug.  Please reopen only after discussion.

Robert Millan <robertmh>
Group administrator
Sun 20 Mar 2005 06:23:27 PM UTC, original submission:  

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.


philipp fischer <phl>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #2768:  grub-0.96-hwio.patch added by phl (6KiB - application/octet-stream - GRUB Hardware I/O patch, adding 2 new commands)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen Closed
    2005-03-20 phl Attached File- Added grub-0.96-hwio.patch, #2334

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code