View previous topic :: View next topic |
Author |
Message |
bigbrother n00b


Joined: 28 Oct 2002 Posts: 9 Location: Chicago, IL
|
Posted: Mon Oct 28, 2002 8:11 am Post subject: Mouse exhibits erratic behavior |
|
|
I have a Logitech cordless optical mouse. I used to be running RedHat 7.3, under which this mouse worked fine. After installing gentoo, the mouse has very erratic behavior in both the console (gpm) and X windows.
The symtoms are that while moving the mouse, it starts to jump to places on the screen and seems to be emitting strange byte sequences (at least gpm and X are interpreting them in a strange way). For example, if gpm is running, moving the mouse will often cause non-printable characters to show up in the console. More often than not, if I keep moving the mouse around, the console locks up so that keyboard input does nothing. Not even Alt+SysRq+B works when that happens.
Anyway, I've tried all the different protocols that this mouse might be using (PS/2, IMPS/2, MMAN) and those don't seem to do anything.
If I recall correctly, it was running perfectly under RedHat with gpm -t ps2 and IMPS/2 as the protocol under X. Neither of those works correctly.
Also, if gpm is running, I get a lot of
[gpm] Skipping a data packet (?)
messages written to the system log.
I have kernel support for PS/2 mice compiled in and I do not use a KVM switch.
Does anyone know what's wrong?
Thanks. |
|
Back to top |
|
 |
sulu Guru


Joined: 21 May 2002 Posts: 399 Location: Dornbirn/Austria
|
Posted: Mon Oct 28, 2002 9:00 am Post subject: |
|
|
Hi bigbrother.
Quote: | Anyway, I've tried all the different protocols that this mouse might be using (PS/2, IMPS/2, MMAN) and those don't seem to do anything. |
So, you altered /etc/conf.d/gpm.conf an tried all the different protocols?
IIRC the /etc/devfs.conf has also to be adapted if a different mouse protcol is used.
Grreets
Sulu |
|
Back to top |
|
 |
bigbrother n00b


Joined: 28 Oct 2002 Posts: 9 Location: Chicago, IL
|
Posted: Tue Oct 29, 2002 7:02 am Post subject: |
|
|
I looked at devfsd.conf and there is no protocol information there -- only device selection, which is correct for me.
Tonight I did an experiment and it seems that the issue is related to devfs. The mouse is completely usable on a system without devfs enabled.
What I am going to try next is to enable all the USB mouse stuff in the kernel and then plug my mouse in to the USB port rather than with the USB->PS/2 adapter. |
|
Back to top |
|
 |
sulu Guru


Joined: 21 May 2002 Posts: 399 Location: Dornbirn/Austria
|
Posted: Tue Oct 29, 2002 8:25 am Post subject: |
|
|
Hmmmm
That would indicate a false mapping of the mouse-device in devfs and so a wrong device driver comes into play.
Quote: | Tonight I did an experiment and it seems that the issue is related to devfs. The mouse is completely usable on a system without devfs enabled.
What I am going to try next is to enable all the USB mouse stuff in the kernel and then plug my mouse in to the USB port rather than with the USB->PS/2 adapter. |
I think your mose should work on the PS/2-adapter without any hitches but i have no idea why it does not (me still using old-fashioned 3-Button mouse).
Stupid question because i have no real clue:
Do you have the same devices enabled in /etc/conf.d/gpm.conf and /etc/devfs.conf for the mouse-device.
Greets
Sulu |
|
Back to top |
|
 |
bigbrother n00b


Joined: 28 Oct 2002 Posts: 9 Location: Chicago, IL
|
Posted: Wed Oct 30, 2002 6:23 am Post subject: |
|
|
I reinstalled and, oddly enough, it works fine now. |
|
Back to top |
|
 |
NorthGoingZax Apprentice


Joined: 03 Dec 2002 Posts: 189
|
Posted: Sat Nov 29, 2003 1:40 am Post subject: |
|
|
bigbrother wrote: | I reinstalled and, oddly enough, it works fine now. |
What did you reinstall ? I have had wierd mouse problems since I went to the 2.6 kernel.  |
|
Back to top |
|
 |
|