On Mon, Dec 14, 2020 at 8:33 AM Greg Balfour <greg.bal4 at gmail.com>
wrote:>
> I just upgraded a machine from 11.4-RELEASE to 12.2-RELEASE. Using
> the same version of ctwm (4.0.3,1 installed from packages) with the
> same .ctwmrc, things behave differently and I don't know why.
>
> My first problem is the middle button on my Logitech TrackMan Marble
> PS/2 mouse is no longer recognized by ctwm.
>
> Button2 = : root : f.menu "windowops"
>
> This worked under 11.4-RELEASE but doesn't any more. Using Button1
> or Button3 works fine. However the middle button does work within
> an xterm to do a paste.
>
> Secondly, these two lines from .ctwmrc don't work until I restart ctwm
> with either a kill -HUP or by calling f.restart from a ctwm menu.
>
> "Right" = c : all : f.nextworkspace
> "Left" = c : all : f.prevworkspace
>
> After restarting ctwm these key bindings work.
>
> This machine has integrated Intel(R) HD Graphics 2000 and I'm using
> the xf86-video-intel driver package along with building the
> graphics/drm-kmod port.
>
> Can someone recommend some things to look at to resolve these issues?
So on a whim I built a new kernel commenting out these lines:
#options EVDEV_SUPPORT # evdev support in legacy drivers
#device evdev # input event device support
#device uinput # install /dev/uinput cdev
Which also necessitated commenting out the following in /etc/rc.conf:
#kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko"
And after rebooting all the issues I mentioned above went away.
So I guess I have an evdev problem. But I still don't know what
to do about it.