public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ian Hastie <ianh@iahastie.clara.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /etc/modules.d how to understand
Date: Mon, 16 Jul 2007 18:26:27 +0100	[thread overview]
Message-ID: <20070716182627.23019264@gadget.local.net> (raw)
In-Reply-To: <tkrat.83d5788bf857f1c0@igpm.rwth-aachen.de>

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



  reply	other threads:[~2007-07-16 17:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16 16:46 [gentoo-user] /etc/modules.d how to understand Helmut Jarausch
2007-07-16 17:26 ` Ian Hastie [this message]
2007-07-16 20:12 ` Kent Fredric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070716182627.23019264@gadget.local.net \
    --to=ianh@iahastie.clara.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox