* [gentoo-user] /etc/modules.d how to understand @ 2007-07-16 16:46 Helmut Jarausch 2007-07-16 17:26 ` Ian Hastie 2007-07-16 20:12 ` Kent Fredric 0 siblings, 2 replies; 3+ messages in thread From: Helmut Jarausch @ 2007-07-16 16:46 UTC (permalink / raw To: gentoo-user Hi, I'd like to understand the "magic" of files in /etc/modules.d How to write such an 'alias' line. Can anybody point me to a HowTo? E.g. in kernel 2.6.22 there is no more an option to select a USB-WACOM tablet input. I've built the kernel module from the linuxwacom project, but what's the right way to load the module. (I could do an explicit insmod in /etc/conf.d/local.start but that's not the canonical solution, isn't it.) Many thanks for your help, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] /etc/modules.d how to understand 2007-07-16 16:46 [gentoo-user] /etc/modules.d how to understand Helmut Jarausch @ 2007-07-16 17:26 ` Ian Hastie 2007-07-16 20:12 ` Kent Fredric 1 sibling, 0 replies; 3+ messages in thread From: Ian Hastie @ 2007-07-16 17:26 UTC (permalink / raw To: gentoo-user On Mon, 16 Jul 2007 18:46:27 +0200 (CEST) Helmut Jarausch <jarausch@igpm.rwth-aachen.de> wrote: > I'd like to understand the "magic" of files in /etc/modules.d > How to write such an 'alias' line. > Can anybody point me to a HowTo? Have you read the manual page for modprobe.conf? That will tell you all the relevant options and their syntax, etc. /etc/modprobe.conf is generated from the files in /etc/modules.d by update-modules. modinfo can tell you what options can be set for any given kernel module. > E.g. in kernel 2.6.22 there is no more an option to select > a USB-WACOM tablet input. You can do, but now you need to enable the option for tablet input devices first. That will then let the configuration list the tablet devices available. : config TABLET_USB_WACOM : tristate "Wacom Intuos/Graphire tablet support (USB)" : depends on USB_ARCH_HAS_HCD : select USB : help : Say Y here if you want to use the USB version of the Wacom : Intuos or Graphire tablet. Make sure to say Y to "Mouse support" : (CONFIG_INPUT_MOUSEDEV) and/or "Event interface support" : (CONFIG_INPUT_EVDEV) as well. : : To compile this driver as a module, choose M here: the : module will be called wacom. > I've built the kernel module from the linuxwacom project, > but what's the right way to load the module. > (I could do an explicit insmod in /etc/conf.d/local.start > but that's not the canonical solution, isn't it.) I would expect udev to handle the module loading for this. That's the normal way anyway. -- Ian. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] /etc/modules.d how to understand 2007-07-16 16:46 [gentoo-user] /etc/modules.d how to understand Helmut Jarausch 2007-07-16 17:26 ` Ian Hastie @ 2007-07-16 20:12 ` Kent Fredric 1 sibling, 0 replies; 3+ messages in thread From: Kent Fredric @ 2007-07-16 20:12 UTC (permalink / raw To: gentoo-user On 7/17/07, Helmut Jarausch <jarausch@igpm.rwth-aachen.de> wrote: > Hi, > > I'd like to understand the "magic" of files in /etc/modules.d > How to write such an 'alias' line. > Can anybody point me to a HowTo? > > E.g. in kernel 2.6.22 there is no more an option to select > a USB-WACOM tablet input. > I've built the kernel module from the linuxwacom project, > but what's the right way to load the module. > (I could do an explicit insmod in /etc/conf.d/local.start > but that's not the canonical solution, isn't it.) > > Many thanks for your help, > > Helmut Jarausch I don't know how 'right' this is, but I just'd echo wacom >> /etc/modules.autoload.d/kernel-2.6 But like Ian says, its there in .22, you just have to look harder. :) isengard devious # modinfo wacom filename: /lib/modules/2.6.22-gentoo-r1kz/kernel/drivers/input/tablet/wacom.ko license: GPL description: USB Wacom Graphire and Wacom Intuos tablet driver author: Vojtech Pavlik <vojtech@ucw.cz> license: GPL description: USB Wacom Graphire and Wacom Intuos tablet driver author: Vojtech Pavlik <vojtech@ucw.cz> srcversion: 3869A1CC72D9632ABD76D1D zcat /proc/config.gz | grep -i wacom CONFIG_TABLET_USB_WACOM=m -- Kent ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x| print "enNOSPicAMreil kdrtf@gma.com"[(2*x)..(2*x+1)]}' -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-16 20:21 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-07-16 16:46 [gentoo-user] /etc/modules.d how to understand Helmut Jarausch 2007-07-16 17:26 ` Ian Hastie 2007-07-16 20:12 ` Kent Fredric
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox