* evdev* devices change major/minors after suspend/resume (udev?)
@ 2007-04-11 9:20 Soeren Sonnenburg
2007-04-11 15:01 ` thomas
0 siblings, 1 reply; 2+ messages in thread
From: Soeren Sonnenburg @ 2007-04-11 9:20 UTC (permalink / raw)
To: Linux Kernel
Dear all,
I wonder how one (from the userspace side) should deal with the case
that evdev devices disappear after resume and reappear under a different
name/different major/minor (i.e. evdev1 can become evdev4).
The application in mind scans all evdev devices, opens the ones matching
certain properties and then processes events on them.
Now the problem is that after resume devices disappear, so the
application rescans+reopens the evdev's BUT some of the evdevs are just
not available right after resume but appear at some point later in time.
Is there a way to wait till all evdev's are recreated / ask for udev to
settle ? Or what is the proposed way of dealing with that ?
Very concrete it is this evdev that may be missing... and just FYI this
also seems to cause trouble in Xorg - sometimes the appletouch mouse is
not yet back...
/dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-event-kbd -> ../event5
Any hints welcome,
Soeren
--
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: evdev* devices change major/minors after suspend/resume (udev?)
2007-04-11 9:20 evdev* devices change major/minors after suspend/resume (udev?) Soeren Sonnenburg
@ 2007-04-11 15:01 ` thomas
0 siblings, 0 replies; 2+ messages in thread
From: thomas @ 2007-04-11 15:01 UTC (permalink / raw)
To: Soeren Sonnenburg; +Cc: Linux Kernel
Zitat von Soeren Sonnenburg <kernel@nn7.de>:
>
> Very concrete it is this evdev that may be missing... and just FYI this
> also seems to cause trouble in Xorg - sometimes the appletouch mouse is
> not yet back...
>
>
/dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-event-kbd
> -> ../event5
>
> Any hints welcome,
See also this discussion thread:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0703.3/0988.html
But there is no solution for this problem right now.
with kind regards
thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-11 15:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-11 9:20 evdev* devices change major/minors after suspend/resume (udev?) Soeren Sonnenburg
2007-04-11 15:01 ` thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox