Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2020 22:41:47 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Per Hedeland <per@hedeland.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Keyboard and mouse not working after X update
Message-ID:  <20200601224147.33d102d6.freebsd@edvax.de>
In-Reply-To: <bce24158-dbb3-ce44-adb1-b0a83562308d@hedeland.org>
References:  <20200531214105.2caed717.freebsd@edvax.de> <CAM8r67BWRndRDsTCQEOqTQ8Z_6R39H=ZwXHzrpZ1Njam0G3tRQ@mail.gmail.com> <20200531231731.85ee6d3d.freebsd@edvax.de> <CAM8r67Cm3eW0%2BSkpB52OMm0Eo2Y3AQEsmyvtTJV_A6yiLvYZQA@mail.gmail.com> <20200601001117.f7075d7d.freebsd@edvax.de> <CAM8r67A-%2B1z29OUB33nPaGJwD72a8yqrN5YvLVK6E8TuEffJ7g@mail.gmail.com> <20200601205659.fac089c3.freebsd@edvax.de> <bce24158-dbb3-ce44-adb1-b0a83562308d@hedeland.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200601224147.33d102d6.freebsd>