XFree86 & ACPI don't like each other?

Dave Tweten tweten at nas.nasa.gov
Tue Apr 27 16:11:06 PDT 2004


roth at iam.unibe.ch said:
>you do realize that this [F1 to F12] console switch [after wake-up
>from hibernation] can be automated?

I had read that but hadn't been successful in a short fit of trying to 
make it work.  Your e-mail inspired me to try again, this time 
successfully.  My previous problem was that the vidcontrol man page didn't 
communicate to me that the argument to "-s" is the function key number you 
want, not the device number.  The man page also didn't say anything about 
redirecting standard input, and your use of /dev/ttyv0 didn't make sense 
to me (why the same device both times?).

Thanks to your inspiration and a little mailing list research,

	vidcontrol -s 1 < /dev/console

before hibernation and

	vidcontrol -s 12 < /dev/console

afterward has eliminated the need to unfreeze XFree86 manually.

Thanks.
-- 
M/S 258-5                    |1024-bit PGP fingerprint:|tweten at nas.nasa.gov
NASA Ames Research Center    | 41 B0 89 0A  8F 94 6C 59|     (650) 604-4416
Moffett Field, CA  94035-1000| 7C 80 10 20  25 C7 2F E6|FAX: (650) 604-4377
Not an official NASA position.  You can't even be certain who sent this!




More information about the freebsd-mobile mailing list