bugGNU GRUB - Bugs: bug #28628, Concurrent console and serial...

 
 

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

bug #28628: Concurrent console and serial access

Submitted by:  Gerald Villemure <gvillemure>
Submitted on:  Sat 16 Jan 2010 04:23:19 AM UTC  
 
Category: TerminalSeverity: Major
Priority: 5 - NormalItem Group: Feature Request
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 1.97Reproducibility: Every Time
Planned Release: None

Sat 16 Jan 2010 10:51:51 AM UTC, comment #2:

Multiple concurrent terminal support has been already merged into Bazaar trunk

Felix Zielcke <fzielcke>
Project Member
Sat 16 Jan 2010 06:40:32 AM UTC, comment #1:

Turn out a figure out a way that works good enough:

echo -e "\n\nTesting serial."
echo "If I see ESC from serial within 10 seconds"
echo "I will give over grub console to the serial port."

serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
terminal_input serial
terminal_output serial
#For some reason the "clear" command has been removed
echo -e "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
echo -n "Press ESC within 10 second to take control of console "
if sleep -i -v 10 ; then
echo -e "\n\n\nTimes up, going to console, sorry.\n\n"
terminal_input console
terminal_output console
else
terminal_output console
echo -e "\n\nConsole has gone over to the serial port."
terminal_output serial
fi

Gerald Villemure <gvillemure>
Sat 16 Jan 2010 04:23:19 AM UTC, original submission:

Historically this option has always worked:
terminal --dumb --timeout=10 console serial

But with the new version of GRUB it not longer seems to work.

I tried doing something like this to no avail:

terminal_input serial
terminal_output serial
if sleep -i -v 10
terminal_input console
terminal_output console
fi

In short the inability to accommodate console and serial port access in the same config is a show stopper for me.

One cannot tell in advance that console will NEVER be needed nor can one say that Serial will never be used. Having the option to have both running is a required feature in my book.

Gérald

Gerald Villemure <gvillemure>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by fzielcke (Posted a comment)
  • -unavailable- added by gvillemure (Submitted the item)
  •  

    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 16 Jan 2010 10:51:51 AM UTCfzielckeStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1