I have a Logitech cordless kbd/mouse setup here.
Code:
bruce@silas:~$ dmesg | grep USB
input: Logitech USB Receiver as /class/input/input2
input: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:10.1-1
input: Logitech USB Receiver as /class/input/input3
input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:10.1-1
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
I remember that with this and other wireless USB mice I needed the module usbhid:
Code:
bruce@silas:~$ lsmod
Module Size Used by
usb_storage 28676 3
usbhid 24452 0
uhci_hcd 25680 0
ehci_hcd 25736 0
usblp 9792 0
(those are all my USB modules)
You can enable usbhid by uncommenting (remove the # in front of the line)
#/sbin/modprobe hid
in the file /etc/rc.d/rc.modules (as root in a terminal). Until I had
that usbhid module, my mouse would go up and down only, not right and
left.
Afterwards restart your X server. Issue "Ctrl+Alt+Backspace" then at the
prompt enter "startx" to start the X server again.
I think that will work, though I always compile custom kernels and enable
it as a module there.
In the file "/etc/X11/xorg.conf" this is what I have for the rodent:
Code:
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
# The mouse device. The device is normally set to /dev/mouse,
Option "Device" "/dev/mouse
That file might look different on this comp than yours because it
was configured by 'nvidia-xconfig' when I installed the new Nvidia
drivers for my graphics card.
On another box with an USB wireless mouse; edited xorg.conf:
Code:
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:
# Option "Protocol" "Auto"
# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
# The mouse device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.
Option "Device" "/dev/input/mice"
# Option "Device" "/dev/mouse"
# Option "Device" "/dev/psaux"
# Option "Device" "/dev/ttyS0"
# Option "Device" "/dev/ttyS1"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Option "Protocol" "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
These:
Code:
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
allow the scroll wheel to work. There is more work
to be done to enable buttons, but I've never done that.