Date: Thu, 10 Oct 2019 08:04:11 -0600 From: Adam Weinberger <adamw@adamw.org> To: Jan Beich <jbeich@freebsd.org> Cc: x11@freebsd.org Subject: Re: sway (and a libinput error message) Message-ID: <F3C6396A-E941-4265-8776-4673EF9B0C8E@adamw.org> In-Reply-To: <o8yo-6845-wny@FreeBSD.org> References: <o8yo-6845-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Wow. Ok. So now that it=E2=80=99s Cc=E2=80=99ed to a list, can you help publicly? # Adam =E2=80=94 Adam Weinberger adamw@adamw.org https://www.adamw.org > On Oct 10, 2019, at 07:30, Jan Beich <jbeich@freebsd.org> wrote: >=20 > =EF=BB=BF(CC'ing an appropriate public list. I don't help privately.) >=20 > Adam Weinberger <adamw@adamw.org> writes: >=20 >> Hi Jan, >>=20 >> 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`: >=20 > I don't set up Sway from scratch every day, so don't remember all the deta= ils. > 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., >=20 > https://lists.freebsd.org/pipermail/freebsd-x11/2019-January/022481.html >=20 >> [backend/libinput/backend.c:84] libinput inilialization failed, no input d= evices >> [backend/libinput/backend.c:85] Set WLR_LIBINPUT_NO_DEVICES=3D1 to >> suppress this check >=20 > Could be either lack of /dev/input/* access or EVDEV_SUPPORT. > To diagnose run "libinput debug-events" then press some keys. >=20 > For one, I have the following in /etc/devfs.rules >=20 > [localrules=3D10] > add path 'input/*' mode 0660 group video >=20 > as https://github.com/FreeBSDDesktop/libudev-devd/pull/8 haven't > propagated into devel/libudev-devd port. >=20 > To get modifer keys work correctly define XKB_DEFAULT_RULES=3Devdev via > environ(7) or put "input * xkb_rules evdev" into ~/.sway/config. > x11/libxkbcommon upstream actually defaults to "evdev". >=20 >> [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 >>=20 >> 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. >>=20 >> 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. >>=20 >> # Adam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F3C6396A-E941-4265-8776-4673EF9B0C8E>