All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: psmouse et al and mousedev dependancy
Date: Wed, 16 Mar 2005 12:36:43 -0500	[thread overview]
Message-ID: <d120d50005031609363906360d@mail.gmail.com> (raw)
In-Reply-To: <4238642F.9080701@tls.msk.ru>

Hi,

On Wed, 16 Mar 2005 19:51:59 +0300, Michael Tokarev <mjt@tls.msk.ru> wrote:
> A quick (hopefully) question.
> 
> When mousedev is compiled as a module, loading psmouse or usbhid
> modules does not enable the mouse, one have to load mousedev too.
> The same is true for keybdev and actual keyboard drivers.
> 
> Why not add this dependancy explicitly in psmouse et al modules,
> something like (pseudocode):
> 
> #if CONFIG_MOUSEDEV==m
>  request_module(mousedev);
> #endif
> 
> , or, to "use" some symbol in psmouse.ko which is defined in mousedev?
> 

Not everyone uses mousedev (evdev, tsdev, joydev) so they are not
loaded by default. It is actually hotplug scripts' task to load proper
interface module after a new input device has been discovered.

-- 
Dmitry

      reply	other threads:[~2005-03-16 17:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16 16:51 psmouse et al and mousedev dependancy Michael Tokarev
2005-03-16 17:36 ` Dmitry Torokhov [this message]

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=d120d50005031609363906360d@mail.gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=dtor_core@ameritech.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjt@tls.msk.ru \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.