You are not logged in.

#1 2012-05-30 22:20:18

steelneck
Member
Registered: 2011-08-26
Posts: 57

USB Mouse problem

My old PS2 ball mouse finally gave up with a terrible contact bounce on the left button, so i replaced it with a cheap noname optical USB-mouse. My problem is that the mouse do not work when my PC is booted from cold, but as soon as i reconnect it with the machine running it works just fine, it does not matter if i do this at console or with X running. I guess this has something to do with udev, but i cannot figure out the problem.

Last edited by steelneck (2012-05-30 22:21:19)

Offline

#2 2012-05-31 08:45:19

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: USB Mouse problem

After a cold boot (so in a situation where the mouse isn't functional), check if the usbhid module is loaded correctly.


Burninate!

Offline

#3 2012-05-31 19:35:40

steelneck
Member
Registered: 2011-08-26
Posts: 57

Re: USB Mouse problem

lsmod | grep usbhid
usbhid                 31477  0 
hid                    66633  1 usbhid
usbcore               122751  7 ehci_hcd,ohci_hcd,usbhid,uas,usb_storage,wacom

And lsmod says the same when i reconnect the mouse and have it working.

Offline

#4 2012-05-31 19:41:03

Avant-texte
Member
Registered: 2012-02-13
Posts: 136

Re: USB Mouse problem

steelneck wrote:
lsmod | grep usbhid
usbhid                 31477  0 
hid                    66633  1 usbhid
usbcore               122751  7 ehci_hcd,ohci_hcd,usbhid,uas,usb_storage,wacom

And lsmod says the same when i reconnect the mouse and have it working.

What does lsmod say before you reconnect?

Also, what does dmesg show?

Last edited by Avant-texte (2012-05-31 19:41:21)

Offline

#5 2012-05-31 23:20:09

steelneck
Member
Registered: 2011-08-26
Posts: 57

Re: USB Mouse problem

Avant-texte wrote:

What does lsmod say before you reconnect?

As i wrote (a bit unclear), it says the same.

Avant-texte wrote:

Also, what does dmesg show?

Nothing i can relate to this, unless you have a suggestion on what to look for?

Offline

#6 2012-06-01 08:48:26

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: USB Mouse problem

Does lsusb see it after you boot?

If it doesn't, it may not be getting enough power. Try a different USB port or a PS/2 adapter.


Cheap noname mice are usually not put through QC (quality check). If I were you I would probably just get a better mouse. A $10 Trust or A4Tech will save you the trouble.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#7 2012-06-02 01:35:24

steelneck
Member
Registered: 2011-08-26
Posts: 57

Re: USB Mouse problem

DSpider wrote:

Does lsusb see it after you boot?

If it doesn't, it may not be getting enough power. Try a different USB port or a PS/2 adapter.

After boot it is not listed by lsusb, after a reconnect it is. But i do not buy that it does not get enough power, if i boot into my old Slackware (i always have some old previous used OS/distro laying around on some disk or partition) it works alright, this is on the same machine. Though "lsusb" is at least one step further, i had forgot about checking that.

Offline

#8 2012-06-05 04:10:59

F1y3r
Member
Registered: 2007-09-28
Posts: 61

Re: USB Mouse problem

I have the same problem. I thought I fixed it, but it came back again. It's a bit difficult to reproduce reliably. Sometimes it just works correctly. One thing which seems to help is unplugging keyboard. Without keyboard everything works correctly. I think it either is usb power issue or some changes in udev or kernel which affect only some chipsets. I have 2 of these mice and both of them work fine on my laptop which has almost exactly same Arch setup.

Have you tried downgrading kernel or systemd? https://bbs.archlinux.org/viewtopic.php?id=139193
Does this computer have nforce chipset? Mine has nforce 4. https://bbs.archlinux.org/viewtopic.php?id=140572

Offline

#9 2012-06-11 21:35:23

steelneck
Member
Registered: 2011-08-26
Posts: 57

Re: USB Mouse problem

Downgrading is not a solution. I do not think there is a nforce 4, this is a several year old computer. After last -Syu (a lot of packages, like 100 or so) i still have the mouse problem but now my old udev rule to mount usb mass storage devices has stoped working. I start a new thread about that.

Offline

Board footer

Powered by FluxBB