Re: XFree86 & ACPI don't like each other?

Dave Tweten <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
[email protected] 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:|[email protected]
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!


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.