Re: FC4-t2 & Dell i6000: VESA only video and no sound

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 21 Apr 2005 07:34:08 -0700, Paul Dickson wrote:

> On Thu, 21 Apr 2005 13:30:55 +0200, Thorsten Leemhuis wrote:
> 
> > > I'm using FC4-test2 on my week-old Inspiron 6000 notebook.  So far I can
> > > only use a 1024x768 VESA display on my 1280x800 i915 hardware.
> > 
> > If it's a 915GM try this driver:
> > 
> > ftp://aiedownload.intel.com/df-support/8211/eng/
> > 
> > The driver is not in FC4 yet (as afaik it won't be in it). Note, the
> > driver contains a tar.gz that is extracted and installed during %pre ;
> > Not very nice... Install kernel-devel before installing the intel rpm.
> 
> Thanks, works very well.

Digging a little deeper... (everything works except after a yum update)

As far as I can tell, the above RPM only does 4 things:

1) Renames /lib/modules/$(uname -r)/kernel/drivers/char/drm/i915.ko
   to old.i915.ko.old and the same name with the current date.

Because of compiling errors, no replacement modules are created.
Restoring this file has no effect that that I can see, although it is
loaded.

2) Copies <tarfile>/XOrg/GL/libGL.so.1.2 to /usr/X11R6/lib/

3) Copies <tarfile>/XOrg/i915/i810_drv.o to
   /usr/X11R6/lib/modules/drivers/

4) Copies <tarfile>/XOrg/i915/i915_dri.so to
   /usr/X11R6/lib/modules/dri/

I'm not sure this is entirely all that the RPM is doing, but it's a
start.  I'll test further after the next release of xorg RPMs, which seem
to be almost daily daily.

I got rhgb working again by copying the VESA xorg.conf to /etc/rhgb.
Using /etc/X11/xorg.conf, xorg has a fatal error ("libc_wrapper error:
passed invalid FILE handle to xf86fputc").  If someone wants the
XFree86.0.log file with the error recorded, just ask (it's 21 KB).

Both xorg.conf files are attached (vesa and i915).

	-Paul

# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "dri"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "LCD Panel 1280x800"
	HorizSync    31.5 - 90.0
	VertRefresh  60.0 - 60.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "vesa"
	VendorName  "Videocard vendor"
	BoardName   "VESA driver (generic)"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

# File adapted by Paul Dickson


Section "ServerLayout"
	Identifier     "single head configuration"
	Screen         "screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load "dbe" # Double-Buffering Extension
	Load "v4l" # Video for Linux
	Load "extmod"
#	Load "fbdevhw"
	Load "glx" # 3D layer
#	Load "/usr/X11R6/lib/modules/extensions/libglx.a"
	Load "record"
	Load "freetype"
	Load "type1"
	Load "dri"
EndSection

Section "ServerFlags"
#	DontZap		# disable <Crtl><Alt><BS> (server abort)
	AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#	DontZoom	# disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
	Option	    "XkbOptions" "ctrl:nocaps"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
	Identifier   "monitor0"
	VendorName   "Generic"
	ModelName    "Flat Panel 1280x800"
	HorizSync    31.5-90
	VertRefresh  60

	# Dell D800 and few Inspiron (16/10) 1280x800
	ModeLine "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848

	# TV fullscreen mode or DVD fullscreen output.
	# 768x576 @ 79 Hz, 50 kHz hsync
	ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

	# 768x576 @ 100 Hz, 61.6 kHz hsync
	ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
	Identifier  "device0"
	Driver      "i810"
	Option      "DPMS"
EndSection

Section "Screen"
Identifier "screen0"
Device "device0"
Monitor "monitor0"
DefaultColorDepth 24
    
	Subsection "Display"
		Depth 8
		Virtual 1280 800
	EndSubsection

	Subsection "Display"
		Depth 15
		Virtual 1280 800
	EndSubsection

	Subsection "Display"
		Depth 16
		Virtual 1280 800
	EndSubsection

	Subsection "Display"
		Depth 24
		Virtual 1280 800
	EndSubsection
EndSection

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]