Bug 134690

Summary: Trust optical ps/2 mouse goes off at kernel boot (laser ligth goes off)
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Egidio Trovati <egidiot>
Component: KernelAssignee: Vojtech Pavlik <vojtech>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: PC   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Patch to fix the turning off of the mouse

Description Egidio Trovati 2005-11-21 16:09:10 UTC
Dear Novell I got a bug with my Trust optical ps/2 mouse that I beleve is a kernel driver issue. 

The problem is this: once grub start the kernel after few records I see the red ligth (laser) of my mouse turn off and the mouse is not more available. 

In order to get back work the mouse I must re-plug the ps/2 connector soon after the problem occured. 

If I follow this strange procedure to boot my PC everything works very well. 

Here is the xorg.conf of my mouse:

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Device" "/dev/input/mice"
Option "Name" "IMPS/2"
Option "Protocol" "imps/2"
Option "Vendor" "PS/2-Mouse"
Option "ZAxisMapping" "4 5"
EndSection

With windows os I do not have this bug and windows use his propetary driver Microsoft for standard ps/2 mouse.

My PC is a PIV ASUS P4B533 with 1GB of memory.

I will be happy to work with in order to fix this problem.

SUSE LINUX is the best distro that I know.
THANK YOU.
Comment 1 Olaf Kirch 2005-11-21 18:54:36 UTC
You're welcome :-)

Vojtech, this is for you I guess.
Comment 2 Vojtech Pavlik 2005-11-21 22:39:59 UTC
Some cheap optical mice seem to react to the PSMOUSE_RESET_DIS command.
If you edit /usr/src/linux/drivers/input/mouse/psmouse-base.c and either
comment out the uses of this command or replace them with PSMOUSE_RESET_BAT,
does it help?

Note: If you don't know how to compile your own kernel or edit C code, I can
make a kernel RPM for you to test.

Another, quicker, experiment would be to try to put "psmouse.proto=bare" on
the kernel command line to see if it helps.
Comment 3 Egidio Trovati 2005-11-22 06:44:13 UTC
In reply to comment #2

Yes the mouse is a cheap one :).

I can not edit that line becouse on my suse 10.0 I dont have src kernels and more I should not be able to do it ( I have never done before).

If you make a kernel rpm for me I will test it within 8 hours.

THANK YOU

Comment 4 Egidio Trovati 2005-11-22 20:22:24 UTC
Vojtech Pavlik wrote:  

> Note: If you don't know how to compile your own kernel or edit C code, I can
make a kernel RPM for you to test.

Yes Vojtech please if you give me the RPM I am ready to test it.

In the forum where I am member there are other people with my same kind of mouse and sync problem.

Once fixed this bug I can report to others how resolve this issue.

Thank You.
Comment 5 Egidio Trovati 2005-11-26 16:35:09 UTC
in replay to comment #2

I don't know if it helps, I tryed to some work around and I discovered that if I run the boot CD dynebolic (I have an old version) the mouse works at 50% only wheel is out.

With suse at boot time (blue screen), I selected f2 option and i tryed the command psmouse.proto=bare I don't know if that is the correct procedure to send kernel command.

Let me know.
:)
Comment 6 Egidio Trovati 2005-11-27 09:28:51 UTC
in replay my comment 5

Other work around with last version of dynebolic 1.4.1 the mouse is perfect.

The system boot ok and mouse works. buttons, whell all ok
Comment 7 Vojtech Pavlik 2005-12-18 09:40:59 UTC
Created attachment 61327 [details]
Patch to fix the turning off of the mouse

This patch should fix the problem with the mouse turning
off (I'll make a test RPM sometime later)
Comment 8 Vojtech Pavlik 2006-01-10 14:14:16 UTC
The patch is now in SuSE's kernel CVS head, so grab a kernel RPM from

     ftp://ftp.suse.com/pub/projects/kernel/kotd/i386/HEAD/

tomorrow or so, and it'll have the patch.