Re: appletouch quirk doesn't run at resume
- From: Thomas Meyer <thomas@xxxxxxxx>
- Date: Wed, 28 Mar 2007 18:51:52 +0200
Dmitry Torokhov schrieb:
On 3/28/07, Jiri Kosina <jikos@xxxxxxxx> wrote:This was my first idea, too. But then i found this entry in the
On Tue, 27 Mar 2007, Thomas Meyer wrote:
It seems, that after the resume all usb devices gets removed andplug in
again (virtually!). This results in a new input device name:
Yes, this is what actually happens. JFYI see current thread on lkml
which
is a bit realted - http://lkml.org/lkml/2007/3/27/149 if interested.
This change confuses the X synaptics driver:
Touchpad no synaptics event device found (checked 11 nodes)
Touchpad The /dev/input/event* device nodes seem to be missing
(EE) xf86OpenSerial: Cannot open device /dev/input/event2
No such file or directory.
(WW) Touchpad: cannot open input device
One could say that the synaptics driver rightly complains about the
missing event2 device! So is this a bug in the X synaptics driver?
You can of course work this around by adding an udev rule such as
SUBSYSTEM=="input",KERNEL=="event*",SYSFS{name}=="appletouch",SYMLINK+="input/appletouchpad"
and the let Xorg use /dev/input/appletouchpad, which will always be a
symlink to the correct device.
Changelog of the synaptics driver:
- In the DeviceOn() function, if opening the device node fails, try to
auto-detect the correct event device again. This fixes some problems
which occur after a suspend/resume cycle or after rmmod/insmod-ing
the psmouse kernel driver.
Okay. This strengthens above statement. And udev is too slow to create
I am not sure if this would help... According to the excerpt from X
log synaptics driver attempted to scan evdev devices and locate the
touchpad. However if this scan happen before udev had a chance to
process the event and create new /dev/input/eventX device node it will
fail.
the devices, while the driver already scanned the directory.
I wonder if we should adjust the X driver to spin for a couple of
seconds in EventAutoDevProbe if the touchpad was already seen once...
Peter?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: appletouch quirk doesn't run at resume
- From: Jiri Kosina
- Re: appletouch quirk doesn't run at resume
- References:
- Linux 2.6.21-rc4
- From: Linus Torvalds
- Re: Linux 2.6.21-rc4
- From: Thomas Gleixner
- [PATCH] clockevents: Fix suspend/resume to disk hangs
- From: Thomas Gleixner
- Re: [PATCH] clockevents: Fix suspend/resume to disk hangs
- From: Thomas Meyer
- appletouch quirk doesn't run at resume
- From: Adrian Bunk
- Re: appletouch quirk doesn't run at resume
- From: Jiri Kosina
- Re: appletouch quirk doesn't run at resume
- From: Thomas Meyer
- Re: appletouch quirk doesn't run at resume
- From: Jiri Kosina
- Re: appletouch quirk doesn't run at resume
- From: Thomas Meyer
- Re: appletouch quirk doesn't run at resume
- From: Jiri Kosina
- Re: appletouch quirk doesn't run at resume
- From: Dmitry Torokhov
- Linux 2.6.21-rc4
- Prev by Date: fs/block_dev.c:953: warning: 'found' might be used uninitialized in this function
- Next by Date: Re: Linux 2.6.21-rc5
- Previous by thread: Re: appletouch quirk doesn't run at resume
- Next by thread: Re: appletouch quirk doesn't run at resume
- Index(es):
Relevant Pages
|