Saturday, March 22, 2008

R60 laptop and projector display

To have the R60 Laptop be able to display with the projector while being able to view the laptop screen I have some suggestions for Linux Ubuntu (Gutsy 7.10) and CentOS 5.1.

Firstly, Gutsy detected and is using an Intel experimental driver for the 945. CentOS detected the driver as Intel i810.

There are three methods that you may want to try out. Please do drop me a comment if it works on other distros or record here if you have problems.

1) Modify xorg.conf file
Modify the options for the graphical device in the /etc/X11/xorg.conf file. Make sure the file have a backup.
1.1) Linux Ubuntu
a) vi /etc/X11/xorg.conf
From:
Section "Device"
Identifier "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
EndSection

To:
Section "Device"
Identifier "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
Option "MonitorLayout" "NONE,LFP+CRT"
Option "DevicePresence" "true"
Option "CheckLid" "false"
EndSection

Save the file.

b) Plugin the projector and reboot.

1.2) Linux CentOS 5
a) vi /etc/X11/xorg.conf
Find the section "Device" and edit to include the BusID and the 3 options. They are self explainatory.

Section "Device"
Identifier "Videocard0"
Driver "i810"
BusID "PCI:0:2:0"
Option "MonitorLayout" "NONE,LFP+CRT"
Option "DevicePresence" "true"
Option "CheckLid" "false"
EndSection

Save the file.

b) Logout and plugin the projector. If you still cant see the displays, then reboot without the projector plugged in. Plug in when at the login screen.



2) Restarting X
Based on my postings to ubuntuforums titled "HOWTO GUTSY: Laptop dual display with projector/external screen" (Oct 20, 2007). Those who do not want to touch the xorg.conf file can do the following:


a) Start Gutsy and stay at the login screen or Press Ctrl+Alt+Backspace
b) Plug in the external display cable
c) Log-in and you can see the two screens. Play a movie and it appears on the external screen.

Next problem, You have watched the movie on the external screen now you want to remove the external screen and resume work as normal. This includes watching movies on the laptop.
a) Logout and remove the external screen cable.
b) At the login screen press Ctrl+Alt+Backspace
c) Login
d) Play a movie and it appears on the laptop screen.

3. Using command line.
For those who love to just make scripts or give command lines, I suggest using xrandr. However, if you have modified the xorg.conf file, the command may not always work.

a) Login as a normal user. Open a terminal to issue commands.
b) Plugin the external display cable (projector)
c) Type any of the following relevant lines:

xrandr --output VGA --auto
xrandr --output VGA --mode 800x600 --auto
xrandr --output VGA --mode 1024x768 --auto

d) To stop the projection, type

xrandr --output VGA --off

#end

2 comments:

Abdullah Zainul Abidin said...

Nice one.. I've got something on xrandr too if you're interested. See it at: http://hitechrojak.blogspot.com/2008/03/switching-display-modes-on-laptop-using.html

javieth said...

The motherboard as the laptop for me must to be efficient, quality and of course with a reasonable price. This is similar when i usually see to costa rica homes for sale i think is the best option in the market if you want to know a beautiful country and to a get a house quality.