text console availability
Michel Dänzer
michel at tungstengraphics.com
Thu Aug 2 23:40:50 PDT 2007
On Thu, 2007-08-02 at 10:50 -0700, Jim Ham wrote:
>
> We sell an embedded product based on an Xscale processor. Our app runs
> under X with no WM, making direct calls to X. This all works great. It's
> started from a script in init.d. X is running over a framebuffer that is
> compiled into the kernel.
>
> The latest shipments from our board vender (Arcom) now uses the xorg server.
>
> Previously (xfree86) when we plugged in a USB keyboard one could get to a
> text console via alt-F1, F2, etc. X was running on console #7.
>
> Now when we plug in the keyboard something is blocking the switch to other
> consoles. If I log in via SSH I can kill X and now the keyboard can switch
> to other consoles. X appears to be running on console #2. If I have typed
> something on the keyboard before killing X, I see gibbersh on the screen.
So assuming other keyboard input doesn't work either initially, this
sounds like the good old race condition where the X server ends up using
different VTs for input and output. You can work around that passing the
VT to use (e.g. vt7) as a command line option to the X server
explicitly.
--
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg
mailing list