Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/wscons



[I/O devices]
joerg%britannica.bec.de@localhost said:
> Not from the display driver path. The X server still keeps permissions
> for them. It just has to stop direct access to VGA registers./ 

I'm not talking about VGA registers. Let's take a mouse -- the
X server closes the mouse device when it switches away from
its screen, and it opens it when it switches back.
It might well do some probing and setup on open. If the serial
port or USB is not ready at that point this can fail.

> Your patch introduced a regression. Now a user no longer gets any hint
> if a suspend broke or the resume died in the middle of the process.

A terminal switch in the middle of the suspend/resume is
of limited value. If the system dies before/after it, one loses.
So for debugging the onle feasible way is to switch to
the console before suspending starts, and back after resume
is complete.
So I'd say we should suggest to put some wsconscfg into
the powerd scripts.

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
-------------------------------------------------------------------
-------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index