Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Mouse problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
manuelbiliar
n00b
n00b


Joined: 24 Feb 2006
Posts: 5

PostPosted: Fri Jun 09, 2006 10:20 am    Post subject: USB Mouse problem Reply with quote

I'm unable to make USB mouses to work in my laptop.

I have a synaptics touchpad that works ok.
I have an USB keyboard that works ok.

I have a Dell USB mouse at work and a Logitech USB Mouse at home, none of them work at all. The pointer stays still while I move them or press buttons.

Both get detected when I plug them:
Code:

tail -f /var/log/messages

Jun  9 12:07:12 acsev-109 hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0010
Jun  9 12:07:12 acsev-109 ehci_hcd 0000:00:1d.7: GetStatus port 4 status 001403 POWER sig=k CSC CONNECT
Jun  9 12:07:12 acsev-109 hub 1-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
Jun  9 12:07:12 acsev-109 hub 1-0:1.0: debounce: port 4: total 100ms stable 100ms status 0x501
Jun  9 12:07:12 acsev-109 ehci_hcd 0000:00:1d.7: port 4 low speed --> companion
Jun  9 12:07:12 acsev-109 uhci_hcd 0000:00:1d.1: wakeup_rh (auto-start)
Jun  9 12:07:12 acsev-109 ehci_hcd 0000:00:1d.7: GetStatus port 4 status 003002 POWER OWNER sig=se0 CSC
Jun  9 12:07:12 acsev-109 hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0004
Jun  9 12:07:12 acsev-109 uhci_hcd 0000:00:1d.1: port 2 portsc 01a3,00
Jun  9 12:07:12 acsev-109 hub 3-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s
Jun  9 12:07:12 acsev-109 hub 3-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301
Jun  9 12:07:12 acsev-109 hub 3-0:1.0: port 2 not reset yet, waiting 50ms
Jun  9 12:07:12 acsev-109 usb 3-2: new low speed USB device using uhci_hcd and address 4
Jun  9 12:07:12 acsev-109 hub 3-0:1.0: port 2 not reset yet, waiting 50ms
Jun  9 12:07:13 acsev-109 usb 3-2: skipped 1 descriptor after interface
Jun  9 12:07:13 acsev-109 usb 3-2: new device strings: Mfr=0, Product=0, SerialNumber=0
Jun  9 12:07:13 acsev-109 usb 3-2: uevent
Jun  9 12:07:13 acsev-109 usb 3-2: device is bus-powered
Jun  9 12:07:13 acsev-109 usb 3-2: configuration #1 chosen from 1 choice
Jun  9 12:07:13 acsev-109 usb 3-2: adding 3-2:1.0 (config #1, interface 0)
Jun  9 12:07:13 acsev-109 usb 3-2:1.0: uevent
Jun  9 12:07:13 acsev-109 usbhid 3-2:1.0: usb_probe_interface
Jun  9 12:07:13 acsev-109 usbhid 3-2:1.0: usb_probe_interface - got id
Jun  9 12:07:13 acsev-109 input: HID 413c:3010 as /class/input/input4
Jun  9 12:07:13 acsev-109 input: USB HID v1.10 Mouse [HID 413c:3010] on usb-0000:00:1d.1-2
Jun  9 12:07:13 acsev-109 drivers/usb/core/inode.c: creating file '004'


If I do
Code:
cat /dev/input/mice

I get garbage on screen if I move the mouse.

I think the relevant part of Xorg.conf is well configured
Code:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "aticonfig Screen 0" 0 0
        InputDevice    "Touchpad" "CorePointer"
        InputDevice    "USB Optical Mouse" "AlwaysCore"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
 (...)
Section "InputDevice"
        Identifier "USB Optical Mouse"
        Driver     "mouse"
        Option     "Protocol"     "auto"
        Option     "Device"       "/dev/input/mice"
        Option     "ZAxisMapping" "4 5"
EndSection


I've changed Option "Protocol" to imps2, logitech,... but always had the same effect, none.

Any idea of what I'm doing wrong?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54829
Location: 56N 3W

PostPosted: Fri Jun 09, 2006 11:59 am    Post subject: Reply with quote

manuelbiliar,

Welcome to gentoo.
Lets check if its your kernel or Xorg that having problems.

In a console (or xterm) do
Code:
cat /dev/input/mice
and mave the mouse and operate its buttons.
You should see jibberish in the terminal. Press Ctrl-C when you have had enough.
If your terminal is a mess - type reset.

If that worked - you kernel is OK and the problem is with Xorg.
If you you didn't get anything, your kernel is mising an option or two.
Post back and we'll take it from there.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
manuelbiliar
n00b
n00b


Joined: 24 Feb 2006
Posts: 5

PostPosted: Sun Jun 11, 2006 7:06 am    Post subject: Reply with quote

Thank you for helping NeddySeagoon, I do need it :)

Quote:
If I do
Code:
Code:
cat /dev/input/mice


I get garbage on screen if I move the mouse.


As I tried to say in my first post (my english is not that good ;)), I see gibberish when I operate my mouse.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54829
Location: 56N 3W

PostPosted: Sun Jun 11, 2006 9:32 am    Post subject: Reply with quote

manuelbiliar,

It was my reading at fault, not your English.

Your kernel is good - so its your Xorg.conf and as you say, your xorg.conf looks good.

Some things to try. Comment out
Code:
   InputDevice    "Touchpad" "CorePointer"
and check that xorg will use the USB mouse.
Run
Code:
 xev
and check that xorg sees the mouse events.

Look in /dev/input before and after connecting the mouse.
Is it added as /dev/input/mouseX or some more event nodes ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
manuelbiliar
n00b
n00b


Joined: 24 Feb 2006
Posts: 5

PostPosted: Mon Jun 12, 2006 7:59 am    Post subject: Reply with quote

Quote:
Comment out
Code:
InputDevice    "Touchpad" "CorePointer"

and check that xorg will use the USB mouse.


And this was the trick! Now both, touchpad and mouse works 8O

Thank you very much, Neddy.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum