i am working on very tiny systems that do not feature udev or hal and trying to get xorg to work
for now, i have a working config based on xfree86-input-keyboard and xfree86-input mouse. and the following config file
Option "XkbLayout" "fr" # untested + we should be able to use environment
Option "Protocol" "auto"
Option "Device" "/dev/input/mice" # mice event0 event1 & /dev/psaux input/event1
Option "ZAxisMapping" "4 5 6 7" # roller actions
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "AutoAddDevices" "off"
... but i want something more generic than input-mouse and preferably without config files
i have struggled quite a lot with vmmouse and libinput to no avail
here are my issues :
1/ i could not figure out how to reference an inputclass instead of an inputdevice in serverlayout. this is probably documented... somewhere
2/ i am unsure which driver requires udev, hal and the likes. does anyone know ?
3/ i a wondering whether any of the input methods can work without the psmouse kernel module. i can deal with having that module ( either loaded or compiled in ) but it would be convenient to be able to test using a basic generic kernel with no modules.
4/ for some reason, if i do not declare a serverlayout, either xorg refuses to start, or it does start but does not load the input referenced in the packaged config files which all contain "inputclass" stanzas... anyone knows what i am missing ?
5/ using xwayland is an alternative i'd happily consider. does anyone know whether such issues are alleviated in wayland ?
6/ bonus question : do you know a reason to prefer using xorg's vesa driver over the framebuffer and the vesa driver in the kernel ? ( or the contrary )
i am testing in qemu should that matter
the distribution is NONE : this is a linux from scratch. it works like a charm for my current needs but i would like to allow to pack an additional mini-desktop
i am not interested in any comment that instruct me to use udev or hal or dbus or any such tools. NOT using them is a strict requirement here.
thanks a lot for any help you can provide