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

Submitter:  Gerald Villemure <gvillemure>
Submitted:  Sat 16 Jan 2010 04:23:19 AM UTC
   
 
Category:  Terminal Severity:  Major
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  1.97
Release:  Reproducibility:  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>
Group 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>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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
    2010-01-16 fzielcke StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code