Gentoo Archives: gentoo-user

From: Ian Hastie <ianh@××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /etc/modules.d how to understand
Date: Mon, 16 Jul 2007 17:32:44
Message-Id: 20070716182627.23019264@gadget.local.net
In Reply to: [gentoo-user] /etc/modules.d how to understand by Helmut Jarausch
1 On Mon, 16 Jul 2007 18:46:27 +0200 (CEST)
2 Helmut Jarausch <jarausch@××××××××××××××××.de> wrote:
3
4 > I'd like to understand the "magic" of files in /etc/modules.d
5 > How to write such an 'alias' line.
6 > Can anybody point me to a HowTo?
7
8 Have you read the manual page for modprobe.conf? That will tell you
9 all the relevant options and their syntax, etc. /etc/modprobe.conf is
10 generated from the files in /etc/modules.d by update-modules. modinfo
11 can tell you what options can be set for any given kernel module.
12
13 > E.g. in kernel 2.6.22 there is no more an option to select
14 > a USB-WACOM tablet input.
15
16 You can do, but now you need to enable the option for tablet input
17 devices first. That will then let the configuration list the tablet
18 devices available.
19
20 : config TABLET_USB_WACOM
21 : tristate "Wacom Intuos/Graphire tablet support (USB)"
22 : depends on USB_ARCH_HAS_HCD
23 : select USB
24 : help
25 : Say Y here if you want to use the USB version of the Wacom
26 : Intuos or Graphire tablet. Make sure to say Y to "Mouse support"
27 : (CONFIG_INPUT_MOUSEDEV) and/or "Event interface support"
28 : (CONFIG_INPUT_EVDEV) as well.
29 :
30 : To compile this driver as a module, choose M here: the
31 : module will be called wacom.
32
33 > I've built the kernel module from the linuxwacom project,
34 > but what's the right way to load the module.
35 > (I could do an explicit insmod in /etc/conf.d/local.start
36 > but that's not the canonical solution, isn't it.)
37
38 I would expect udev to handle the module loading for this. That's the
39 normal way anyway.
40
41 --
42 Ian.
43 --
44 gentoo-user@g.o mailing list