On Thursday 23 August 2001 12:03, Ron White wrote:
> /etc/X11/XF86Config or /etc/XF86Config?
/etc/XF86Config
although it is good practice (tm) to symlink this file to a real one in
/etc/X11
> Question 3 - What should be in the Section "InputDevice" for the new mouse?
ALL usb mice are treated universally as PS/2 mice by the usbmouse.o driver.
This means it is a PS/2 'device'. The only wrinkle on that theme is if you
have a wheel mouse in which case it is an IMPS/2 device with appropriate
zaxis mapping. (5 to 99 buttons)
------------
As far as usb mice anything is concerned the answer is several.
essentially, *you* have to modprobe the usb drivers into your running kernel,
the names of those modules and how to do that are in (shock) usb->mice This
is most probably the only thing you have to do, simply load the generic
usbmousue driver as detailed in usb->mice
IF not::::
the usb-core modules will autodetect EVERY usb device 'out there', there are
no exceptions to this.
they then expect a specific driver module to handle the 'device number'
they've detected.
you can find out what *your* usb mouse really is under the covers (it's real,
non badge engineered actual product number in
usb -> general info->"who what where".
you will ultimately find 'a' driver you need to load for 'that' device.
The chances are very strong that it is all automatic and already supported by
the usbmouse driver extant in the kernel. It is simply a question of you
starting at usb->mice.
Finally, to automate this, if you want to, kernel 2.4.5 and beyond supports
hotplugging (properly) if you have an /etc/hotplug directory look in there
for the config file and add *your* device's prodcut id to that table. The usb
kernel will automatically load/unload the appropriate drivers, plural, when
you plug it in.
--
http://linux.nf -- [EMAIL PROTECTED]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users