One downside of this might be, that other hooks/sleep_modules are
interested in the quirk information. So they'd have to reparse the
command line arguments.

Actually, I was intending to just do that:
Do the video quirk processing in uswsup. Imo it makes no sense to use
vbetools when s2ram is already installed. So my plan was to add a
[ $SLEEP_METHOD = "uswsusp" ] && return
to 99video and simply pass the correct command line arguments to s2ram.

But probably it's not a big deal, if I have to parse the --quirk-*
command line arguments in module.d/uswsusp. So I'd say this change is
ok.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to