From owner-freebsd-hackers@freebsd.org Mon Feb 18 16:35:38 2019 Return-Path: Delivered-To: freebsd-hackers@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 5D60D14E1CEA for ; Mon, 18 Feb 2019 16:35:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 BBDE87012A for ; Mon, 18 Feb 2019 16:35:37 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x830.google.com with SMTP id v10so19843297qtp.8 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=PLCeO34XLpt2PpNM5K8XbFtAMNZxPj9g/wJ72MgEyhKBZ2U6Nwck4bGt5LcbZkO0S/ TXQsY52KXfUzvj52QyBgCECAN+sb+joB1oeq1gs/QxmtDjWvB5K6yHYt2o6iI2Q2mcPb xGNulFC8uU9DuDetsBdGumBBQFaWLV68j67Yel9Xt7RQHyHqKqXln3VpA4LDxyHsZee5 OXb917UNvBSUTyY/xEJxZhQPwz14cN/2FyD57KTYYWSBMqIBBpLpjylG0omAY1MrncgO NOqnYxMc2L2jcY8LEHirKHnpMkkrubT3fHJXdWeKkozZC8cB5/9UHcEjq7FmKFNFkx1P nq1g== X-Gm-Message-State: AHQUAubEmA3gCb+501888n3KVCuhYFvmhm2ex/wpkBZH0rvqCh0ajsT7 v2aHwIbUT2ZypBPqen7FXolPVxhkNcFCLzfrvsUf/g== 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: BBDE87012A 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.65 / 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.73)[ip: (-9.03), 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-hackers@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)[0.3.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.911,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-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD 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