xfce4 does not see up arrow after reinstall/xorg update

Aryeh Friedman aryeh.friedman at gmail.com
Sun Feb 23 02:32:18 UTC 2020


On Sat, Feb 22, 2020 at 9:04 PM Michael Gmelin <freebsd at grem.de> wrote:

>
>
> On Sat, 22 Feb 2020 20:54:34 -0500
> Aryeh Friedman <aryeh.friedman at gmail.com> wrote:
>
> > On Sat, Feb 22, 2020 at 8:37 PM Michael Gmelin <freebsd at grem.de>
> > wrote:
> >
> > >
> > >
> > > On Sat, 22 Feb 2020 20:20:01 -0500
> > > Aryeh Friedman <aryeh.friedman at gmail.com> wrote:
> > >
> > > > On Sat, Feb 22, 2020 at 8:15 PM Michael Gmelin <freebsd at grem.de>
> > > > wrote:
> > > >
> > > > >
> > > > >
> > > > > On Sat, 22 Feb 2020 20:00:17 -0500
> > > > > Aryeh Friedman <aryeh.friedman at gmail.com> wrote:
> > > > >
> > > > > > On Sat, Feb 22, 2020 at 7:46 PM Michael Gmelin
> > > > > > <freebsd at grem.de> wrote:
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Sun, 23 Feb 2020 01:29:19 +0100
> > > > > > > Michael Gmelin <freebsd at grem.de> wrote:
> > > > > > >
> > > > > > > > On Sat, 22 Feb 2020 19:18:19 -0500
> > > > > > > > Aryeh Friedman <aryeh.friedman at gmail.com> wrote:
> > > > > > > >
> > > > > > > > > On Sat, Feb 22, 2020 at 6:45 PM Michael Gmelin
> > > > > > > > > <freebsd at grem.de> wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Sat, 22 Feb 2020 18:22:07 -0500
> > > > > > > > > > Aryeh Friedman <aryeh.friedman at gmail.com> wrote:
> > > > > > > > > >
> > > > > > > > > > > On Sat, Feb 22, 2020 at 5:56 PM Michael Gmelin
> > > > > > > > > > > <freebsd at grem.de> wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I would like to make a side comment on the
> > > > > > > > > > > > > latest xorg update in general: WHAT A
> > > > > > > > > > > > > CLUSTERF*CK this is no where near ready for
> > > > > > > > > > > > > production based on the number of people
> > > > > > > > > > > > > complaining about basic I/O problems.
> > > > > > > > > > > >
> > > > > > > > > > > > You already made that comment yesterday :)
> > > > > > > > > > > >
> > > > > > > > > > > > The point is, cursing won't motivate anyone to
> > > > > > > > > > > > help you.
> > > > > > > > > > >
> > > > > > > > > > > You try losing 3 days of paid work due to something
> > > > > > > > > > > that claimed to be production ready and not pull
> > > > > > > > > > > your hair out. Due to lack of money my desktop and
> > > > > > > > > > > test machine are one in the same so any serious
> > > > > > > > > > > hiccups in ports and/or the base system seriously
> > > > > > > > > > > harm my freelancing (sole source of income).
> > > > > > > > > >
> > > > > > > > > > As you use nvidia, you can remove the kld_list etc
> > > > > > > > > > (intel won't help you).
> > > > > > > > > >
> > > > > > > > > > You seem to have *a lot* of duplicated inputclass
> > > > > > > > > > match rules in your configuration files. Not sure how
> > > > > > > > > > they ended up in there, but in the past they probably
> > > > > > > > > > didn't matter, as you didn't have a UDEV enabled Xorg
> > > > > > > > > > server installed.
> > > > > > > > > >
> > > > > > > > > > So what I asked you to test in 20-edev-kbd.conf was
> > > > > > > > > > overwritten by later rules in other configuration
> > > > > > > > > > files.
> > > > > > > > > >
> > > > > > > > > > In general, the way to approach this is to move all
> > > > > > > > > > those configuration files (except 20-edev-kbd.conf)
> > > > > > > > > > out of xorg.conf.d.
> > > > > > > > > >
> > > > > > > > > > So you start with a system that has no xorg.conf
> > > > > > > > > > files and only xorg.conf.d/20-edev-kbd.conf.
> > > > > > > > > >
> > > > > > > > > > Now check if this works.
> > > > > > > > > >
> > > > > > > > > > If it doesn't, replace the contents of
> > > > > > > > > > 20-edev-kbd.conf with what I asked you to test
> > > > > > > > > > earlier.
> > > > > > > > > >
> > > > > > > > > > Then report back the results (shouldn't take more
> > > > > > > > > > than a couple of minutes).
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > Impossible to test either one because mouse is frozen
> > > > > > > > > under both.
> > > > > > > >
> > > > > > > > Based on your tree output below, you don't have
> > > > > > > >
> > > > > > > > /usr/local/etc/X11/xorg.conf.d/20-evdev-kbd.conf in place
> > > > > > > > any more.
> > > > > > > >
> > > > > > > > Please create it and put the following content in it:
> > > > > > > >
> > > > > > > > Section "InputClass"
> > > > > > > >   Identifier "libinput keyboard catchall"
> > > > > > > >   MatchIsKeyboard "on"
> > > > > > > >   MatchDevicePath "/dev/input/event*"
> > > > > > > >   Driver "libinput"
> > > > > > > >   Option "XkbRules" "evdev"
> > > > > > > > EndSection
> > > > > > > >
> > > > > > > > Section "InputClass"
> > > > > > > >   Identifier "libinput touchpad catchall"
> > > > > > > >   MatchIsTouchpad "on"
> > > > > > > >   MatchDevicePath "/dev/input/event*"
> > > > > > > >   Driver "libinput"
> > > > > > > >   Option "MiddleEmulation" "on"
> > > > > > > >   Option "DisableWhileTyping" "off"
> > > > > > > > EndSection
> > > > > > > >
> > > > > > > > Also, please make sure moused isn't running
> > > > > > > > (killall moused)
> > > > > > > >
> > > > > > > > Then test again, report back and include the output of
> > > > > > > >
> > > > > > > > tree /usr/local/etc/X11/
> > > > > > >
> > > > > >
> > > > > > No luck on up arrow.
> > > > > >
> > > > > > /usr/local/etc/X11/
> > > > > > |-- fontpath.d
> > > > > > |-- xinit
> > > > > > |   |-- xinitrc
> > > > > > |   `-- xinitrc.d
> > > > > > |       `-- 90-consolekit
> > > > > > `-- xorg.conf.d
> > > > > >     |-- 99-myinput.conf
> > > > > >     `-- driver-nvidia.conf
> > > > > >
> > > > > > 4 directories, 4 files
> > > > > >
> > > > > > Since you asked for in the email you said to ignore here is
> > > > > > what nvidia-driver has in it:
> > > > > >
> > > > > > Section "Device"
> > > > > >         Identifier "NVIDIA Card"
> > > > > >         VendorName "NVIDIA Corporation"
> > > > > >         Driver "nvidia"
> > > > > > Option "RandRRotation" "True"
> > > > > > EndSection
> > > > >
> > > > > Last things I can think of from the top of my head is running:
> > > > >
> > > > > setxkbmap -model pc105 -layout us
> > > > >
> > > > > in a terminal and see if that makes a difference (that command
> > > > > comes from the setxkbmap package and should be installed).
> > > > >
> > > > > (I assume you use a US USB keyboard USB and a USB mouse?
> > > > > Anything special there or just standard material?)
> > > > >
> > > >
> > > > No luck.... Yes USB on both and as far I know nothing special
> > > > (don't see how their could be on a $5 mouse [store brand,
> > > > Staples, no model number] and a $15 keyboard [Logitech k120])
> > > >
> > >
> > > Very strange.
> > >
> > > Like I said, I have an old macbook here that has some nvidia gfx in
> > > it - I could try setting that up with an external keyboard and
> > > mouse and see what happens.
> > >
> > > What I find strange is that this only happens with xfce4 and not
> > > with twm.
> > >
> > >
> > > Do you get actually get any keyboard events when pressing the arrow
> > > key in xev? (from "pkg install xev")
> > >
> >
> > KeymapNotify event, serial 37, synthetic NO, window 0x0,
> >     keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0
> > 0   0 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
> >
>
> But no keydown/keyup events it seems.
>
> > The cursor also flashes when I do it in a terminal so clearly it is
> > getting something.
> >
>
> I'm installing xfce4 on my old macbook here now (12.1-RELEASE, packages
> from latest). Let's see if I can reproduce it (easily?). It has an
> nvidia 9400M.
>
> Could you try one more thing in the meantime:
> Add another unprivileged user to your machine (let's say: "xtester")
> and copy your .xinitrc to that new user. Then login as that user
> and start X as that new user and see if it's the same problem (just to
> rule out anything special in your normal user's settings).
>

As expected no luck.


> -m
>
>
> --
> Michael Gmelin
>


-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org


More information about the freebsd-x11 mailing list