Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2020 22:13:34 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        Tomasz CEDRO <tomek@cedro.info>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Keyboard and mouse not working after X update
Message-ID:  <20200601221334.c9486a27.freebsd@edvax.de>
In-Reply-To: <20200601210904.26383caf62c0cb59f4a2b68a@bidouilliste.com>
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> <20200601210904.26383caf62c0cb59f4a2b68a@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Jun 2020 21:09:04 +0200, Emmanuel Vadot wrote:
> On Mon, 1 Jun 2020 20:56:59 +0200
> Polytropon <freebsd@edvax.de> 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...




-- 
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?20200601221334.c9486a27.freebsd>