From owner-freebsd-current@freebsd.org Mon Feb 18 16:35:38 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B3FC14E1CEB for ; Mon, 18 Feb 2019 16:35:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BAAD670129 for ; Mon, 18 Feb 2019 16:35:37 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82a.google.com with SMTP id d18so9781344qtg.12 for ; Mon, 18 Feb 2019 08:35:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UVtTGJasIaMEMwexe1hhDBtP4J+jl+3ySvsWr9mSk6w=; b=xDDYov5Yj4zGH9GJI3/9fCVTlNQ+VXN7R1x/O7xncNUNTqAJF0t9p5f3kmAVliU6p4 lAYcP9bfucnNtsSpMHkLvR5FJQsbT3zuyj5mhADHn/CbXwHGUC+xjT2AX9AwVT/VkeU0 eV2akn/4Bws3JIwGY/xERXIzmiA+X6IPV9LoW/qyhZNpb8tSFsSSK+LcF/KqBGcauihj qPy6Q+V460cCPjkDDUgnM+65DtdwGxDLGEA5vab32Rev/0nojgt+KJMnByjxQzw6PIsB a6glQJ+DP/9nsu78hIlQYamL2AJdTGTYd6qd+sPTe0OK3Kh7xtmu7towsdXEC7uA2+lm W6PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UVtTGJasIaMEMwexe1hhDBtP4J+jl+3ySvsWr9mSk6w=; b=O3U3oSOUQKW5IIThE8oIGJPzcdv4U+jnSW/vsm+uSaF65Kpi4/bbOcDr5iLIvFn8wS 8sSf1m6tOJ7wYIWLayVYmC5oPvRT9SHolouidB0jWItkuGJPEqU34CKVcjxBiy2NitGX QYsfz2e0FLtwybu4mm6AC/R3h1jF7c9vUMFddAZzC4WGHlQKHfZRA04zZqpD8pjj4xc5 UdGoqIv/4SY44IvEtbLl+U2eK5tMc1+qgEQXRrtvWVaESq8lhvsxjDKxjT21XsEFVltN O2fLjSfVvy/rXY1uR7jezAIpsKGNkmwHeSFynJNXSpOYKTnNeSJ41JAAByIhGfqDvb94 9U8Q== X-Gm-Message-State: AHQUAubFMBakhISnk4a8W8v08J1pUwir+xKdTqb83YtrcrXkkzEEtoQg 33BLbzGsaTMyNZMuDfVo6kFKNjn7+hNB2iWOMapMfXPI X-Google-Smtp-Source: AHgI3IYHnHbdiOEU80jdt/txgL4ehQq6uX8ElDp5BW9fK/neFvNLtkWllbOPiCIUY91eGsKQwjMV6mUtKveOaFmIgPI= X-Received: by 2002:ac8:16d0:: with SMTP id y16mr18428974qtk.345.1550507737273; Mon, 18 Feb 2019 08:35:37 -0800 (PST) MIME-Version: 1.0 References: <20190217180323.GA95686@troutmask.apl.washington.edu> In-Reply-To: <20190217180323.GA95686@troutmask.apl.washington.edu> From: Warner Losh Date: Mon, 18 Feb 2019 09:35:26 -0700 Message-ID: Subject: Re: What is evdev and autoloading? To: Steve Kargl Cc: FreeBSD Current , "freebsd-hackers@freebsd.org" X-Rspamd-Queue-Id: BAAD670129 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=xDDYov5Y X-Spamd-Result: default: False [-4.58 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(-2.66)[ip: (-8.69), ipnet: 2607:f8b0::/32(-2.57), asn: 15169(-1.98), country: US(-0.07)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[a.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.91)[-0.910,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2019 16:35:38 -0000 On Sun, Feb 17, 2019 at 3:52 PM Steve Kargl < sgk@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? > Hi Steve, This thread has taken a weird turn, so I went back to the original post. When do these things get loaded? Is it when you start up X11? Or is it being brought in by devmatch? If it is being brought in by x11, there's likely an x11 config that you'll need to avoid them (but that will reduce functionality). If it is devmatch, then you can add them to the black list and have them not load them. Warner