Hi community,
is there a way to change the active ttyv with a script, instead of pressing ALT+F<N>?
I'm asking because I have a new desktop PC with a nvidia graphics card and the display never wakes up after suspend when I suspend from the graphical session. But resume after suspending from a console ttyv actual works and brings back the display. I can then change back to ttyv8 and everything is working fine (well, the console ttyvs behave a bit sluggish after that, but they still work). On my previous FreeBSD desktop PC with nvidia card I got around that problem with using syscons(4) instead of vt(4). But putting
So I'd like to write a small 'suspend' script, which changes to a console ttyv and issues an
is there a way to change the active ttyv with a script, instead of pressing ALT+F<N>?
I'm asking because I have a new desktop PC with a nvidia graphics card and the display never wakes up after suspend when I suspend from the graphical session. But resume after suspending from a console ttyv actual works and brings back the display. I can then change back to ttyv8 and everything is working fine (well, the console ttyvs behave a bit sluggish after that, but they still work). On my previous FreeBSD desktop PC with nvidia card I got around that problem with using syscons(4) instead of vt(4). But putting
kern.vty=sc
in loader.conf(5) with my new PC prevents FreeBSD from booting.So I'd like to write a small 'suspend' script, which changes to a console ttyv and issues an
acpiconf -s3
call.