Keyboard and mouse not working after X update

Polytropon freebsd at
Mon Jun 1 20:13:49 UTC 2020

On Mon, 1 Jun 2020 21:09:04 +0200, Emmanuel Vadot wrote:
> On Mon, 1 Jun 2020 20:56:59 +0200
> Polytropon <freebsd at> wrote:
> > So at the moment, I have this (as explained in the documentation):
> > 
> > In /boot/loader.conf:
> > 
> > 	drm_load="YES"
>  That won't work.
> > In /etc/rc.conf:
> > 
> > 	kld_list="amdgpu"
>  This should be enough to have drm.ko loaded as a dependency.

I will comment out the setting in /boot/loader.conf. Currently
I have the following (interesting) modules:

	# kldstat
	Id Refs Address                Size Name
	 1   47 0xffffffff80200000  2448f20 kernel
	 4    1 0xffffffff82821000   250464 amdgpu.ko		<---
	 5    2 0xffffffff82a72000    76570 drm.ko		<---
	 6    5 0xffffffff82ae9000    10eb0 linuxkpi.ko
	 7    4 0xffffffff82afa000    12f30 linuxkpi_gplv2.ko

So those seem to be loaded correctly.

After reboot, the result is the same: drm.ko has been loaded
automatically. Thanks for that particular pointer, no need to
explicitely order things that will be automatically ordered
anyway. :-)

>  If you have no /dev/dri and no /dev/drm it means that the drm modules
> wasn't loaded.
>  Look in dmesg for errors and also try to "kldload amdgpu" or "kldload
> radeonkms" depending on your GPU.

I have /dev/drm/{0...255} owned by root:video (with rw for the
group, which the user is a member of). The "kldstat" output
shows that at least drm.ko and amdgpu.ko have been loaded.

I do _not_ have /dev/dri (and card0 therein), which is what
Xorg.0.log seems to complain about.

In the "dmesg" output, the following entry is relevant:

	[drm] amdgpu kernel modesetting enabled.

So this part probably is complete.

The laptop HP dm-1 contains a 'Advanced Micro Devices, Inc. [AMD/ATI]'
model 'Wrestler [Radeon HD 6310]', as reported by "pciconf -lv".
I have to admit that I'm confused by the "amdgpu" vs. "radeon"
vs. "ati" naming and drivers stuff, though...

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

More information about the freebsd-questions mailing list