I have managed to set the resolution on my 901 to 1024x600 under Xvesa.
In order to do this, the 915resolution utility need to be patched and recompiled so that it will be able to recognize the chipset used in 901.
The following are the steps I used to get the 915resolution utility to work:
- Install compiletc.tce
- Download the current version of 915resolution, 0.5.3, here
- Extract and patch 915resolution.c
- Compile and create a TCE app
This is the patch for 901:
--- 915resolution-0.5.3/915resolution.c Sun Apr 15 18:46:56 2007
+++ 915resolution-0.5.3.new/915resolution.c Wed Apr 1 14:58:47 2009
@@ -210,6 +210,7 @@
break;
case 0x27a08086:
+ case 0x27ac8086:
type = CT_945GM;
break;
These are the commands I used to create the TCE app:
cd <build dir>
make
sudo cp 915resolution /usr/local/sbin/
tar cvzf 915resolution.tce /usr/local/sbin/915resolution
After installing the new TCE, run the following code:
sudo /usr/local/sbin/915resolution 50 1024 600
Note that the 640x480 entry is overwritten with this command.
Run the xsetup.sh and you should be able to see the 1024x600 entry.
Enjoy.
Update:
Running the 915resolution command under bootlocal.sh doesn't work unless you restart Xvesa after booting.
To solve this issue, an init script is needed for the TCE. The following are the commands I've used to create a modified TCE:
cat >/usr/local/tce.installed/915resolution<<EOF
#!/bin/sh
/usr/local/sbin/915resolution 50 1024 600
EOF
chmod a+x /usr/local/tce.installed/915resolution
tar cvzf 915resolution.tce /usr/local/sbin/915resolution /usr/local/tce.installed/915resolution
This will ensure that the video bios is updated early on before Xvesa is run.