From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8226138326 for ; Sat, 16 Jul 2016 10:52:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0BBC21C01D; Sat, 16 Jul 2016 10:52:10 +0000 (UTC) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 698B1E095B for ; Sat, 16 Jul 2016 10:52:09 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id q128so5434572wma.1 for ; Sat, 16 Jul 2016 03:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=WKAZpnA389ekDZ2sLfKtNCjdRrZ8OqX1HXVz1t4X7E4=; b=bxSPnopcvSvZ54WKLuvtW2LGKgsziJu8bxZd3Ioky/vSWH10DSEMkDNUDqByKYLpg6 ntcjgLiy0YOkzcFNhLJ2GqCMe2ZpRf3YLlErZYHQG4WnRPcZON/nbrqlpn2MySHtS++O yhinm7sEHVWYEZzGbKY/Qgtsin44ZdEPtTxjjPK+aAZb06BHeRz9hq9eliOawvhD5E2H ZEXtdj3+a+riLGWUk2qQj1CFiGhhzIDkv9ktLG19fTym97KmJ7v5vrx/gme9V5qFdB1t xMT5YtldzFhC/EIUtMIZPaC0cYfSOdrJCyJh9EU2ZoUcxw+QgSJaRp4l0RlGFqIuM74N 4Rtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=WKAZpnA389ekDZ2sLfKtNCjdRrZ8OqX1HXVz1t4X7E4=; b=Za/RAVr8/oUE6N8rdYd6TMBczKW7AU8Wee4WbVpUEx+Da7xJTjfmSg/9JDMNX/kKRK +b1cfP5NAYfp92IMh8n0e+Dh6RGcl/wB97TsB7fMXVCZcjvAdO1NejsFT6IiLfYZ6qOG Nx89G0Y60z12w/JUYSmsusV045frkeUimu0q7g3Tosbo15goxZ0ByKBnp53OGaC4xsLY AKwgIObgHcJnGZvmPio1y+RRWu72qnmSQhsMzulikTLNL7oIfjZqoyvRVuGJjpklE8No ZOhmV3cCRZ29zL1SVFHnK6ppHrjNxZK4/JJOLCDcKQTm295dQPVZgQ29TXcdXnfU6fsB 9s7w== X-Gm-Message-State: ALyK8tLfApPsIFZd0fhzVYn/Bdt71RLTGOrIiQQFlGJ86NUDAwT11xeSBvsG8oee/4HILw== X-Received: by 10.28.197.68 with SMTP id v65mr28663216wmf.2.1468666327691; Sat, 16 Jul 2016 03:52:07 -0700 (PDT) Received: from gentoo-tp.home ([2a02:908:f324:d600:acf0:3a73:fbab:148e]) by smtp.gmail.com with ESMTPSA id n8sm5102215wji.34.2016.07.16.03.52.05 for (version=TLS1_2 cipher=AES128-GCM-SHA256 bits=128/128); Sat, 16 Jul 2016 03:52:06 -0700 (PDT) Date: Sat, 16 Jul 2016 12:52:04 +0200 From: Jeremi Piotrowski To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Install dkms: which package Message-ID: <20160716105204.GA9089@gentoo-tp.home> References: <20160715215406.GN12055@bulbizarre.swordarmor.fr> <20160716084505.4ea2330b@digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: cd1d1bae-bcce-4587-9473-0c061dc58a9a X-Archives-Hash: 499c47d6815e5dd550afee280a76d9cc --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jul 16, 2016 at 06:37:28AM -0300, Facundo Curti wrote: > > But how can I install the module without dkms? usually I make this > automatically with dkms :S Come on - the module has an install.sh script that installs it without dkms. $ cd /usr/src $ hg clone https://bitbucket.org/Swoogan/aziokbd $ ./install.sh or instead of running their script just do: $ make install DKMS is a means of hooking into the kernel-update process in binary distros to automatically recompile external modules. As we compile our own kernels (most of us?), compiling modules manually is not that big of an issue (we control when the kernel update happens). However, as it is more practical to have portage handle the rebuilds, here is a quickly written ebuild for you. --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="aziokbd-9999.ebuild" # Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=6 inherit eutils linux-info linux-mod if [ "${PV}" = "9999" ]; then inherit mercurial EHG_REPO_URI="https://bitbucket.org/Swoogan/aziokbd" KEYWORDS="" else SRC_URI="???" KEYWORDS="~x86 ~amd64" fi DESCRIPTION="Linux kernel driver for Microdia Keyboards" HOMEPAGE="hg clone https://bitbucket.org/Swoogan/aziokbd" LICENSE="GPL-2" SLOT="0" IUSE="-backslash-fix" MODULE_NAMES="aziokbd(kernel/drivers/input/keyboard:${S})" BUILD_TARGETS="clean default" MODULESD_AZIOKBD_ADDITIONS=( "options usbhid quirk=0x0c45:0x7603:0x0007" ) src_compile() { if use backslash-fix; then BKSLFIX=y else BKSLFIX=n fi BUILD_PARAMS="KSRC=${KERNEL_DIR} BKSLFIX=${BKSLFIX} M=${S}" linux-mod_src_compile } --Qxx1br4bt0+wmkIi--