plymouth watch-keystroke doesn't recognize the enter key (Lucid Live CD fails to reboot)

Bug #539182 reported by Erick Brunzell on 2010-03-15
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)
Medium
Steve Langasek
Lucid
Medium
Steve Langasek

Bug Description

Binary package hint: casper

I'm testing the i386 Lucid Beta 1 candidate (http://cdimage.ubuntu.com/daily-live/20100315/lucid-desktop-i386.iso _ md5sum: ae9b66a6873845cc43f9cbc9cc66a605) and I notice that once I'm done using the Live CD, and I choose to restart, the CD ejects as it should and displays the usual message to "remove CD, close tray, and press Enter", but pressing Enter does not result in completing the reboot. I have tried both Enter keys, waiting for up to 5 minutes, and it consistently fails.

It's hardly critical and I even questioned whether to report it or not. The reboot completes successfully with Alt + SysReq + B. Perhaps worthy of mention in the release notes?

Hardware info if helpful:

VIA PC2500 Mainboard
VIA Esther C7 CPU 1500MHz
System Memory 2GB DIMM
VT8233/A/8235/8237 AC97 Audio Controller
CN700/P4M800 Pro/P4M800 CE/VN800 [S3 UniChrome Pro] Graphics

Related branches

tags: added: iso-testing
summary: - Lucid Live CD fails to reboot after ejecting + enter
+ Lucid Beta 1 Live CD fails to reboot after ejecting + enter
Colin Watson (cjwatson) wrote :

I reverted guigui14100's description change because it's clearly inaccurate: there's no such thing as Lucid Beta 1, because we haven't released the first beta yet.

summary: - Lucid Beta 1 Live CD fails to reboot after ejecting + enter
+ Lucid Live CD fails to reboot after ejecting + enter
Tom Pino (metalsmith-rangeweb) wrote :

I am using a 64 bit system and had the same problem.

Steve Langasek (vorlon) wrote :

It turns out this is because plymouth watch-keystroke in theory lets you listen for any keypress, but this does *not* work when the key you're waiting for is the enter key (at least, if you tell plymouth you're waiting for any key, 'enter' isn't registered). I think we probably want to fix this in plymouth so that the enter key can be used, rather than changing the message in casper.

affects: casper (Ubuntu Lucid) → plymouth (Ubuntu Lucid)
Changed in plymouth (Ubuntu Lucid):
assignee: nobody → Steve Langasek (vorlon)
importance: Undecided → Medium
milestone: none → ubuntu-10.04-beta-1
status: New → Triaged
summary: - Lucid Live CD fails to reboot after ejecting + enter
+ plymouth watch-keystroke doesn't recognize the enter key (Lucid Live CD
+ fails to reboot)
Erick Brunzell (lbsolost) wrote :

Steve is indeed correct. While testing again today I can hit any other key and reboot as expected.

Monkey (monkey-libre) wrote :

I hit the Esc key but all time I see a flash "_" all time, doesn´t reboot.

On Tue, 2010-03-16 at 17:17 +0000, Monkey wrote:

> I hit the Esc key but all time I see a flash "_" all time, doesn´t
> reboot.
>
Escape is magic to plymouth; I don't think there's any way to override
that.

Scott
--
Scott James Remnant
<email address hidden>

Jonathan Riddell (jr) on 2010-03-17
tags: added: kubuntu
Steve Langasek (vorlon) on 2010-03-17
Changed in plymouth (Ubuntu Lucid):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package plymouth - 0.8.0~-17

---------------
plymouth (0.8.0~-17) lucid; urgency=low

  [ Scott James Remnant ]
  * src/libply-splash-core/ply-terminal.c:
    - To restore a terminal into Canonical Mode, rather than setting flags
      that happen to be the opposite of what cfmakeraw() removes, set the
      flags that stty's sane mode sets.
    - Ensure that we clear the "is unbuffered" flag on every exit path from
      ply_terminal_set_buffered() that means the terminal is Canonical Mode
      so that we don't reset it back to Canonical Mode again unexpectedly
      when closing out the terminal under X.
    LP: #540256.

  [ Steve Langasek ]
  * src/main.c: allow clients to watch for <enter> as a keystroke.
    LP: #539182
 -- Scott James Remnant <email address hidden> Wed, 17 Mar 2010 22:36:47 +0000

Changed in plymouth (Ubuntu Lucid):
status: Fix Committed → Fix Released
Erick Brunzell (lbsolost) wrote :

I just zsynced the latest iso (http://cdimage.ubuntu.com/daily-live/20100318/lucid-desktop-i386.iso
MD5Sum : 7ddbfbcfcc562bae2e160695ec820e39) and this is fixed!!!!!!!!!!!

Many thanks to all involved, you're the best.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers