Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

3.3.2 USB mice

Make sure you have all required kernel functions activated through kernel compile time configuration or modules:

  • Under "Input core support":

    • "Input core support" (CONFIG_INPUT, input.o),

    • "Mouse support" (CONFIG_INPUT_MOUSEDEV, mousedev.o),

  • Under "USB support":

    • "Support for USB" (CONFIG_USB, usbcore.o),

    • "Preliminary USB device filesystem" (CONFIG_USB_DEVICEFS),

    • "UHCI" or "OHCI" (CONFIG_USB_UHCI || CONFIG_USB_UHCI_ALT || CONFIG_USB_OHCI, usb-uhci.o || uhci.o || usb-ohci.o),

    • "USB Human Interface Device (full HID) support" (CONFIG_USB_HID, hid.o), and

    • "HID input layer support" (CONFIG_USB_HIDINPUT)

Here, lower case names are module names.

Si no est� usando devfs, cree un nodo de dispositivo con /dev/input/mice major 13 y minor 63 de la siguiente manera:

     # cd /dev
     # mkdir input
     # mknod input/mice c 13 63

Para un rat�n USB t�pico de tres botones, la configuraci�n podr�a ser:

     /etc/gpm.conf            | /etc/X11/XF86Config-4
     =========================+======================================
     device=/dev/input/mice   | Section "InputDevice"
     responsiveness=          |  Identifier "Generic Mouse"
     repeat_type=raw          |  Driver     "mouse"
     type=autops2             |  Option     "SendCoreEvents" "true"
     append=""                |  Option     "Device"   "/dev/input/mice"
     sample_rate=             |  Option     "Protocol" "IMPS/2"
                              |  Option     "Buttons" "5"
                              |  Option  "ZAxisMapping" "4 5"
                              | EndSection

V�ase Linux USB Project para m�s informaci�n


Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire