nanogui: Failed to switch VT in linux-2.6.9


Previous by date: 9 Nov 2005 17:30:37 +0000 Re: Freetype 2 and 1, Greg Haerr
Next by date: 9 Nov 2005 17:30:37 +0000 Re: viewml image loading, Greg Haerr
Previous in thread: 9 Nov 2005 17:30:37 +0000 Failed to switch VT in linux-2.6.9, Gavin Li
Next in thread: 9 Nov 2005 17:30:37 +0000 Re: Failed to switch VT in linux-2.6.9, Gavin Li

Subject: Re: [nanogui] Failed to switch VT in linux-2.6.9
From: "Greg Haerr" ####@####.####
Date: 9 Nov 2005 17:30:37 +0000
Message-Id: <0eb701c5e552$eb0e7780$0300a8c0@RDP>

: I was using microwindows-0.91 + linux-2.4.27 without any problem,
: Recently, I moved to linux-2.6.9 (FedoraCore3), I compiled
microwindows-0.91
: and run my app, it seems OK, but when I press Alt_Fx, I couldn't switch
away
: , and log says "Error can't switch away from VT: Invalid argument".

Sounds like the code in drivers/vtswitch.c uses an unsupported
VT switch ioctl() for your kernel.  You may have to disable
VTSWITCH in config file.



:
: Suppose my app running in VT 1, I could switch away by press Alt_F2,
Alt_F3,
: Alt_F1, Alt_F2, Alt_F3, Alt_F1, Alt_F3, which means I have to press those
: keys in a random speed and random combinations.

I don't understand what you're asking for here.  When VTSWITCH
is set, Microwindows will switch consoles using a kernel ioctl()
when ALT-F{1-8} is returned from the keyboard driver.

Regards,

Greg


Previous by date: 9 Nov 2005 17:30:37 +0000 Re: Freetype 2 and 1, Greg Haerr
Next by date: 9 Nov 2005 17:30:37 +0000 Re: viewml image loading, Greg Haerr
Previous in thread: 9 Nov 2005 17:30:37 +0000 Failed to switch VT in linux-2.6.9, Gavin Li
Next in thread: 9 Nov 2005 17:30:37 +0000 Re: Failed to switch VT in linux-2.6.9, Gavin Li


Powered by ezmlm-browse 0.20.