Tiny Core Extensions > TCE Tips & Tricks

Xvesa 1024x600 on eeepc 901

(1/2) > >>

kinsa:
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:

--- Code: ------ 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;
 

--- End code ---

These are the commands I used to create the TCE app:

--- Code: ---cd <build dir>
make
sudo cp 915resolution /usr/local/sbin/
tar cvzf 915resolution.tce /usr/local/sbin/915resolution

--- End code ---

After installing the new TCE, run the following code:

--- Code: ---sudo /usr/local/sbin/915resolution 50 1024 600

--- End code ---

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:

--- Code: ---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

--- End code ---

This will ensure that the video bios is updated early on before Xvesa is run.

simon.tinycore:
Thankyou for this information.

How do you apply a patch to the source code. I have saved your code in a file called patch.txt

Thankyou

Rich:
Hi simon.tinycore
Have you tried using the existing 915resolution.tcz? From the 915 info file:

--- Quote ---2009/04/15 patched for eeepc
--- End quote ---

simon.tinycore:
No I haven't.

Will try to do it.

Regards

simon.tinycore:
sudo /usr/local/sbin/915resolution -l

gives me a number of modes available
None of them are for 1024 x 600

Regards

Navigation

[0] Message Index

[#] Next page

Go to full version