[gentoo-user] /etc/modules.d how to understand
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 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] /etc/modules.d how to understand
On Mon, 16 Jul 2007 18:46:27 +0200 (CEST) Helmut Jarausch [EMAIL PROTECTED] 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. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] /etc/modules.d how to understand
On 7/17/07, Helmut Jarausch [EMAIL PROTECTED] 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 [EMAIL PROTECTED] license:GPL description:USB Wacom Graphire and Wacom Intuos tablet driver author: Vojtech Pavlik [EMAIL PROTECTED] 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 [EMAIL PROTECTED][(2*x)..(2*x+1)]}' -- [EMAIL PROTECTED] mailing list