[Pm-utils] Improve 98smart-kernel-video
mbiebl at gmail.com
Tue Oct 27 00:37:50 PDT 2009
the current 98smart-kernel-video shell script is imho overly
complicated and actual error prone.
E.g. have_kms checks for
[ -d /sys/class/drm/card0/device/graphics/fb0 ] || return 1
and then removes all quirks.
But any framebuffer driver (like radeonfb or vesafb) creates that
directory, and removing the quirks will lead to failing suspends.
I had a lengthy irc discussion on #irc (see ) and as result I
propose the following patch:
change have_kms and grep for noveaufb|drmfb in /proc/fb
Patch is attached.
If there are no complaints, I'm going to commit this patch and intend
to apply it to the Debian pm-utils package.
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1423 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20091027/11986046/attachment.bin
More information about the Pm-utils