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

Submitted by:  philipp fischer <phl>
Submitted on:  Sun 20 Mar 2005 06:23:27 PM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Philipp
Open/Closed: ClosedRelease: 0.96
Release: NoneReproducibility: 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>
Project 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>

 

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
  • -unavailable- added by robertmh (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Dec 2007 05:07:28 PM UTCrobertmhOpen/ClosedOpen=>Closed
    Sun 20 Mar 2005 06:23:28 PM UTCphlAttached File-=>Added grub-0.96-hwio.patch, #2334

    Back to the top


    Powered by Savane 3.1-cleanup1