Stupid question regarding USB

Soldato
Joined
8 Nov 2003
Posts
7,409
Location
UK
Hi guys,

Have decided to move away from windows now on my main computer after trying out Archlinux first on my laptop - and I'm impressed.

Though I have a problem getting my usb mouse to work. I am currently in kde and the mouse light is on, but the cursor won't move.

Please help a newbie
 
No such thing as a stupid linux question ;)

Assuming the mouse has power which from what you have said it does, I think its a fair guess that the mouse is configured incorrectly in the xorg config.

Could you post the make + model of the mouse.

And also Post your xorg config which will be in /etc/X11/xorg.conf or /etc/X11/XF86Config.


Hopefully that will shed some light on the issue.
 
Last edited:
hi mate

Have tried messing with the xorg.conf file but still couldn't get it to work.

Anyway, here it is what I think is the relevant section. Let me know if it isn't.

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse0"
Option "ZAxisMapping" "4 5 6 7"


Mouse is a really small Microsoft Notebook Optical Mouse 1020 which is lit up like a Christmas tree.
 
Hmm, that all looks correct apart from possibly the Device, Im not 100% sure but try changing /dev/input/mouse0 to "/dev/input/mice" and restart X, thats what mine is in arch anyway so worth a try.

Failing that, could you run dmesg and see if theres any errors related to the mouse in there?

dmesg | less

Also run lsusb and double check its listed in there.

Failing that im all out of ideas :(
 
EDIT:

It works!!

Bit strange though because I tried setting it to mice rather than mouse0 before and it didn't work but I must have done something wrong so...

CHEERS BUDDY! :D

Hello,

Found some errors in dmesg

usb 1-1: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 8 ports detected
usb 1-1: can't set config #1, error -71
usb 1-1: USB disconnect, address 2
Driver 'sr' needs updating - please use bus_type methods
Driver 'sd' needs updating - please use bus_type methods


And lsusb returns

Bus 001 Device 003: ID 045e:007d Microsoft Corp. Notebook Optical Mouse
 
Last edited:
Back
Top Bottom