Re: USB Mouse issue

DervishD (raul@pleyades.net)
Thu, 3 Apr 2003 22:50:57 +0200


Hi Greg :)

Thanks for your help about this issue :)

Greg KH dixit:
> > > 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.

Which one, Configure.help? I've read the entry for usbmouse and I
didn't found any info :?

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

Which advantages has this method. I mean, the mouse works with
gpm and usbmouse, and that is all I need. Maybe X problems?

> > 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 :)

Didn't think about that, obviously ;))) The fact that I never
hotunplug a USB device doesn't mean it cannot be done ;)) Anyway,
this renders the autoclean feature unusable for that module ¿true?.
So, you must unload it by hand or, better, built into core.

Thanks for your kindness, Greg, and for clarifying all that for
me. I owe you a beer if you come to Spain sometime.

Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://www.pleyades.net/~raulnac
Quite embarrased of being spanish...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/