View previous topic :: View next topic |
Author |
Message |
chene n00b
Joined: 09 Sep 2002 Posts: 22
|
Posted: Wed Sep 18, 2002 9:15 pm Post subject: USB mouse behaving funny |
|
|
hi,
I am encountering some funny behaviours with my Logitech USB mouse. I have a Dell Inspiron 8200 laptop that worked with gentoo perfectly, and I was very happy about it. However, I performed a "emerge -ud world", and NOT knowing that the new kernel (2.4.19-r9) does NOT support XFS, I trashed my installation and had to re-install from scratch.
This time, however, my USB mouse is behaving funny in X. The mouse click event is NOT sent until I move the mouse, and the wheel doesn't work. This is getting frustrating as browing web is an extreme pain in the butt -- even writing this message on this forum would require some careful use of my usb-mouse so that a "click" on the button is interpreted as such instead of dragging the icon.
Here is how I setup my mouse:
in my /etc/modules.autoload:
# USB mouse
input
mousedev
hid
relavent parts of my /etc/X11/XF86Config:
Section "InputDevice"
Identifier "USB Mice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "USB Mice" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
As I said, this worked perfectly with my previous installation of gentoo 1.2, but now it doesn't quite work. I got this strange mouse behavious (wheel doesn't work under Mozilla, mouse click isn't sent until there is a displacement) in KDE/mwm/twm (so this isn't a window-manager problem).
Movement of the mouse is working just fine, though.
can anyone give me a hint as what I'm doing wrong? I'm using kernel 2.4.19-r7
thx, |
|
Back to top |
|
|
sa Guru
Joined: 10 Jun 2002 Posts: 450
|
Posted: Wed Sep 18, 2002 10:35 pm Post subject: |
|
|
if you are using the UHCI, may I recomend using the other one, for me I was having problems with: <M> UHCI Alternate Driver (JE) support which is the default. but <M> UHCI (Intel PIIX4, VIA, ...) support works good.
hth,
sa |
|
Back to top |
|
|
chene n00b
Joined: 09 Sep 2002 Posts: 22
|
Posted: Wed Sep 18, 2002 10:48 pm Post subject: |
|
|
UHIC (intel) is the one I'm using. I have tried both, but they behave the same.
This is pretty weird. I have even re-compiled my kernel to the exact as I had before (I saved my .config before my system was trashed), and still, the mouse doesn't quite work.
any tip is very much appreciated, |
|
Back to top |
|
|
chene n00b
Joined: 09 Sep 2002 Posts: 22
|
Posted: Thu Sep 19, 2002 12:22 am Post subject: |
|
|
just a few more leads...
the buttons on my regular touch-pad doesn't work either. So perhaps my touch pad is interfering with my USB mouse?
my /dev/mouse is linked to /dev/misc/psaux:
ls -la /dev/misc/psaux:
crw-r----- 1 root root 10, 1 Sep 18 19:09 /dev/misc/psaux
ls -la /dev/input/mice
crw-r--r-- 1 root root 13, 63 Dec 31 1969 mice
thx, |
|
Back to top |
|
|
chene n00b
Joined: 09 Sep 2002 Posts: 22
|
Posted: Thu Sep 19, 2002 5:02 pm Post subject: |
|
|
Just to be sure that it isn't a hardware problem, I used a USB->PS1 converter and connected my Logitech USB mouse to the PS1 port instead. Using the PS1 port, the mouse click, along with the wheel button, are all functioning just fine.
Still, I would like to use the USB port instead of the PS1 so I don't have to carry the converter around with my laptop.
any help is very much appreciated, |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Thu Sep 19, 2002 5:05 pm Post subject: |
|
|
I use this and it works...
Code: |
Section "ServerLayout"
Identifier "DefaultLayout"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
|
|
|
Back to top |
|
|
Miker n00b
Joined: 20 Jun 2002 Posts: 65 Location: Belgium
|
Posted: Fri Sep 20, 2002 11:47 am Post subject: inspiron i4100, had this problem too |
|
|
Hi,
I had this problem too with my dell I4100, but it's fixed now. Don't ask me how, 'cause it was a long process . Be sure to enable HID (in the usb section, something about Human Interaction Device i think), and also the option under it (enable at boot ?). Sorry I can't help more.
Mike |
|
Back to top |
|
|
oniq Guru
Joined: 02 Sep 2002 Posts: 597 Location: Connecticut
|
Posted: Fri Oct 04, 2002 11:14 pm Post subject: |
|
|
Don't know if you ever got this fixed. But here is what did it for me (had the same problem as you described):
Code: |
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mouse0"
Option "Emulate3Buttons"
# Enables Mouse Wheel
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
|
|
|
Back to top |
|
|
|