Date: Thu, 10 Oct 2019 15:30:18 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Adam Weinberger <adamw@adamw.org> Cc: x11@freebsd.org Subject: Re: sway (and a libinput error message) Message-ID: <o8yo-6845-wny@FreeBSD.org> In-Reply-To: <CAP7rwcgSubbFXNqOqq4rRr-X2ZBVpBuTmw8_xU_zwNcw4kksXw@mail.gmail.com> (Adam Weinberger's message of "Thu, 10 Oct 2019 06:20:20 -0600") References: <CAP7rwcgSubbFXNqOqq4rRr-X2ZBVpBuTmw8_xU_zwNcw4kksXw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
(CC'ing an appropriate public list. I don't help privately.) Adam Weinberger <adamw@adamw.org> writes: > Hi Jan, > > I haven't run X on FreeBSD in many, many years. I'm trying to set up > sway on a new laptop (Purism Librem 13 v4), but I'm getting this > message when I run `sway`: I don't set up Sway from scratch every day, so don't remember all the details. Try reading x11@ maillist archive (mainly Greg V posts) to get a list of common quirks of running *any* Wayland compositor on FreeBSD e.g., https://lists.freebsd.org/pipermail/freebsd-x11/2019-January/022481.html > [backend/libinput/backend.c:84] libinput inilialization failed, no input devices > [backend/libinput/backend.c:85] Set WLR_LIBINPUT_NO_DEVICES=1 to > suppress this check Could be either lack of /dev/input/* access or EVDEV_SUPPORT. To diagnose run "libinput debug-events" then press some keys. For one, I have the following in /etc/devfs.rules [localrules=10] add path 'input/*' mode 0660 group video as https://github.com/FreeBSDDesktop/libudev-devd/pull/8 haven't propagated into devel/libudev-devd port. To get modifer keys work correctly define XKB_DEFAULT_RULES=evdev via environ(7) or put "input * xkb_rules evdev" into ~/.sway/config. x11/libxkbcommon upstream actually defaults to "evdev". > [backend/multi/backend.c:32] Failed to initialize backend. > [sway/server.c:195] Failed to start backend > [main.c:5211] Missing a required Wayland interface > > I wasn't able to resolve this with google searches. When I set that > variable noted above, sway starts but, predictably, the mouse and > keyboard don't work. > > Can you point me in the right direction? I really appreciate it. I'm > excited specifically for sway, so I do want to make this work. Thanks > Jan. > > # Adam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?o8yo-6845-wny>