11.3 RC 1 Problem USB->PS/2 Connector

Hello!

First of all excuse my terrible english :shame:

I face a strange problem with RC 1. When i connect my USB optical wheel mouse with a USB->PS/2 adaptor to the PS/2 mainboard connector the system will lost mouse AND keyboard after a random time. Sometimes mouse goes crazy just before Keyboard / mouse get lost. System dont crash PB work and do a clean shutdown.
This happens to 32 / 64 Bit version and with xfce / lxde / gnome of RC 1 ( KDE not testet ). So its a xserver problem i guess. When i directly plug the mouse to an USB port the problem disappears. On the exactly same PC the adaptor works flawless in DOS 6.22, Windows XP (32bit), Windows 7 (64Bit) and (!!) OpenSuse 11.1 (32Bit) ( Same PC other Partition multiboot with Grub )
I try to fix the problem with many different mouse protocols in xorg.conf and even with kernel bootparameter psmouse.resetafter=5 or psmouse.proto=bare. But no success …
I have no idea where to search next for this strange problem.
Maybe a very experienced Linux user can help here?
Thanks a lot!

The fact it works well in Windows (but not in Linux) is a bit puzzling. Did you try changing the mouse definition in Linux?

Hello!

The very strange thing is it actually worked under OpenSuse 10.3, 11.0 11.1 for many years without problems! On my actual Opensuse 11.1 partition no problem at all! Many life Linux CD even work with this adaptor.
And even 11.3 RC 1 start x-server and run flawless for an RANDOM amount of time. Then mouse and keyboard dont work anymore. Sometimes the mouse goes crazy just before mouse / keyboard went off. This means strange things happen on screen like wild cursor movement and activating windows, buttons etc.

I have generated xorg.conf file for Opensuse 11.3 RC 1 and placed my actual
11.1 Section for testing into it

( Works fine under opensuse 11.1 on the very same Pc! Just another partition)

First test unchanged 11.1 section

Section “InputDevice”
Driver “mouse”
Identifier “Mouse0”
Option “Buttons” “5”
Option “Device” “/dev/input/mice”
Option “Name” “ImPS/2 Generic Wheel Mouse”
Option “Protocol” “explorerps/2”
Option “Vendor” “Sysp”
Option “ZAxisMapping” “4 5”
EndSection

Then i changed protocol lines ( same result )

Section “InputDevice”
Driver “mouse”
Identifier “Mouse0”
Option “Buttons” “5”
Option “Device” “/dev/input/mice”
Option “Name” “ImPS/2 Generic Wheel Mouse”
Option “Protocol” “imps/2”
Option “ZAxisMapping” “4 5”
EndSection

I also try to start kernel with bootparameter

psmouse.proto=bare

or

psmouse.resetafter=5

No success.
Now i dont know wich logfiles to read or what to trace.
I think i can reach PC with gone mouse / keyboard over another pc in network
( not tried yet )

This is a very strange bug. When i directly plug same mouse into a free USB port the problem went away under 11.3 RC 1. But all hardware must be ok
because it work on ANY other OS even under OpenSuse 11.1 on the very same PC. So adaptor / mouse cant be defect.
For me it looks like a xserver problem.

Thanks for any help.

What brand & name of USB optical wheel mouse?

On 11.3 RC1 I have no xorg.conf, and my wired optical mouse connected with USB>PS/2 connector is working. Therefore X must have automatically configured and loaded the appropriate driver.

I assume you haven’t installed 11.2. I don’t have 11.1, so this is what I have working for my optical mouse in SaX generated xorg.conf on 11.2:

Section "InputDevice"
  # Driver "mouse" will be disabled unless 'Option "AutoAddDevices" "off"' 
  # is set in "ServerFlags" section. 
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImPS/2 Generic Wheel Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"

Note the comment above about the mouse driver, so this is my “ServerFlags” section:

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
  Option       "ZapWarning" "on"
EndSection

So in 11.2 my “mouse” driver is probably disabled and X is loading the necessary driver. I can only suggest that is also the outcome you should try to achieve on 11.3 RC1.

You could try running with the mouse driver statement(s) commented out in your 11.3 RC1 xorg.conf, but leave your Mouse(0) section in place as the ServerLayout section probably refers to it.

Hello again :slight_smile:

Mouse is a Microsoft Wheel Mouse Optical 1.1a

And yes first there wasn’t a xorg.conf on 11.3 RC 1
I read that xserver now try to configure nearly anything automaticaly and so xorg.conf isnt there by default, but you can create one if you like ( maybe for finetuning i think? )
So i created one with Xorg -configure and did some tests with it
I dont have 11.2 installed so i miss the maybe very important comment

Section “InputDevice”

Driver “mouse” will be disabled unless ‘Option “AutoAddDevices” “off”’

is set in “ServerFlags” section.

At the moment i am under 11.1 but i now will try this “AutoAddDevices” “off”
in the serverflags section.
After some tests i write results here
Thanks for the help

Hello,

i tried “AutoAddDevices” “off”’ in serverflags section and the protocols

Option “Protocol” “explorerps/2”
and
Option “Protocol” “imps/2”
in the mouse input device section but no success … >:(

Very, very strange because it works fine in any other OS including OpenSuse 11.1

when i find a solution i will post it here.

Thanks for the help
:slight_smile:

Little update …
Still not solved the strange problem but found some trace in the /var/log/message file

kernel: 367.935112] psmouse.c: Wheel Mouse at isa0060/serio1/input0 lost synchronization, throwing 3 bytes away.

I dont find this sync problem in my OpenSuse 11.1 logfiles

Looks like massive reading lies ahead … lol!

Hi !

I do have the same problem since running 11.2. Same messages in /var/log/messages and same behaviour as already described. My keyboard sometimes stops responding, too.

In 11.1 the mouse worked fine. I think the problem was introduced with 11.2 and I suspect the problem to be located in the kernel.

My mouse is connected via KVM switch (10m cable) but no parity errors are shown in /var/log/messages. Using a USB mouse, the problem does not show up. All other PCs using the same KVM switch (Win2K3, WinXP, OpenSuse 11.1) are happy with the mouse.

Any hints or fixes, yet ?

Michael

Hello!

Stil no fix found yet … :stuck_out_tongue:
The Problem exist in other Distros too as i read in some articles.
Maybe it is a problem with the Xorg server.
I dont find any messages in logfiles now. The synchro error is gone. Nothing else found.
When i simply unpulg USB mouse from USB->PS2 convertor and place it in any USB slot … the error is gone. Keyboard works fine in ps2 then with no problem. But i need the mouse in good old DOS6.22 lol!
Very nasty … >:)
Any expert who can write how to track this nasty error? Any tools maybe?
Any help is very welcome. Thanks!