Page MenuHomeFreeBSD

New graphics/intel-backlight port
ClosedPublic

Authored by grembo on Jul 5 2015, 11:03 PM.

Details

Summary

Taken from intel-gpu-tool, intel-backlight allows reading and
adjusting the current backlight level on many modern intel
GPUs, regardless of proper X driver support.

Test Plan

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

grembo updated this revision to Diff 6714.Jul 5 2015, 11:03 PM
grembo retitled this revision from to New graphics/intel-backlight port.
grembo updated this object.
grembo edited the test plan for this revision. (Show Details)
grembo added reviewers: bapt, flo.
grembo edited the test plan for this revision. (Show Details)Jul 5 2015, 11:08 PM
bapt edited edge metadata.Jul 6 2015, 9:32 AM

Maybe the plist is a bit useless here:

PLIST_FILES= bin/intel_backlight
PORTEXAMPLES= isl_backlight.sh

Should do the same thing.

grembo updated this revision to Diff 6725.Jul 6 2015, 10:04 AM
grembo edited the test plan for this revision. (Show Details)
grembo edited edge metadata.

Stop wasting inodes.

bapt accepted this revision.Jul 6 2015, 11:25 AM
bapt edited edge metadata.
This revision is now accepted and ready to land.Jul 6 2015, 11:25 AM
This revision was automatically updated to reflect the committed changes.
wblock added a subscriber: wblock.Jul 6 2015, 2:42 PM
wblock added inline comments.
head/graphics/intel-backlight/pkg-descr
10

Use of sudo assumes the user has security/sudo installed. They might not, though, because the port does not depend on it. Might be better to change the examples to show a root prompt, and (optionally) mention the root requirement:

Usage (as root):

  1. intel-backlight ...