Oh, what a bloody mess! What I wrote above works fine, till the first suspend/resume cycle. Read here
https://bugzilla.redhat.com/show_bug.cgi?id=439386#c65 for gory details.
Anyway, adding
- Code: Select all
Section "ServerFlags"
Option "AutoAddDevices" "no"
EndSection
works as a workaround. Be aware, that you need to have a well working xorg.conf for this to be of any value, because you effectively turn off the ability of xserver to autoconfigure devices, so you may run into some annoing issues. But it finally works.
Just for the record - Sabayon developers did nothing wrong here, so do not blame them. It's a mess caused by xorg guys. They should be red with shame, as far as my feelings go.