[yocto] No keyboard in X

Tomas Frydrych tf+lists.yocto at r-finger.com
Thu Mar 21 13:38:16 PDT 2013


On 21/03/13 20:11, Chris Tapp wrote:
> I've got a system (Danny, meta-intel-cedartrail) with a custom
> /etc/mini_x/session file which is used to run an application at
> startup.
> 
> This all works to the extent that the application starts and runs,
> but the keyboard doesn't work - 'Esc' should cause the application to
> terminate and the X session to end. The Xorg log shows that the
> session is "Using VT number 2".
> 
> If I kill the session manually, login on the tty and restart (using
> 'init 4', 'init 5') then the application runs as before but this time
> the keyboard works as expected.
> 
> inittab runs a getty on tty1 to tty4.

Could be permissions; if you are not starting X as root, you have to
make sure the X user has rw permissions to /dev/ttyN and /dev/input/*

Tomas



More information about the yocto mailing list