public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: DervishD <raul@pleyades.net>
Cc: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: USB Mouse issue
Date: Thu, 3 Apr 2003 09:07:26 -0800	[thread overview]
Message-ID: <20030403170726.GA4849@kroah.com> (raw)
In-Reply-To: <20030403101033.GC47@DervishD>

On Thu, Apr 03, 2003 at 12:10:33PM +0200, DervishD wrote:
>     Hi Greg :)
> 
>  Greg KH dixit:
> > >     But when I do 'gpm -m mouse -p -t imps2' I have a 'ENODEV'. Same
> > > if I try to open 'mouse' with cat or the like, always ENODEV:
> > >     crw-r--r--  1 root root 180,16 mouse
> > No, this interface (Major 180, minor 16) is long out of date.  You have
> > to use the input core now.
> 
>     And that means activate INPUT_MOUSEDEV and load the module, ok,
> but then, usbmouse does anything? Is it necessary for the USB mouse?

The ONLY reason you would want to use the usbmouse driver is if you are
building an embedded system.  Please read the configuration help files
about this.

What you want is the hid driver.  Use that, and select INPUT_MOUSEDEV.

>     Excuse me, none of the above was needed, just created the node
> (char 13,64) and run gpm saying that the mouse is of 'evdev' type. No
> INPUT_MOUSEDEV needed :) Just one curiosity: the usbmouse module
> shows as 'unused', in fact is 'evdev' the one used by 'gpm', but if I
> unload the usbmouse module (which I can do even with gpm running)
> then gpm stops working! I mean, the usbmouse module can be rmmod'ed
> but it is in use! Is this a bug? I'm afraid I must mark this module
> as not autocleanable :((( and it will remain loaded even if I stop
> using the mouse. Any advice?

No, it's not a bug, it's the way the author wants it.  The module does
not show up as being used as it would be a bit hard to unplug your
mouse or keyboard and then try to unload the module :)

thanks,

greg k-h

  reply	other threads:[~2003-04-03 16:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-02 19:37 USB Mouse issue DervishD
2003-04-03  0:53 ` Greg KH
2003-04-03 10:10   ` DervishD
2003-04-03 17:07     ` Greg KH [this message]
2003-04-03 20:50       ` DervishD
2003-04-09  5:09         ` Greg KH

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=20030403170726.GA4849@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=raul@pleyades.net \
    /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