Hi all, This could be a problem with Ubuntu's sysfs namings, but I was finding that libkms was failing in linux_from_sysfs() when it failed to detect that my driver's name was 'i915', not 'intel' as it currently is in the code.
I've attached a patch that corrects this to detect things named 'i915'. (if its proper to correct via a patch, not a sysfs entry) With this patch on my Intel 4500HD on Ubuntu Linux, I can run modetest successfully.
Cheers, Kevin DuBois kdub432@gmail.com