Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 182484
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ronne <ronne_toledo@pop.com.br>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dmesg.log dmesg Log messages text/plain Ronne 2007-06-18 17:20 0000 17.21 KB Details
lspci.log lspci -vv messages text/plain Ronne 2007-06-18 17:21 0000 8.42 KB Details
lshw.log lswh - List of hardware text/plain Ronne 2007-06-18 17:22 0000 11.64 KB Details
proc-bus-input-devices.log hardware connected in the bus - cat /proc/bus/input/devices text/plain Ronne 2007-06-18 17:23 0000 909 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 182484 depends on: Show dependency tree
Bug 182484 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-18 17:18 0000
Hi guys, I getting almost crazy trying fix this problem. I have already google
it and try every single fix to this bug but I couldn't fix it. So, I hope
somebody could help me on that.
That is the problem:
I have this mouse, USB-PS2 Logitech optical mouse (model: M-BJ58) attached to
my laptop. It is a Compaq Presario 1700 laptop. I recently installed
Linux-gentoo-2.6.20-r8. Every thing went smoothly until I pluged the usb mouse.
I already had the synaptics mouse working but I prefer work with the normal
mouse. The system recognize the mouse and after configure the X11-Xorg properly
(I think) when I move the mouse very slowly the pointer move but with a weird
motion, like jumping along the direction of the motion. And if a move the it
fast I couldn't even see the pointer, they just jump around the whole screen.
Fix that I had already tried:
Make sure the hotplug is working.
Several different configuration of the kernel, like complie the USB, USB-HID,
HID, PS-MOUSE etc... as modules or as kernel modules (*.o or *.ko)
Several different configuration of the X11-Xorg. 
add udev rule to link the hardware to a specific path. 
etc... 
pretty much every fix that I could find, I tried, but noting worked.
Curios thinks:
If I use the gentoo Live-CD the same behavior happens, but if I use the ubunto
Live-CD, the mouse works just fine.
When I cat the synaptics mouse the characters on the screen appear in a
smoothly way, but cat the usb mouse, the characters appears in the screen in a
weird manner, like much slower and like jumping behavior, similar in what
happens with the mouse behavior. 

I don't know why or how it works but the system is linking both mouse, the
synaptics and the usb to the same device, /dev/input/mice. Therefore I am using
the event or mouse path to configure the Xorg. My mouse configuration in the
xorg is:

Section "InputDevice"
        Identifier  "Logitech"
        Driver      "evdev"
        Option      "Device" "/dev/input/mouse1"
        Option "Protocol" "ExplorerPS/2"
EndSection

Section "InputDevice"
   Driver       "synaptics"
   Identifier   "TouchPad"
   Option       "Device"        "/dev/input/mouse0"
   Option       "Protocol"      "SynPS/2"
(More options not relevant)
EndSection

All kinds of Protocol or Device or driver I already had tried. but the behavior
is the same of even worst (ex. when I use the mouse driver), some times the
freeze, other times the synaptics doesn't work, or just the usb doesn't work.
The last config it is the most stable one. My guess is the the driver assign
for the hardware (USB Optical mouse) is not the properly one. I think that
because the weird behavior of the mouse is evident in a layer before the Xorg
even start, for example, when I cat the USB mouse device. So, that is my
description, somebody brave enough to help me out?
Thanks in advanced.

Reproducible: Always

Steps to Reproduce:
1.Reboot the system
2.Start the X and gnome


Actual Results:  
The mouse acct weird, since the beginning, even on the logon screen.

------- Comment #1 From Ronne 2007-06-18 17:20:47 0000 -------
Created an attachment (id=122420) [details]
dmesg Log messages

------- Comment #2 From Ronne 2007-06-18 17:21:26 0000 -------
Created an attachment (id=122422) [details]
lspci -vv messages

------- Comment #3 From Ronne 2007-06-18 17:22:18 0000 -------
Created an attachment (id=122423) [details]
lswh - List of hardware 

------- Comment #4 From Ronne 2007-06-18 17:23:40 0000 -------
Created an attachment (id=122425) [details]
hardware connected in the bus - cat /proc/bus/input/devices

------- Comment #5 From Mike Pagano 2007-06-21 18:45:25 0000 -------
Can you test with kernel sources 2.6.22-rc5?

This is the latest stable prepatch as of this comment.

A note on bugzilla states that much USB work was done in 2.6.22-rc4.

------- Comment #6 From Ronne 2007-06-21 21:50:55 0000 -------
(In reply to comment #5)
> Can you test with kernel sources 2.6.22-rc5?
> 
> This is the latest stable prepatch as of this comment.
> 
> A note on bugzilla states that much USB work was done in 2.6.22-rc4.
> 

How do I install Kernel Sources 2.6.22-rc5 ?

It not show up when I try to emerge it. 

emerge gentoo-sources -s

*  sys-kernel/gentoo-sources
      Latest version available: 2.6.20-r8
      Latest version installed: 2.6.20-r8
      Size of files: 42,597 kB
      Homepage:      http://dev.gentoo.org/~dsd/genpatches
      Description:   Full sources including the Gentoo patchset for the 2.6
kernel tree
      License:       GPL-2

------- Comment #7 From Mike Pagano 2007-06-22 01:29:25 0000 -------
These links should help you:

http://www.reactivated.net/weblog/archives/2007/04/using-ketchup-to-quickly-install-kernel-sources/
http://gentoo-wiki.com/HOWTO_Compile_a_Kernel_Manually
http://gentoo-wiki.com/HOWTO_Install_kernel_sources_manually

------- Comment #8 From Ronne 2007-06-22 05:00:27 0000 -------
BANG!!!! BANG BANG !!!

Problem solved.

I compiled the Kernel-2.6.21-r5 and guess what, it works. Thank you guys for
all suggestions. I guess there was some problem with the USB and the udev in
the kernel that I was using (2.6.20-r8). It is just a guess based in what I
did:

1st:
I ran the Ubuntu Live CD (my mouse worked just fine with the Ubunto Live CD)
and I figured out what was the kernel on that live CD (Kernel 2.6.12-r9). Than
I download the Kernel 2.6.12-r6 sources from kernel.org (they don't have
2.6.12-r9, I think that is a specific version for Ubunto distro), and installed
it. 
Result: The mouse didn't work either. Therefore the problem wasn't something
else additional to the kernel, probably wasn't the kernel et all. My second
guess was with the udev package. I checked and compared the rules from the
Ubunto Live CD and the one installed on my computer. I even copied the udev
rules from the Ubunto CD to my system and tested with that, guess what? didn't
work either. 

Finally I downloaded, compiled and installed the Kernel 2.6.21-r5 from the
Kernel.org. I configured the kernel as simple as possible, with only support
for the hardware on my computer. Most of the things as a built-in (not module).
And guess what IT WORKS!!!!!

So many hours working on that, you guys can image how happy I am. Was a leaning
experience. Thank you guys, see you next time... 
Best
RT




Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug