WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: SOLVED - Xorg.conf for Asus eee PC 1000HE?  (Read 5975 times)

Offline BobTarragon

  • Newbie
  • *
  • Posts: 13
SOLVED - Xorg.conf for Asus eee PC 1000HE?
« on: August 04, 2009, 06:33:06 PM »
Has anyone got Xorg working on an eee 1000HE?

I need conky to see battery status but it flickers in Vesa so I need Xorg. I've tried the instructions in the Xorg-7.4 TCZ extension, then an Xorg.conf from the eeeuser forum but they don't work.
« Last Edit: August 05, 2009, 05:00:38 PM by BobTarragon »

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Xorg.conf for Asus eee PC 1000HE?
« Reply #1 on: August 05, 2009, 03:31:48 AM »
Is this one of those 1024x600 resolutions? Have you tried the 915resolution extension?
On several eeePC machines the 916resolution provided good results together with our standrd Vesa tinyX. All that is typically needed is to place the 915resolution extension in your extension directory.
10+ Years Contributing to Linux Open Source Projects.

Offline BobTarragon

  • Newbie
  • *
  • Posts: 13
Re: Xorg.conf for Asus eee PC 1000HE?
« Reply #2 on: August 05, 2009, 06:55:07 AM »
Yes, the screen is 1024x600 and I am already using the 915resolution extension which works very well in Vesa. I'll have another go at Xorg tonight and post the specific error messages.

Offline BobTarragon

  • Newbie
  • *
  • Posts: 13
Re: Xorg.conf for Asus eee PC 1000HE?
« Reply #3 on: August 05, 2009, 02:59:19 PM »
I am on an Asus 1000HE with TCL 2.2 booted from an SD card in Xvesa at 1024x600 using the 915resolution extension.
Installed Xorg-4.7.tczl and then Exit to Prompt.
sudo su
Xorg -configure
X -config /root/xorg.conf.new

The screen goes black and then returns to the root console.
Attached is /var/log/Xorg.0.log which complains about agpgart toward the end. Everything else before that looked fine (to me...).

I've tried the same without the 915resolution (starting from Xvesa at 800x600 stretched) with the same result.

In the forum there was a mention of an agp-intel module, is that what I need? Where from?
I managed to get DSL to run with Xorg (after some mild wrestling) but that was a few years ago so I could do with some help please.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Xorg.conf for Asus eee PC 1000HE?
« Reply #4 on: August 05, 2009, 03:03:36 PM »
Did you install graphics-2.6.29.1-tinycore.tczm ?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline BobTarragon

  • Newbie
  • *
  • Posts: 13
Re: Xorg.conf for Asus eee PC 1000HE?
« Reply #5 on: August 05, 2009, 03:58:00 PM »
:) I've come back to report that I needed to install graphics-2.6.29.1-tinycore.tczm. I bet it was installed before but somehow it wasn't loaded... anyway I'm one step further ahead.

Now I get a black screen with the Xorg cross mouse cursor but JWM does not start.

I keep trying...

Edit: I have added
/usr/local/bin/Xorg -nolisten tcp &
to ~/.xsession and
sleep 4
on the next line (as suggested by roberts in another post).

Xorg is running now !! I'll write this up...
« Last Edit: August 05, 2009, 04:05:21 PM by BobTarragon »

Offline BobTarragon

  • Newbie
  • *
  • Posts: 13
Re: Xorg.conf for Asus eee PC 1000HE?
« Reply #6 on: August 05, 2009, 04:27:21 PM »
 :-\ Xorg works fine now but my reason to get it working was to prevent conky from flickering. Unfortunately conky was: "Compiled to match xlibs in base tc, hence no double-buffering"
Oh well, I'll keep Xorg for other reasons then.
Thanks for the pointers roberts and bmarkus.

Offline BobTarragon

  • Newbie
  • *
  • Posts: 13
Re: Xorg.conf for Asus eee PC 1000HE?
« Reply #7 on: August 05, 2009, 05:00:06 PM »
So in summary, here are the steps to get Xorg working in TCL 2.2 on an Asus eee 1000HE:

Install 915resolution extension
Add 915resolution 50 1024 600 32 to /opt/bootlocal.sh

Install graphics-2.6.29.1-tinycore extension

Install Xorg-7.4.tczl extension and follow its instructions:

Drop to text mode, get a root console (sudo su), and then Xorg -configure

At this point it's best to get back to the xvesa mode with startx so that files can be edited and copied without the need to use the console and so that the changes get backed up when rebooting.

Copy /root/xorg.conf.new to /etc/X11/xorg.conf (I used emelfm for doing this.)

Open /etc/X11/xorg.conf in an editor with root access (e.g. sudo leafpad /etc/X11/xorg.conf)
Change the InputDevice section to include the Option line with your country code.
  Section "InputDevice"
      Identifier  "Keyboard0"
      Driver      "kbd"
      Option      "XkbLayout" "uk"
   EndSection
Add the following to the end of the file:
  Section "DRI"
      Group "staff"
      Mode 0666
   EndSection

   Section "Extensions"
      Option "Composite"
   EndSection


Now edit /home/tc/.xsession to replace the X line with Xorg -dpi 80 -nolisten tcp &
The -dpi 80 gives a font size similar to what xvesa has.

Add xorg.conf to /opt/.filetool.lst by clicking the Desktop, Tools/Add to Filetools and browsing to the file in /etc/X11.

Reboot making sure you backup your settings.
It will take a few seconds longer but you will get Xorg with accelerated graphics.
« Last Edit: August 05, 2009, 06:27:40 PM by BobTarragon »

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: SOLVED - Xorg.conf for Asus eee PC 1000HE?
« Reply #8 on: August 05, 2009, 05:22:41 PM »
Just a few misc. comments:

Add /usr/local/sbin/915resolution 50 1024 600 32 to /opt/bootlocal.sh
Leaving out the (/usr/local/sbin) path is fine, as of TC v2.0/1.4.1

Quote
Copy /root/xorg.0.conf to /etc/X11/xorg.conf (I used emelfm for doing this.)
I think this is /root/xorg.conf.new

Quote
Now edit /home/tc/.xsession to replace the X line with /usr/local/bin/Xorg -nolisten tcp &
about the same thing about the path here

Quote
and then add on the next line sleep 4
As of TC 2.1, this shouldn't be required (uses waitforX)

Quote
Add /etc/X11/xorg.conf to /opt/filetool.lst
Remember that the first / should not be included

Offline BobTarragon

  • Newbie
  • *
  • Posts: 13
Re: SOLVED - Xorg.conf for Asus eee PC 1000HE?
« Reply #9 on: August 05, 2009, 06:11:18 PM »
Thanks for the comments, I will update my post accordingly.

I've added the "sleep 4" after I got a black screen when testing with X -config /root/xorg.conf.new  thinking that jwm was started too early but it turned out from the forum that this test does not start jwm. I've then rebooted with the sleep 4 in place and Xorg+jwm started not because of this line but because jwm was started... it's easy to make wrong assumptions  :-[

I have also added -dpi 80 to the Xorg command.
« Last Edit: August 05, 2009, 06:20:17 PM by BobTarragon »