(T61)Ext-vga in Linux with 'intel' driver.

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
tylerwylie
Junior Member
Junior Member
Posts: 475
Joined: Wed Dec 19, 2007 5:40 pm
Location: Champaign, IL
Contact:

(T61)Ext-vga in Linux with 'intel' driver.

#1 Post by tylerwylie » Wed Dec 19, 2007 7:59 pm

Has anyone gotten this to work? I've gotten it to the point that the displays will both turn on the backlight, but remain black, and then my system will hang and I have to do a hard reboot.


I've tried multiple auto-configuration tools in Ubuntu and Fedora, and manually pushing one together via the ThinkWiki website to no avail.

I've tested ext-vga just fine in Windows(ugh) XP so the hardware seems to be working.

MOD EDIT: Moved to linux forum.

tylerwylie
Junior Member
Junior Member
Posts: 475
Joined: Wed Dec 19, 2007 5:40 pm
Location: Champaign, IL
Contact:

#2 Post by tylerwylie » Wed Jan 02, 2008 8:42 pm

Bump :oops:
Samuel Adams wrote:The natural liberty of man is to be free from any superior power on Earth, and not to be under the will or legislative authority of man, but only to have the law of nature for his rule.

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#3 Post by lightweight » Fri Jan 04, 2008 12:51 am

What's your xorg.conf? Please use the code tags when posting. Already tried xrandr? http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

tylerwylie
Junior Member
Junior Member
Posts: 475
Joined: Wed Dec 19, 2007 5:40 pm
Location: Champaign, IL
Contact:

#4 Post by tylerwylie » Fri Jan 04, 2008 5:44 pm

lightweight wrote:What's your xorg.conf? Please use the code tags when posting. Already tried xrandr? http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
I tried the xrandr howto with modifying my xorg.conf and it would not work. Using system-config-display and a lot of other manual configurations would cause my system to lock up when starting X.

Here's my generic xorg.conf

Code: Select all

Section "ServerLayout"
»·Identifier     "Default Layout"
»·Screen      0  "Screen0" 0 0
»·InputDevice    "Keyboard0" "CoreKeyboard"
»·InputDevice    "Synaptics" "CorePointer"
EndSection

Section "InputDevice"
»·Identifier  "Keyboard0"
»·Driver      "kbd"
»·Option»·    "XkbModel" "pc105"
»·Option»·    "XkbLayout" "us+inet"
EndSection

Section "InputDevice"
»·Identifier  "Synaptics"
»·Driver      "synaptics"
»·Option»·    "Device" "/dev/input/mice"
»·Option»·    "Protocol" "auto-dev"
»·Option»·    "Emulate3Buttons" "yes"
EndSection

Section "Device"
»·Identifier  "Videocard0"
»·Driver      "intel"
»·Option»·    "monitor-TV"  "TV"
#        Option      "NoDRI"
EndSection
Section "Monitor"
»·Identifier  "TV"
»·Option »    "Ignore" "True"                                                                                                                
EndSection
Section "Screen"
»·Identifier "Screen0"
»·Device     "Videocard0"
»·DefaultDepth     24
»·SubSection "Display"
»·»·Viewport   0 0
»·»·Depth     24
»·»·Virtual»  2048 2048
»·EndSubSection
EndSection

Samuel Adams wrote:The natural liberty of man is to be free from any superior power on Earth, and not to be under the will or legislative authority of man, but only to have the law of nature for his rule.

RealBlackStuff
Admin
Admin
Posts: 17512
Joined: Mon Sep 18, 2006 5:17 am
Location: Mt. Cobb, PA USA
Contact:

#5 Post by RealBlackStuff » Fri Jan 04, 2008 10:35 pm

Have you tried the Intel drivers from www.intellinux.org ?
Lovely day for a Guinness! (The Real Black Stuff)

Check out The Boardroom for Parts, Mods and Other Services.

miketl
Posts: 32
Joined: Sun Oct 07, 2007 1:15 am
Location: Chicago, IL

#6 Post by miketl » Mon Jan 07, 2008 10:18 am

I have it working on my X61s.

xorg.conf:

Code: Select all

Section "Files"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"	"/dev/input/mice"
#	Option		"Protocol"	"ImPS/2"
	Option		"ZAxisMapping"	"4 5"
	Option		"Emulate3Buttons"	"true"

	# MTL TrackPoint:
	Option		"Protocol" "ExplorerPS/2"
	Option		"EmulateWheel" "on"
	Option		"EmulateWheelButton" "2"
	Option		"EmulateWheelTimeOut" "200"
	Option		"Emulate3TimeOut" "50"
	Option		"YAxisMapping" "4 5"
	Option		"XAxisMapping" "6 7"

EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"	"/dev/psaux"
	Option		"Protocol"	"auto-dev"
	Option		"HorizEdgeScroll"	"0"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"	"stylus"
	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"	"eraser"
	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"	"cursor"
	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"Intel GM965/GL960"
	Boardname	"intel"
	Busid		"PCI:0:2:0"
	Driver		"intel"
	Screen	0
EndSection

Section "Monitor"
	Identifier	"Laptop panel"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel GM965/GL960"
	Monitor		"Laptop panel"
	SubSection "Display"
		Virtual 1280 1792
		Depth	24
		Modes	"1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	screen		0 "Default Screen" 0 0
	Inputdevice	"Generic Keyboard"
	Inputdevice	"Configured Mouse"
	
	# Uncomment if you have a wacom tablet
	#	InputDevice     "stylus"	"SendCoreEvents"
	#	InputDevice     "cursor"	"SendCoreEvents"
	#	InputDevice     "eraser"	"SendCoreEvents"
	Inputdevice	"Synaptics Touchpad"
EndSection

Section "Module"
	Load		"glx"
	Load		"GLcore"
	Load		"v4l"
EndSection

Section "ServerFlags"
EndSection
Here's the script that I wrote to enable the VGA port:

Code: Select all

#!/bin/sh

xrandr=/usr/bin/xrandr

add1024 () {
	$xrandr --addmode VGA 1024x768
}

add1280 () {
	$xrandr --addmode VGA 1280x1024
}

laptopMode () {
	$xrandr --output LVDS --mode $1
}

projectorOff () {
	$xrandr --output VGA --off
	laptopMode 1024x768
}

projectorOn () {
	$xrandr --output VGA --mode $1 --rate 65 --$2 LVDS
	laptopMode $3
}

clone1024 () {
	add1024
	projectorOn 1024x768 same-as 1024x768
}

dual1024 () {
	add1024
	projectorOn 1024x768 above 1024x768
}

clone1280 () {
	add1280
	projectorOn 1280x1024 same-as 1280x1024
}

dual1280 () {
	add1280
	projectorOn 1280x1024 above 1024x768
}

doMenu () {
	echo "0. Projector off"
	echo "1. 1024x768  - clone"
	echo "2. 1024x768  - dual"
	echo "3. 1280x1024 - clone"
	echo "4. 1280x1024 - dual"
	read -p "Select a display mode [1]: " selection
	doAction $selection
}

doAction () {
	if [ "$1" = "0" ]; then projectorOff
	elif [ "$1" = "1" -o "$1" = "" ]; then clone1024
	elif [ "$1" = "2" ]; then dual1024
	elif [ "$1" = "3" ]; then clone1280
	elif [ "$1" = "4" ]; then dual1280
	else echo "Invalid action specified."
	fi
}

if [ "$#" = "0" ]
	then doMenu
	else doAction $1
fi
Maybe you can adapt this stuff to suit your needs. One thing to consider is if you use Compiz, you need your virtual screen size to be under 2048x2048 in dual-head mode. It's not as much of an issue in clone mode.
ThinkPad X61s // 7668-CTO

tylerwylie
Junior Member
Junior Member
Posts: 475
Joined: Wed Dec 19, 2007 5:40 pm
Location: Champaign, IL
Contact:

#7 Post by tylerwylie » Mon Jan 07, 2008 11:57 am

Will your xorg.conf do Xinerama?
Samuel Adams wrote:The natural liberty of man is to be free from any superior power on Earth, and not to be under the will or legislative authority of man, but only to have the law of nature for his rule.

miketl
Posts: 32
Joined: Sun Oct 07, 2007 1:15 am
Location: Chicago, IL

#8 Post by miketl » Tue Jan 08, 2008 9:44 am

Not sure, I don't have any experience with Xinerama.
ThinkPad X61s // 7668-CTO

corsac
Posts: 49
Joined: Thu Jun 14, 2007 1:58 pm
Location: Paris, France

#9 Post by corsac » Tue Jan 08, 2008 2:41 pm

Xinerama is deprecated in favor of XRandR in recent xorg releases.

tylerwylie
Junior Member
Junior Member
Posts: 475
Joined: Wed Dec 19, 2007 5:40 pm
Location: Champaign, IL
Contact:

#10 Post by tylerwylie » Tue Jan 08, 2008 2:53 pm

So how do I use xrandr to extend the desktop instead of just clone? That's all I get when I use the Thinkwiki page.
Samuel Adams wrote:The natural liberty of man is to be free from any superior power on Earth, and not to be under the will or legislative authority of man, but only to have the law of nature for his rule.

tylerwylie
Junior Member
Junior Member
Posts: 475
Joined: Wed Dec 19, 2007 5:40 pm
Location: Champaign, IL
Contact:

#11 Post by tylerwylie » Thu Jan 10, 2008 1:12 am

I got xrandr to finally extend my desktop, via adding the "NoDRI" option to my intel card.

One last issue I have is my monitor is flashing "Out of Range" due to the rate i suppose, here's what I get from xrandr -q

Code: Select all

% xrandr -q
Screen 0: minimum 320 x 200, current 2720 x 1024, maximum 2720 x 2048
VGA connected 1280x1024+1440+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      75.0*+   76.0     75.0     70.9     59.9  
   1152x864       75.0     74.8  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
   640x350        70.1  
LVDS connected 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
   1440x900       60.0*+   50.0  
   1360x768       59.8     60.0  
   1280x800       60.0  
   1152x864       60.0  
   1280x768       60.0  
   1280x720       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        60.0     59.9  
TMDS-1 disconnected (normal left inverted right x axis y axis)
How can I tell xrandr to run at 59.9 for just the one monitor? I tried xrandr --rate 60 and it blacked out my LVDS.
Samuel Adams wrote:The natural liberty of man is to be free from any superior power on Earth, and not to be under the will or legislative authority of man, but only to have the law of nature for his rule.

tylerwylie
Junior Member
Junior Member
Posts: 475
Joined: Wed Dec 19, 2007 5:40 pm
Location: Champaign, IL
Contact:

#12 Post by tylerwylie » Thu Jan 10, 2008 1:23 am

Solved by just switching it out with a different monitor.
Samuel Adams wrote:The natural liberty of man is to be free from any superior power on Earth, and not to be under the will or legislative authority of man, but only to have the law of nature for his rule.

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#13 Post by lightweight » Fri Jan 11, 2008 7:38 am

Sorry for miaing your thread after asking for your conf. You could set HorizSync and VertRefresh for a second monitor in xorg.conf if you wanted. But if it ain't broke...
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 2 guests