[PATCH] fbdev: Add an fbdev compositor backend using pixman and evdev

MoD mod-oss at hush.ai
Sat Jan 19 21:47:47 PST 2013


The fbdev backend is a welcome sight here and I've been trying it out on a Nokia N900; in the minimal testing I've done so far (some input issues on the touchpad and keyboard mean I couldn't test too much interactive usage) it works well, so thanks.

However one issue I've found is that no input devices can be opened unless the compositor is run as root ("sudo weston-launch", despite all permissions and groups being correct). I tracked this down to fdbev-compositor.c where the input nodes are opened with the open() syscall as opposed to weston_launcher_open() from launcher-util.c (see the drm backend for an example). Changing to use this function like drm-backend.c does, I see input working without root when weston-launch is used; it'd be nice if this change could be made before the fbdev backend is merged.



More information about the wayland-devel mailing list