Attached is 855resolution-0.3.ebuild. 855resolution (http://perso.wanadoo.fr/apoirier/) is a program by Alain Poirier that allows owners of various Intel 855 graphics card (found in many newer laptops) to change the resolution modes that their cards report. Many people, myself included, have laptops with an LCD screen native to a resolution of 1400x1050, while our Intel 855 graphics cards do not let X.org/XFree86 know that they are capable of operating in such a mode. 855resolution modifies the card's video RAM and replaces an existing useless mode with any mode the user wants. For example I can replace 1600x1200 (which I don't use) with the vital 1400x1050.
Since it modifies video RAM, the changes go away upon reboot, so I've also made an init script to go with the ebuild.
I do not know which category this program belongs in. My first guess was media-gfx, but I'm sure you can find some better place.
Created attachment 40931 [details]
Created attachment 40932 [details]
Init config for 855resolution.
Created attachment 40933 [details]
Init script for 855resolution.
Created attachment 40934 [details]
init.d file correction
Init script for 855resolution. Corrected typo.
Created attachment 41511 [details]
init.d file correction #2
Corrected some short-thinkedness in the previous version of the init script. My
mind must've skipped a beat or something as I wrote that retval=$? line without
thinking that a failed n'th mode and a successful m'th (where m>n) would result
in an eend 0 ;-)
Attached ebuild, config file and init script worked well for me.
Very nice! I just got a Dell 700m, and thanks to this ebuild, I'm able to get 1280x800 resolution to work.
Bump... about time someone threw this into Portage? Just remembered this today
when I read about some Ubuntu people complaining about the missing 1400x1050
mode, only to notice Ubuntu has 855resolution in its package system.
We can't let them outdo us, now can we?!
I see now that media-gfx probably was a horrible choice of category, by the way.
Created attachment 61383 [details]
Version bump. 855resolution 0.4 has been released.
The ebuild is a trivial update to version 0.4. The program itself appears to
have been rewritten from 0.3 to 0.4, so you may want to try it with caution. I
did not experience any problems with it.
The function and operational syntax of the program remains the same, so the old
init.d and conf.d files are good.
I'll happily maintain this package ebuild, as I have a dell inspiron 700m, which
uses the 855GME.
Give me a couple minutes to incorporate your conf.d and init.d files into the
ebuild I had written (boo to me for not checking bugs.gentoo.org *first*), and
I'll upload the ebuild (after some more testing).
Thanks for the ebuild/conf.d/init.d files!
You can now find sys-apps/855resolution in portage.