Comment 29 for bug 28959

Revision history for this message
Axel Pospischil (apos) wrote :

Could solve the problem on my IBM Thinkpad R31 with Hardy/8.04 with a "quick and dirty" fix.

It seams, that
  /etc/acpi/suspend.d/75-console-switch .sh
does not store the CONSOLE var of the last running console in the correct way.

First Solution:
I know my ubuntu is running on chvt 7, so I changed
  CONSOLE=`fgconsole` to
  CONSOLE=7
in /etc/acpi/suspend.d/75-console-switch.sh

Second Solution:
I moved "/etc/acpi/resume.d/65-console-switch.sh" to "03-console-switch.sh", so the CONSOLE var is read in earlier.

Both solutions work for me.

P.S.: I don't need "DOUBLE_CONSOLE_SWITCH=true" in /etc/acpi/default (which is indeed checked in "/etc/acpi/resumed.d/65-console.sh")