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")
Could solve the problem on my IBM Thinkpad R31 with Hardy/8.04 with a "quick and dirty" fix.
It seams, that acpi/suspend. d/75-console- switch .sh
/etc/
does not store the CONSOLE var of the last running console in the correct way.
First Solution: `fgconsole` to suspend. d/75-console- switch. sh
I know my ubuntu is running on chvt 7, so I changed
CONSOLE=
CONSOLE=7
in /etc/acpi/
Second Solution: resume. d/65-console- switch. sh" to "03-console- switch. sh", so the CONSOLE var is read in earlier.
I moved "/etc/acpi/
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")