What is evdev and autoloading?

O. Hartmann ohartmann at walstatt.org
Mon Feb 18 06:41:50 UTC 2019


On Sun, 17 Feb 2019 18:35:25 -0800 (PST)
"Rodney W. Grimes" <freebsd-rwg at pdx.rh.CN85.dnsmgr.net> wrote:

> > On Sun, Feb 17, 2019 at 03:04:41PM -0800, Mark Millard wrote:  
> > > 
> > > 
> > > On 2019-Feb-17, at 10:03, Steve Kargl <sgk at
> > > troutmask.apl.washington.edu> wrote:
> > > 
> > > Anyone have insight into what evdev is?  There appears to
> > > be no manual page.  When I reboot a system with custom
> > > kernel, the system is autoloading evdev.ko, uhid.ko, and
> > > wmt.ko.  I do not need nor what these modules loaded.
> > > How does one prevent this autoloading?
> > > 
> > > Looking via the web lead to:  
>              ^^^^^^^^^^^^^^^
> web lies
> 
> > > 
> > > https://www.freebsd.org/cgi/man.cgi?query=evdev&apropos=0&sektion=4&manpath=FreeBSD+12.0-RELEASE&arch=default&format=html
> > > So:
> > > 
> > > NAME
> > >        evdev - Generic Linux input driver
> > > 
> > > DESCRIPTION
> > > 
> > > 	evdev is an Xorg input driver for Linux's generic event devices.
> > > It therefore supports all input  devices  that  the kernel	 knows
> > > about, including most mice, keyboards, tablets and touchscreens. evdev
> > > 	is the default driver on the major Linux distributions.
> > > . . .
> > > 
> > > 
> > > 
> > > but it seems to not have a 13-current entry. It does have
> > > a 12.0-RELEASE entry.
> > >   
> > 
> > Thanks.  Kinda odd that freebsd-current doesn't have a manual
> > page, but FreeBSD-12 does.  
> 
> rgrimes at t400:~ % man evdev
> No manual entry for evdev
> rgrimes at t400:~ % man -k evdev
> apropos: nothing appropriate
> rgrimes at t400:~ % uname -a
> FreeBSD t400.dnsmgr.net 12.0-RELEASE FreeBSD 12.0-RELEASE GENERIC  amd64
> rgrimes at t400:~ % 
> There is no man page for evdev in 12.0-RELEASE
> 
> > 
> > I have a wireless logitech mouse.  It seems that the
> > wireless USB dongle is causing the load of the modules.
> > I still understand why as ums(4) does not should a 
> > dependency on uhid, wmt, or evdev.
> >   
> 

Nor 12-STABLE:

root at freyja:/usr/src # man -k evdev
apropos: nothing appropriate

FreeBSD 12.0-STABLE #290 r344158: Fri Feb 15 14:42:58 CET 2019 amd64

Kind regards,

oh


More information about the freebsd-hackers mailing list