Summary: | touchpad button won't work after switching off once | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | bmhm <bmhm> | ||||||||||||||||
Component: | Input/synaptics | Assignee: | Peter Hutterer <peter.hutterer> | ||||||||||||||||
Status: | RESOLVED INVALID | QA Contact: | |||||||||||||||||
Severity: | normal | ||||||||||||||||||
Priority: | medium | CC: | bmhm | ||||||||||||||||
Version: | 7.4 (2008.09) | ||||||||||||||||||
Hardware: | All | ||||||||||||||||||
OS: | Linux (All) | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||||
Attachments: |
|
Description
bmhm
2009-05-16 06:42:00 UTC
Created attachment 25906 [details]
excerpt of Xorg.0.log
Created attachment 25907 [details]
output of 'xmodmap -pk
Created attachment 25908 [details]
system specs as from ubuntu-bug
Created attachment 25909 [details]
setxkbmap
Bug entry in Launchpad: https://bugs.launchpad.net/xorg-driver-synaptics/+bug/374459 Please download http://people.freedesktop.org/~whot/evtest.c, compile it with "gcc -o evtest evtest.c" and then run it as root with "./evtest /dev/input/eventX" where X is the number for the device. You can get the number by looking at /proc/bus/input/devices. When the touchpad works,you should get the events as you use it. When the touchpad does not work, do you still see events? (btw. please do not attach excerpts of a log. In most cases, these excerpts are missing vital information) Created attachment 26007 [details] full output of evtest > When the touchpad works,you should get the events as you use it. I'm afraid not. I found out that my touchpad uses event9. But I get an error just when the events should be comming. > When the touchpad does not work, do you still see events? Same as above, so just one file. > > When the touchpad works,you should get the events as you use it.
> I'm afraid not. I found out that my touchpad uses event9. But I get an error
> just when the events should be comming.
Oh sorry. I forgot that synaptics grabs the device. You need to VT switch
away and then run evtest from the tty. While X is running you'll get the
device information but not the events.
Hi, well it's very confusing to me what actually has happened. ------------------- TP=Touchpad TPL= Touchpadbutton's LED aka Touchpad lock 1.) TPbutton working, TPL off output: events 2.) TPbutton pressed. TPL on. output: none 3.) TPbutton pressed. TPL off. output: none 4.) TPbutton pressed. TPL on modprobe -r psmouse; modprobe psmouse output: events - on x the TP wouldn't work now 5.) TPbutton pressed. TPL off. output: events - on x the TP starts operating as the lock is gone 6.) TPbutton pressed. TPL on. output: none. 7.) TPbutton pressed. TPL off. modprobe... output: events 8.) TPbutton pressed. TPL on output: none Seems pretty much like a hardware lock to me, but why do I see events after reloading psmouse when the TP should be locked (#4)? On the other hand, if it were a software issue, why does it handle it correctly on step 4 to 5 in X? Hope I got all combinations. If you need more info, just tell me. Also, there is a full Xorg.0.log on launchpad. Regards and thanks for helping. Not an X bug, needs to be fixed in the kernel. On a guess, I'd say that it's only a hardware lock for the LED, not for the touchpad itself. And the kernel doesn't (or can't?) query the state of the lock. And it seems the kernel may not get the "on" event, only the "off" event. Hence this weird sequence of events. Only guessing here though. Either way, there's nothing we can do in the X drivers until we get the right sequence of events. Allright, filed at kernel's bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=13363 What's confusing to me is, that I always get an keycode. I just found out that the touchpad started working again after a while. I'm not sure how to reproduce, but this means it might not be a harware issue. Or maybe it resuming late. I got this message when switching off again: kernel: [ 6499.100541] psmouse.c: TouchPad at isa0060/serio2/input0 lost sync at byte 1 Created attachment 26112 [details]
new messages and working touchpad
ok, I'd need to you to do the following: tail -f /var/log/Xorg.0.log (assuming this is your running X.log) tail -f /var/log/messages then switch the touchpad off and on again. wait until you see something in messages about the device being there again, at this point the X log should print a message too ("touchpad found"). Once this message is printed, does the touchpad work? unfortunately, the touchpad driver isn't very chatty and doesn't print much when the connection is lost. ping? any update on this? Yes, on linux kernel bugs, they said it's been fixed. However, wasn't able to test it yet. see here https://bugs.launchpad.net/ubuntu/+source/xfree86-driver-synaptics/+bug/374459 and here http://bugzilla.kernel.org/show_bug.cgi?id=13363 Vielen Dank! Thanks for helping! (Setting to invalid, since this is not a xorg-bug). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.