Keyboard and mouse not working after X update

Polytropon freebsd at edvax.de
Mon Jun 1 20:41:50 UTC 2020


On Mon, 1 Jun 2020 22:06:29 +0200, Per Hedeland wrote:
> On 2020-06-01 20:56, Polytropon wrote:
> >
> > So at the moment, I have this (as explained in the documentation):
> >
> > In /boot/loader.conf:
> >
> > 	drm_load="YES"
> 
> Not saying that it will improve anything:-), but I believe you should
> drop this - it will load /boot/kernel/drm.ko, which I believe is
> causing the "This code is obsolete abandonware" message that you
> reported earlier, and possibly other errors that you are seeing.

Yes, it works when it's not explicitely listed in /boot/loader.conf;
no abandonware messages. :-)



> > In /etc/rc.conf:
> >
> > 	kld_list="amdgpu"
> 
> This module is from the drm*kmod port/package, installed in
> /boot/modules - I believe (at least this is the case with i915kms) it
> will in turn cause /boot/modules/drm.ko (also from the port, and *not*
> "abandonware":-) rather than /boot/kernel/drm.ko to be loaded -
> provided that you haven't already loaded /boot/kernel/drm.ko...

Correct, and confirmed:

# kldstat -v | grep "/boot/modules"
 4    1 0xffffffff82821000   250464 amdgpu.ko (/boot/modules/amdgpu.ko)
 5    2 0xffffffff82a72000    76570 drm.ko (/boot/modules/drm.ko)
 7    4 0xffffffff82afa000    12f30 linuxkpi_gplv2.ko (/boot/modules/linuxkpi_gplv2.ko)
 8    2 0xffffffff82b0d000      6d0 debugfs.ko (/boot/modules/debugfs.ko)
 9    1 0xffffffff82b0e000     f181 ttm.ko (/boot/modules/ttm.ko)

So from the kernel module and installed packages perspective,
everything seems to be in place. Remaining question: Why does
X still use VESA? And what is that "modesetting" driver that
gets loaded and unloaded?

X is complicated. Maybe nobody knows. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list