Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB mouse behaving funny
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
chene
n00b
n00b


Joined: 09 Sep 2002
Posts: 22

PostPosted: Wed Sep 18, 2002 9:15 pm    Post subject: USB mouse behaving funny Reply with quote

:evil:

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
View user's profile Send private message
sa
Guru
Guru


Joined: 10 Jun 2002
Posts: 450

PostPosted: Wed Sep 18, 2002 10:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
chene
n00b
n00b


Joined: 09 Sep 2002
Posts: 22

PostPosted: Wed Sep 18, 2002 10:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
chene
n00b
n00b


Joined: 09 Sep 2002
Posts: 22

PostPosted: Thu Sep 19, 2002 12:22 am    Post subject: Reply with quote

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
View user's profile Send private message
chene
n00b
n00b


Joined: 09 Sep 2002
Posts: 22

PostPosted: Thu Sep 19, 2002 5:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Thu Sep 19, 2002 5:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Miker
n00b
n00b


Joined: 20 Jun 2002
Posts: 65
Location: Belgium

PostPosted: Fri Sep 20, 2002 11:47 am    Post subject: inspiron i4100, had this problem too Reply with quote

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
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Fri Oct 04, 2002 11:14 pm    Post subject: Reply with quote

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
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