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

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.

If you're not using devfs, create a device node /dev/input/mice with major 13 and minor 63 as follows:

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

For typical scroll USB mice, configuration combinations should be:

     /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

See the Linux USB Project for more information.


Debian GNU/Linux Reference Guide
Prev Home Next

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