Comment 64 for bug 292256

Revision history for this message
In , Yves-Alexis Perez (corsac) wrote :

Not sure if that's the same bug or another one, but yes, 98smart-kernel-video wrongly detects KMS:

http://cgit.freedesktop.org/pm-utils/tree/pm/sleep.d/98smart-kernel-video#n31

uses /sys/class/drm/card0/device/graphics/fb0 which is present on my x31 with radeon card and radeonfb (and no KMS at all, I'm on 2.6.30).

I'm not sure there's an easy way to detect a running KMS kernel. Checking /sys/module/i915/parameters/modeset might help, but only on intel systems with i915 as a module.

Cheers,