View previous topic :: View next topic |
Author |
Message |
zbindere Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/53537177740bd82b7f245a.jpg)
Joined: 27 May 2004 Posts: 356 Location: Switzerland
|
Posted: Sat May 29, 2004 8:29 pm Post subject: logitech usb WHEEL mouse not working [solved] |
|
|
the problem:
it seems that there are a lot of people having the same problem. I have a logitech (usb, optical) wheel mouse (model M-BJ58) everything works just well, well almost everything. the WHEEL button does NOT work ie scrolling is not possible but clicking with the middle button is possible.
the XF86Config (mouse section):
Code: | Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice" |
I already tried with PS/2, ExplorerPS/2. No chance
then I tried xev. here the results:
click eft button
Code: | ButtonPress event, serial 26, synthetic NO, window 0xe00001,
root 0x44, subw 0x0, time 77645, (47,108), root:(71,270),
state 0x0, button 1, same_screen YES |
click right button
Code: | ButtonRelease event, serial 26, synthetic NO, window 0xe00001,
root 0x44, subw 0x0, time 78509, (47,108), root:(71,270),
state 0x400, button 3, same_screen YES |
click middle button
Code: | ButtonRelease event, serial 26, synthetic NO, window 0xe00001,
root 0x44, subw 0x0, time 76573, (47,108), root:(71,270),
state 0x200, button 2, same_screen YES |
(apparently clicking works)
scroll middle button
NOTHING
here my kernel (2.6.6-r1) options:
usb:
Code: | CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_STORAGE=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_MOUSE=m |
mouse:
Code: | CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y |
i have to mention that the same hardware works for debian and redhat.
so I am not really sure if it is a kernel oder X problem.
all suggestions are very welcome.
Last edited by zbindere on Wed Jun 30, 2004 7:02 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Sat May 29, 2004 9:12 pm Post subject: |
|
|
zbindere,
Do Code: | cat /dev/input/mice | and scroll the wheel. Gibberish means that wheel events are getting out of the kernel.
You are missing an Code: | Option "Buttons" "N" | statement, where N is the total number of buttons on your mouse. You have described 5 so far. If you have more, Quote: | Option "ZAxisMapping" "4 5" | may well call up the wrong button numbers but whatever buttons 4 and 5 are, will perform the function of the wheel until you discover the right numbers. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zbindere Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/53537177740bd82b7f245a.jpg)
Joined: 27 May 2004 Posts: 356 Location: Switzerland
|
Posted: Sat May 29, 2004 9:37 pm Post subject: |
|
|
included
Code: | Option "Buttons" "5" |
and
tried
Code: | cat /dev/input/mice |
no garbage when I scroll the wheel
not sure what the problem is... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Sat May 29, 2004 9:56 pm Post subject: |
|
|
zbindere,
The no garbage means its your kernel. There are no wheel events in /dev/input/mice.
CONFIG_USB_MOUSE=m looks wrong. Thats under Quote: | USB HID Boot Protocol drivers |
If you have a module called usbmouse loaded and in use (lsmod), thats the problem. You will not be able to unload it as its in use by the mouse. You could track it down in /lib/modules<uname -r>/.... and rename it so it can't be loaded then reboot. If that fixes it, redo the kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zbindere Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/53537177740bd82b7f245a.jpg)
Joined: 27 May 2004 Posts: 356 Location: Switzerland
|
Posted: Sat May 29, 2004 11:46 pm Post subject: |
|
|
seems not to be the problem.
output of lsmod:
Code: |
Module Size Used by
sg 28960 0
snd_intel8x0 29188 3
snd_ac97_codec 60292 1 snd_intel8x0
snd_pcm 81672 1 snd_intel8x0
snd_timer 20740 1 snd_pcm
snd_page_alloc 8964 2 snd_intel8x0,snd_pcm
snd_mpu401_uart 6272 1 snd_intel8x0
snd_rawmidi 17792 1 snd_mpu401_uart
snd 40760 12 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi |
I slowly begin to think that it could be a bug in the 2.6 kernel... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Sat May 29, 2004 11:59 pm Post subject: |
|
|
zbindere,
Two things, I dont get giberish on scroll either but my mouse works. When I get some 'text' in the cat window, one directions does nothing, the other backspaces over it.
This works for me:-
Quote: | Section "InputDevice"
# Identifier and driver
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mouse0"
# Allow Both PS/2 and USB mice to work for debugging
Option "SendCoreEvents"
# For the Logitech Mx700
Option "ZAxisMapping" "5 4"
Option "Buttons" "7"
EndSection |
/dev/input/mice is all the USB mice on the system. I doubt that its a kernel bug. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zbindere Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/53537177740bd82b7f245a.jpg)
Joined: 27 May 2004 Posts: 356 Location: Switzerland
|
Posted: Sun May 30, 2004 12:20 am Post subject: |
|
|
i managed to get ghe mouse working. a kernel module wasn't loaded. with
the scroll funktion works
I do not understand this. the mouse shouldn't work at all without that module, should it?
what is this module for? does anybody know? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Sun May 30, 2004 12:27 am Post subject: |
|
|
zbindere,
That module drives your USB root hubs on the motherboard for USB 1.1 if you have a VIA or Intel chip set.
Nothing that needs USB 1.1 will work without a root hub driver.
Do dmesg | grep ohci and dmesg | grep uhci. One of them should return nothing. (Hopefully you have uhci root hubs.)
also provides a useful tool for looking at your USB devices and drivers. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zbindere Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/53537177740bd82b7f245a.jpg)
Joined: 27 May 2004 Posts: 356 Location: Switzerland
|
Posted: Sun May 30, 2004 8:01 am Post subject: |
|
|
its uhci!!!
but what if I want to use usb 2? do I then need to laod ehci? can i load ehci and uhci simultanely? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zbindere Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/53537177740bd82b7f245a.jpg)
Joined: 27 May 2004 Posts: 356 Location: Switzerland
|
Posted: Sun May 30, 2004 8:57 am Post subject: |
|
|
now it works:
I changed my /etc/modules.autoload.d/kernel-2.6 file to:
and now everythin works fine. thanks for your help NeddySeagoon. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Sun May 30, 2004 11:00 am Post subject: |
|
|
zbindere,
Thats correct. If you want to mix USB 1.1 and USB 2.0 remember that each root hub can only support one standard at a time. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cryos Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/gallery/TV Stars/and1.jpg)
Joined: 08 Mar 2003 Posts: 242 Location: US
|
Posted: Sun Jun 13, 2004 8:30 pm Post subject: |
|
|
Just to say that I had a similar problem with my Toshiba laptop and no longer being able to use the middle mouse button on it. After reading this thread I loaded ohci-hcd (different driver needed for my laptop) and the mouse started working! Before that it worked but the middle button did nothing.
Thanks for posting this thread and helping me to finally figure it out. I thought it was a bug in the 2.6 kernels or something, but it was just a little weirdness - the USB mouse worked, but not quite fully...
Thanks once again though - I have scroll and middle mouse button back again! ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|