Subject: Re: CVS commit: src/sys/dev/wscons
To: Joerg Sonnenberger <joerg@britannica.bec.de>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: source-changes
Date: 01/15/2008 17:36:32
[suspend/resume]
joerg@britannica.bec.de said:
> So, how do I get the kernel to switch me to console, so that the
> messages are actually visible for the user?
Eg in a powerd script. Normally, one can't read them anyway
because the process is too quick.
In any case we can't hardwire a switch to screen 1 in the
kernel. As said, it would not work on systems where X
is running on the first (and possibly only) screen.
Actually I'm not sure it is right at all to deal with
this in the wsdisplay suspend/resume functions: at that
point, the X server might try to access I/O devices
which are already/still suspended.
best regards
Matthias
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------