WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Xvesa 1024x600 on eeepc 901  (Read 5536 times)

Offline kinsa

  • WikiUser
  • *
  • Posts: 5
Xvesa 1024x600 on eeepc 901
« on: April 01, 2009, 04:53:36 AM »
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: [Select]
--- 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:
Code: [Select]
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:
Code: [Select]
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:
Code: [Select]
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.
« Last Edit: April 01, 2009, 06:06:10 PM by kinsa »

Offline simon.tinycore

  • WikiUser
  • *
  • Posts: 15
  • No MSoft allowed
    • My Blog
Re: Xvesa 1024x600 on eeepc 901
« Reply #1 on: April 06, 2014, 05:50:53 AM »
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

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6830
Re: Xvesa 1024x600 on eeepc 901
« Reply #2 on: April 06, 2014, 06:37:46 AM »
Hi simon.tinycore
Have you tried using the existing 915resolution.tcz? From the 915 info file:
Quote
2009/04/15 patched for eeepc

Offline simon.tinycore

  • WikiUser
  • *
  • Posts: 15
  • No MSoft allowed
    • My Blog
Re: Xvesa 1024x600 on eeepc 901
« Reply #3 on: April 06, 2014, 08:25:10 AM »
No I haven't.

Will try to do it.

Regards

Offline simon.tinycore

  • WikiUser
  • *
  • Posts: 15
  • No MSoft allowed
    • My Blog
Re: Xvesa 1024x600 on eeepc 901
« Reply #4 on: April 06, 2014, 08:38:33 AM »
sudo /usr/local/sbin/915resolution -l

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

Regards

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Xvesa 1024x600 on eeepc 901
« Reply #5 on: April 06, 2014, 08:47:39 AM »
Read the info file.  You must define an additional mode.

Offline simon.tinycore

  • WikiUser
  • *
  • Posts: 15
  • No MSoft allowed
    • My Blog
Re: Xvesa 1024x600 on eeepc 901
« Reply #6 on: April 06, 2014, 08:52:53 AM »
What I did after googling:

I was able to change the entries by :

1. sudo /usr/local/sbin/915resolution 38 1024 600

2. This changed the entries to include my resolution

Then I logged out to prompt. ran the 915resolution command and restarted x

Now I have to do it on every boot.

Thanks

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1703
Re: Xvesa 1024x600 on eeepc 901
« Reply #7 on: April 06, 2014, 08:58:31 AM »
Maybe put it in your /opt/bootlocal.sh (without sudo)
Code: [Select]
/usr/local/sbin/915resolution 38 1024 600

As a possible alternative, on my netbook (not eeepc) with intel graphics chip I'm not using 915resolution.tcz but instead extlinux bootloader does it for me:
Code: [Select]
UI vesamenu.c32
MENU RESOLUTION 1024 600
...
Download a copy and keep it handy: Core book ;)