need your suggestion

Peter Hutterer peter.hutterer at who-t.net
Wed Aug 22 03:24:40 UTC 2018


On Wed, Aug 22, 2018 at 11:14:30AM +0800, binnan hao wrote:
> Hello,
> Thank you very much for your reply!
> I login with root privilege, thus I have the permission to read
> /dev/input/event*
> 
> Could you tell how to set ID_INPUT / ID_INPUT_MOUSE / ID_INPUT_KEYBOARD?

these are set by the udev builtin input_id. Check if udevadm info
/sys/class/input/eventX lists the properties, if not then you're missing
some steps in your udev setup.

Cheers,
   Peter

> 
> Is there any setting guide which is similar to Qt5'?
> export QT_QPA_EVDEV_MOUSE_PARAMETERS=/dev/input/mouse0
> export QT_QPA_EVDEV_KEYBOARD_PARAMETERS=/dev/input/event1
> 
> Peter Hutterer <peter.hutterer at who-t.net> 于2018年8月22日周三 上午8:34写道:
> 
> > On Tue, Aug 21, 2018 at 04:33:01PM +0800, binnan hao wrote:
> > > *warning: no input devices on entering weston. possible causes:- no
> > > permissions to read /dev/input/event*- seats misconfigured (weston
> > backend
> > > option 'seat', udev device property ID_SEAT)  *
> > >
> > > My system is built on Linux Kernel and Busybox without using systemmd. Is
> > > there any solution to support keyboard and mouse on txhis platform?
> > backend
> > > uses fbdev-backend.so
> > > Many thanks
> >
> > check that
> > - you have permissions to read /dev/input/event*
> > - ID_INPUT **and** ID_INPUT_MOUSE/ID_INPUT_KEYBOARD is set on the input
> >   devices
> >
> > if you're using libinput (judging by the error msg you do) it doesn't
> > actually care about ID_SEAT **unless* you want it to work on a specific
> > seat
> > other than seat0.
> >
> > Cheers,
> >    Peter
> >
> 
> 
> -- 
> *Hao Binnan*
> *Isoo (Qinhuangdao) software development Co., Ltd. (China)*
> http://www.eassos.com
> 
> PGP Public Key: 4096R/9EF21740 / 9678 1E8C B21E 1E60 3997  811D F83B B359
> 9EF2 1740
> haobinnan <haobinnan at gmail.com>


More information about the wayland-devel mailing list