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 Mouse USB

Accertatevi di avere tutte le funzioni del kernel richieste attivate o alla compilazione, oppure tramite i moduli:

  • Sotto "Input core support":

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

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

  • Sotto "USB support":

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

    • "Preliminary USB device filesystem" (CONFIG_USB_DEVICEFS),

    • "UHCI" o "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), e

    • "HID input layer support" (CONFIG_USB_HIDINPUT)

Qui, i nomi in minuscolo sono i nomi dei moduli

Se non usate devfs, create un device node /dev/input/mice con major 13 e minor 63 come segue:

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

Per i tipici mouse a 3 pulsanti USB, le combinazioni di configurazione dovrebbero essere:

     /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

Vedere il Linux USB Project per maggiori informazioni.


Debian GNU/Linux Reference Guide
Prev Home Next

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