Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2002 18:55:26 +0100
From:      "Petr Holub" <hopet@ics.muni.cz>
To:        <freebsd-mobile@freebsd.org>
Subject:   ASUS T9400 status
Message-ID:  <002e01c196db$521f6d00$2603fb93@kloboucek>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi all!

I've summarized what I've done on my ASUS T9400 notebook to work
with FreeBSD 4.4. All the text is in HTML in the attachement.
It might be convenient for somebody since it required some 
patching...

At the end of the text there's a summary of what's not working.
If somebody has some clue how to go on I'll appreciate it.

With best wishes for year 2002!

Petr

================================================================
                            Petr Holub
CESNET z.s.p.o.                       Supercomputing Center Brno
Zikova 2                             Institute of Compt. Science
10200 Praha, CZ                               Masaryk University
Czech Republic                     Botanicka 68a, 60200 Brno, CZ 
e-mail: Petr.Holub@cesnet.cz              phone: +420-5-41512278
                                       e-mail: hopet@ics.muni.cz  
 
[-- Attachment #2 --]
<html>
<head>
<title>FreeBSD 4.4 on ASUS T9400 notebook</title>
</head>
<body>

<h1><center>FreeBSD 4.4 on ASUS T9400 notebook<br>by<br><a href="hopet@ics.muni.cz">Petr Holub</a></center></h1>

<h2>Table of contents</h2>
<ol>
<li><a href="kap1">General information on installation</a>
<li><a href="kap2">Kernel</a>
<li><a href="kap3">System config</a>
<li><a href="kap4">XFree86</a>
<li><a href="kap_o">What remains to be done</a>
</ol>

<a name="kap1"><h1>General information on installation</h1></a>

<p>Information on notebook:</p>
<ul>
   <li><b>brand/model:</b> ASUS T9400
   <li><b>purchase location:</b> Czech Republic, Europe
   <li><b>manufacturer:</b> <a href="http://www.asus.com.tw/">ASUS</a>;
   <li><b>manufacturer's info on this model:</b> <a href="http://www.asus.com.tw/notebook/t9000/overview.htm">ASUS T9000 series site</a>
   <li><b>manufacturer's support site:</b> <a href="http://gsm.asus.com.tw/">http://gsm.asus.com.tw/</a>; and <a href="http://www.asus.com.tw/download/notebook/nb-t9000.htm">http://www.asus.com.tw/download/notebook/nb-t9000.htm</a>;
</ul>

<p>Information on software installed:</p>
<ul>
   <li><a href="http://www.freebsd.org/">FreeBSD 4.4</a></li> <li><a
      href="http://www.sfc.wide.ad.jp/DVTS/">DVTS</a>: dvts-0.9a21 and
      kernel driver for IEEE 1394 (FireWire) from this package</li>
   <li><a href="http://www.xfree86.org/">XFree86 4.1.0</a></li>
   <li><a href="http://www.goof.com/pcg/">pgcc-2.95.2.1</a>; 
      (installed as binary package from FreeBSD package
      distribution site)</li>
</ul>

<a name="kap2"><h1>Kernel</h1></a>

<h2>Kernel config</h2>

<p>For kernel compilation (and almost all other compilations too) I'm
using pgcc-2.95.2.1. Therefore some optimization options in the kernel
config are included (<tt>makeoptions</tt> statement).</p>

<pre>
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.34 2001/08/12 13:13:46 joerg Exp $

machine		i386
cpu		I686_CPU
ident		KLOBOUCEK
maxusers	32

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
#makeoptions     CONF_CFLAGS="-DPCI_ENABLE_IO_MODES -DPCI_DEBUG"
makeoptions     CONF_CFLAGS="-mcpu=pentiumpro -march=pentiumpro -DPCI_ENABLE_IO_MODES -DPCI_ENABLE_MEM_MODES"

options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, NFS required
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options		NTFS
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

device		isa
device		pci
device		agp

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
# device		sa		# Sequential Access (tape etc)
# device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device		apm0    at nexus? flags 0x20 # Advanced Power Management
# device		apm0

# PCCARD (PCMCIA) support
device		card
device		pcic0	at isa? irq 0 port 0x3e0 iomem 0xd0000
device		pcic1	at isa? irq 0 port 0x3e2 iomem 0xd4000 disable

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		sio2	at isa? disable port IO_COM3 irq 5
device		sio3	at isa? disable port IO_COM4 irq 9

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		rl		# RealTek 8129/8139

# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attachment needed
# and resources will always be dynamically assigned by the pccard code.
device		wi

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	sl	1	# Kernel SLIP
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device	gif		# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		uscanner	# Scanners

# samba client
options		SMBFS			#SMB/CIFS filesystem
options		NETSMB			#SMB/CIFS requester
options		NETSMBCRYPTO		#encrypted password support for SMB
options		LIBMCHAIN		#mbuf management library
options		LIBICONV

# FIREWIRE
options N1394
device lynx
device ilink
device fwohci

# SigmaTel AC97 
device pcm
</pre>

<h2>IEEE 1394 (FireWire)</h2>

<p>Because OHCI based card in the notebook is not recognized by DVTS drivers and because lazy BIOS does no memory allocation for this card I've created following patches for this. If you have any comments or ideas don't hesitate to <a href="mailto:hopet@ics.muni.cz">e-mail me</a>.</p>

<h3>FireWire patches for card identification</h3>

<p>Followin two patches are for recognition of the OHCI using its ID.</p>

<pre>
--- fwohcireg.h	Sun Jan  6 10:52:18 2002
+++ fwohcireg.h.orig	Sun Jan  6 10:51:26 2002
@@ -57,6 +57,7 @@
 #define		FW_DEVICE_TI_TSB12LV23		0x8019
 #define		FW_DEVICE_TI_TSB12LV26		0x8020
 #define		FW_DEVICE_TI_TSB43AA22		0x8021
+#define		FW_DEVICE_TI_TSB43AA99		0x8027
 
 /* SONY */
 #define		FW_DEVICE_SONY_CXD3222		0x8039
</pre>

<pre>
--- fwohci.c	Sun Jan  6 10:52:04 2002
+++ fwohci.c.orig	Sun Jan  6 10:51:15 2002
@@ -258,6 +258,9 @@
                                 case FW_DEVICE_TI_TSB43AA22:
                                         device_set_desc(dev, "Texas Instruments TSB43AA22");
                                         return 0;
+                                case FW_DEVICE_TI_TSB43AA99:
+                                        device_set_desc(dev, "Texas Instruments TSB43AA99");
+                                        return 0;
 				default:
 					break;
 			}
</pre>

<h3>fwohci patch for PCI memory allocation</h3>
<p>Because of lazy BIOS we need to do PCI memory allocation for OHCI interface 
on our own. Patch sent to freebsd-hackers and firewire mailling lists. Thanks
to Warner Losh for his PCCBB code in -CURRENT</p>

<pre>
--- fwohci.c.orig	Tue Dec 18 20:44:14 2001
+++ fwohci.c	Fri Dec 21 15:55:49 2001
@@ -357,6 +357,8 @@
 	volatile u_int32_t	cmd, fun, latency, cache_line;
 	u_int 		ch, i;
 	int rid;
+	u_int32_t sockbase;
+
 #ifdef __FreeBSD__
 #if 0
 	sc = &fwohci[unit];
@@ -398,10 +400,42 @@
 	rid = PCI_MAP_REG_START;
 	sc->fc.mem = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
 			          0, ~0, 1, RF_ACTIVE);
+
+/* This self-allocation is done using code by Warner Losh in -CURRENT (5.0)
+   from PCCBB code. Thanks Warner!
+   Petr Holub (hopet@ics.muni.cz) */
+
 	if (!sc->fc.mem) {
-		device_printf(dev, "could not map memory\n");
-		error = ENXIO;
-		goto fail;
+		device_printf(dev, "could not map memory - trying allocation on my own\n");
+		/* According to Windows 2000 */
+		#define FWOHCI_START_MEM 0xFFAFC000
+		/* According to Warner Losh's PCCBB */
+		/* #define FWOHCI_START_MEM 0x84000000 */
+		sockbase = pci_read_config(dev, rid, 4);
+		if (sockbase < 0x100000 || sockbase >= 0xfffffff0) {
+			pci_write_config(dev, rid, 0xffffffff, 4);
+			sockbase = pci_read_config(dev, rid, 4);
+			sockbase = (sockbase & 0xfffffff0) &
+			    -(sockbase & 0xfffffff0);
+			sc->fc.mem = bus_generic_alloc_resource(
+			    device_get_parent(dev), dev, SYS_RES_MEMORY,
+			    &rid, FWOHCI_START_MEM, ~0, sockbase,
+			    RF_ACTIVE|rman_make_alignment_flags(sockbase));
+			if (!sc->fc.mem){
+				device_printf(dev,
+				    "Could not grab register memory\n");
+				error = ENXIO;
+				goto fail;
+			}
+			pci_write_config(dev, PCI_MAP_REG_START,
+			    rman_get_start(sc->fc.mem), 4);
+			device_printf(dev, "PCI Memory allocated: %08lx\n",
+			    rman_get_start(sc->fc.mem));
+		} else {
+			device_printf(dev, "Could not map register memory\n");
+			error = ENXIO;
+			goto fail;
+		}
 	}
 	sc->base = rman_get_virtual(sc->fc.mem);
 #endif  /* __FreeBSD__ */
</pre>

<h2><tt>dmesg</tt> output</h2>

<pre>
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.4-RELEASE #5: Fri Jan  4 10:37:47 CET 2002
    toor@kloboucek.ics.muni.cz:/usr/src/sys/compile/KLOBOUCEK
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (902.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 267296768 (261032K bytes)
avail memory = 256188416 (250184K bytes)
Preloaded elf kernel "kernel" at 0xc03ff000.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 4 entries at 0xc00f1c20
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem 0xf7800000-0xf787ffff,0xf8000000-0xfbffffff irq 11 at device 2.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
rl0: <RealTek 8139 10/100BaseTX> port 0xd800-0xd8ff mem 0xf7000000-0xf70000ff irq 4 at device 4.0 on pci1
rl0: Ethernet address: 00:e0:18:2c:ea:6a
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcic0: <TI PCI-4451 PCI-CardBus Bridge> irq 11 at device 7.0 on pci1
pcic0: PCI Memory allocated: 0x44000000
pcic0: TI12XX PCI Config Reg: [speaker enable][FUNC pci int + CSC serial isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-4451 PCI-CardBus Bridge> irq 11 at device 7.1 on pci1
pcic1: PCI Memory allocated: 0x44001000
pcic1: TI12XX PCI Config Reg: [speaker enable][FUNC pci int + CSC serial isa irq]
pccard1: <PC Card bus (classic)> on pcic1
fwohci0: <Texas Instruments TSB43AA99> irq 11 at device 7.2 on pci1
pcilynx0: PCI bus latency was changing to 200.
fwohci0: could not map memory - trying allocation on my own
fwohci0: PCI Memory allocated: ffafc000
fwohci0: Link 1394a available S400, 1 ports.
fwohci: node 0x00000000
This host is NOT CYCLEMASTER
Attach the probed firewire I/F to fwiso0
isab0: <PCI to ISA bridge (vendor=8086 device=244c)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xb800-0xb80f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xb400-0xb41f irq 9 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xb000-0xb01f irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcm0: <Intel 82801BA (ICH2)> port 0xe100-0xe13f,0xe000-0xe0ff irq 10 at device 31.5 on pci0
pci0: <unknown card> (vendor=0x8086, dev=0x2446) at 31.6 irq 10
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: direction bit not set
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
BUS reset
fwohci: node 0x00000000
This host is CYCLEMASTER
ohci0 cable IRM = 0
ohci0 BMR = 0
IP channel assigned as 0x1f
ad0: 19077MB <TOSHIBA MK2018GAP> [38760/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s1a
ums0: ELECOM ELECOM USB Mouse with Wheel, rev 1.00/4.41, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
</pre>

<a name="kap4"><h1>System config</h1></a>

<h2><tt>/etc/rc.conf</tt></h2>

<pre>
defaultrouter="123.456.789.1"
hostname="test.abc.dummy.org"
ifconfig_rl0="inet 123.456.789.2 netmask 255.255.255.0"
kern_securelevel_enable="NO"
linux_enable="YES"
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
moused_flags="-3"
nfs_reserved_port_only="YES"
sendmail_enable="NO"
sshd_enable="YES"
usbd_enable="YES"
blanktime="60"
saver="matrix"
apm_enable="YES"
pccard_enable="YES"	# Set to YES if you want to configure PCCARD devices.
pccard_mem="DEFAULT"	# If pccard_enable=YES, this is card memory address.
pccard_beep="0"		# pccard beep type.
pccard_ifconfig="NO"	# Specialized pccard ethernet configuration (or NO).
pccardd_flags=""	# Additional flags for pccardd.
pccard_conf="/etc/defaults/pccard.conf"	# pccardd(8) config file
pccard_ether_delay=0   # Delay before trying to start dhclient in pccard_ether
</pre>

<a name="kap4"><h1>XFree86</h1></a>

<p>For running XFree86 4.1.0 on i815 chipset one needs to have
compiled <tt>device agp</tt> into the kernel and done <tt>./MAKEDEV
agpgart</tt> in <tt>/dev</tt> direcotory.</p>
<pre>
bash-2.05$ ls -l /dev/agpgart 
crw-------  1 root  wheel  148,   0  4 pro 14:01 /dev/agpgart
</pre>


<h2>Patch for i810 driver</h2>

<p>Because of terrible LCD flickering followig patch for i810 driver
from XFree86 4.1.0 is needed (it should be already included in current
development XFree86 tree).</p>

<pre>
--- i810_driver.c.orig	Mon Oct  1 15:24:07 2001
+++ xc/programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c	Fri Sep 21 18:49:45 2001
@@ -1006,10 +1006,17 @@
 {
    vgaHWPtr hwp;
    I810Ptr pI810;
+   unsigned temp;
 
    hwp = VGAHWPTR(pScrn);
    pI810 = I810PTR(pScrn);
    DoSave(pScrn, &hwp->SavedReg, &pI810->SavedReg, TRUE);
+
+   I810PrintErrorState(pScrn);
+   temp = INREG(MEMMODE);
+   temp |= 4;
+   OUTREG(MEMMODE, temp);
+   I810PrintErrorState(pScrn);
 }
</pre>

<p>If needed binary version can be downloaded from this site: <a href="i810_drv.o.gz">i810_drv.o.gz</a> and installed into <tt>/usr/X11R6/lib/modules/drivers/</tt> directory (or somewhere else if you have changed the default location).</p>

<h2><tt>/etc/X11/XF86Config</tt></h2>

<pre>
Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
        Option  "blank time"       "5"
        Option  "standby time"     "7"
        Option  "suspend time"     "10"
        Option  "off time"         "15"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath   "/usr/X11R6/lib/X11/fonts/latin2/misc/"
	FontPath   "/usr/X11R6/lib/X11/fonts/latin2/75dpi/"
	FontPath   "/usr/X11R6/lib/X11/fonts/latin2/100dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "pex5"
	Load  "record"
	Load  "xie"
        Load    "bitmap"
        Load    "freetype"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
        Load    "int10"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option "XkbLayout" "cz"
	Option "XkbOptions" "grp:shift_toggle,grp_led:scroll"
	Option "XkbModel" "pc105"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option      "Protocol" "auto"
	Option      "Device" "/dev/mouse"
        Option          "Buttons"               "5"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	UseModes     "ASUS"
	HorizSync    30-64
EndSection

Section "Modes"
	Identifier   "ASUS"
	Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777  806
EndSection

Section "Device"
        Option     "NoDDC"              	# [<bool>]
	Identifier  "Card0"
	Driver      "i810"
	VendorName  "Intel"
	BoardName   "i815"
	VideoRam	8132
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
	Identifier  "Card1"
	Driver      "vga"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Depth     8
		Modes	"1024x768"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes	"1024x768"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes	"1024x768"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes	"1024x768"
	EndSubSection
EndSection
</pre>

<h2>Info output</h2>
<pre>
XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: FreeBSD 4.2-BETA i386 [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Sat Jan  5 20:10:26 2002
(==) Using config file: "/etc/X11/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "cz"
(**) XKB: layout: "cz"
(**) Option "XkbOptions" "grp:shift_toggle,grp_led:scroll"
(**) XKB: options: "grp:shift_toggle,grp_led:scroll"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/latin2/misc/,/usr/X11R6/lib/X11/fonts/latin2/75dpi/,/usr/X11R6/lib/X11/fonts/latin2/100dpi/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "BlankTime" "5"
(**) Option "StandbyTime" "7"
(**) Option "SuspendTime" "10"
(**) Option "OffTime" "15"
(II) xf86ReadBIOS(f8000, e80, Buf, 2)-> 10 80 78 f8...
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.1
	XFree86 Video Driver: 0.4
	XFree86 XInput driver : 0.2
	XFree86 Server Extension : 0.1
	XFree86 Font Renderer : 0.2
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.4
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,1130 card 1043,1402 rev 11 class 06,00,00 hdr 00
(II) PCI: 00:02:0: chip 8086,1132 card 1043,1402 rev 11 class 03,00,00 hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card 0000,0000 rev 03 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,244c card 0000,0000 rev 03 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,244a card 1043,1402 rev 03 class 01,01,80 hdr 00
(II) PCI: 00:1f:2: chip 8086,2442 card 1043,1402 rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1f:4: chip 8086,2444 card 1043,1402 rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1f:5: chip 8086,2445 card 1043,1463 rev 03 class 04,01,00 hdr 00
(II) PCI: 00:1f:6: chip 8086,2446 card 1043,1406 rev 03 class 07,03,00 hdr 00
(II) PCI: 01:04:0: chip 10ec,8139 card 1043,1045 rev 10 class 02,00,00 hdr 00
(II) PCI: 01:07:0: chip 104c,ac42 card 0000,0000 rev 00 class 06,07,00 hdr 82
(II) PCI: 01:07:1: chip 104c,ac42 card 0000,0000 rev 00 class 06,07,00 hdr 82
(II) PCI: 01:07:2: chip 104c,8027 card 1043,1407 rev 00 class 0c,00,10 hdr 80
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.4
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (0:30:0), (0,1,1), BCTRL: 0x06 (VGA_EN is cleared)
(II) Bus 1 I/O range:
	[0] -1	0x0000d000 - 0x0000d0ff (0x100) IX[B]
	[1] -1	0x0000d400 - 0x0000d4ff (0x100) IX[B]
	[2] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]
	[3] -1	0x0000dc00 - 0x0000dcff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0xf4800000 - 0xf77fffff (0x3000000) MX[B]
(II) Bus 1 prefetchable memory range:
(II) Bus -1: bridge is at (0:31:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(0:2:0) Intel i815 rev 17, Mem @ 0xf8000000/26, 0xf7800000/19
(II) Addressable bus resource ranges are
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
	[0] -1	0xffafc000 - 0xffafffff (0x4000) MX[B]E
	[1] -1	0xf7000000 - 0xf7ffffff (0x1000000) MX[B]E
	[2] -1	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[3] -1	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[4] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[5] -1	0x0000e300 - 0x0000e3ff (0x100) IX[B]E
	[6] -1	0x0000e500 - 0x0000e5ff (0x100) IX[B]E
	[7] -1	0x0000e100 - 0x0000e1ff (0x100) IX[B]E
	[8] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[9] -1	0x0000b000 - 0x0000b0ff (0x100) IX[B]E
	[10] -1	0x0000b400 - 0x0000b4ff (0x100) IX[B]E
	[11] -1	0x0000b800 - 0x0000b8ff (0x100) IX[B]E
(II) PCI Memory resource overlap reduced 0xf7000000 from 0xf7ffffff to 0xf77fffff
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0xffafc000 - 0xffafffff (0x4000) MX[B]E
	[1] -1	0xf7000000 - 0xf77fffff (0x800000) MX[B]E
	[2] -1	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[3] -1	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[4] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[5] -1	0x0000e300 - 0x0000e3ff (0x100) IX[B]E
	[6] -1	0x0000e500 - 0x0000e5ff (0x100) IX[B]E
	[7] -1	0x0000e100 - 0x0000e1ff (0x100) IX[B]E
	[8] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[9] -1	0x0000b000 - 0x0000b0ff (0x100) IX[B]E
	[10] -1	0x0000b400 - 0x0000b4ff (0x100) IX[B]E
	[11] -1	0x0000b800 - 0x0000b8ff (0x100) IX[B]E
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0xffafc000 - 0xffafffff (0x4000) MX[B]E
	[6] -1	0xf7000000 - 0xf77fffff (0x800000) MX[B]E
	[7] -1	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[8] -1	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[9] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[10] -1	0x00000000 - 0x000000ff (0x100) IX[B]
	[11] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[12] -1	0x0000e300 - 0x0000e3ff (0x100) IX[B]E
	[13] -1	0x0000e500 - 0x0000e5ff (0x100) IX[B]E
	[14] -1	0x0000e100 - 0x0000e1ff (0x100) IX[B]E
	[15] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[16] -1	0x0000b000 - 0x0000b0ff (0x100) IX[B]E
	[17] -1	0x0000b400 - 0x0000b4ff (0x100) IX[B]E
	[18] -1	0x0000b800 - 0x0000b8ff (0x100) IX[B]E
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "pex5"
(II) Loading /usr/X11R6/lib/modules/extensions/libpex5.a
(II) Module pex5: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension X3D-PEX
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.13.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension RECORD
(II) LoadModule: "xie"
(II) Loading /usr/X11R6/lib/modules/extensions/libxie.a
(II) Module xie: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XIE
(II) LoadModule: "bitmap"
(II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Loading font Bitmap
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.1.9
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font FreeType
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Speedo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "i810"
(II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	Module class: XFree86 Video Driver
	ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.2
(II) I810: Driver for Intel i810 chipset: i810, i810-dc100, i810e, i815
(II) Primary Device is: PCI 00:02:0
(--) Chipset i815 found
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0xffafc000 - 0xffafffff (0x4000) MX[B]E
	[6] -1	0xf7000000 - 0xf77fffff (0x800000) MX[B]E
	[7] -1	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[8] -1	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[9] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[10] -1	0x00000000 - 0x000000ff (0x100) IX[B]
	[11] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[12] -1	0x0000e300 - 0x0000e3ff (0x100) IX[B]E
	[13] -1	0x0000e500 - 0x0000e5ff (0x100) IX[B]E
	[14] -1	0x0000e100 - 0x0000e1ff (0x100) IX[B]E
	[15] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[16] -1	0x0000b000 - 0x0000b0ff (0x100) IX[B]E
	[17] -1	0x0000b400 - 0x0000b4ff (0x100) IX[B]E
	[18] -1	0x0000b800 - 0x0000b8ff (0x100) IX[B]E
(II) resource ranges after probing:
	[0] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1	0xffafc000 - 0xffafffff (0x4000) MX[B]E
	[6] -1	0xf7000000 - 0xf77fffff (0x800000) MX[B]E
	[7] -1	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[8] -1	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[9] 0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[10] 0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[11] 0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[12] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[13] -1	0x00000000 - 0x000000ff (0x100) IX[B]
	[14] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[15] -1	0x0000e300 - 0x0000e3ff (0x100) IX[B]E
	[16] -1	0x0000e500 - 0x0000e5ff (0x100) IX[B]E
	[17] -1	0x0000e100 - 0x0000e1ff (0x100) IX[B]E
	[18] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[19] -1	0x0000b000 - 0x0000b0ff (0x100) IX[B]E
	[20] -1	0x0000b400 - 0x0000b4ff (0x100) IX[B]E
	[21] -1	0x0000b800 - 0x0000b8ff (0x100) IX[B]E
	[22] 0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[23] 0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.4
(++) I810(0): Depth 24, (--) framebuffer bpp 24
(==) I810(0): RGB weight 888
(==) I810(0): Default visual is TrueColor
(**) I810(0): Option "NoDDC"
(--) I810(0): Chipset: "i815"
(--) I810(0): Linear framebuffer at 0xF8000000
(--) I810(0): IO registers at addr 0xF7800000
(II) I810(0): I810CheckAvailableMemory: 208896k available
(**) I810(0): Will alloc AGP framebuffer: 8132 kByte
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): Monitor0: Using hsync range of 30.00-64.00 kHz
(WW) I810(0): Monitor0: using default vrefresh range of 43-72Hz
(II) I810(0): Clock range:  12.00 to 136.00 MHz
(II) I810(0): Not using default mode "640x350" (vrefresh out of range)
(II) I810(0): Not using default mode "640x400" (vrefresh out of range)
(II) I810(0): Not using default mode "720x400" (vrefresh out of range)
(II) I810(0): Not using default mode "640x480" (vrefresh out of range)
(II) I810(0): Not using default mode "640x480" (vrefresh out of range)
(II) I810(0): Not using default mode "640x480" (vrefresh out of range)
(II) I810(0): Not using default mode "800x600" (vrefresh out of range)
(II) I810(0): Not using default mode "800x600" (vrefresh out of range)
(II) I810(0): Not using default mode "1152x864" (hsync out of range)
(II) I810(0): Not using default mode "1280x960" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1280x1024" (hsync out of range)
(II) I810(0): Not using default mode "1280x1024" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1792x1344" (width requires unsupported line pitch)
(II) I810(0): Not using default mode "1792x1344" (width requires unsupported line pitch)
(II) I810(0): Not using default mode "1856x1392" (width requires unsupported line pitch)
(II) I810(0): Not using default mode "1856x1392" (width requires unsupported line pitch)
(II) I810(0): Not using default mode "1920x1440" (width requires unsupported line pitch)
(II) I810(0): Not using default mode "1920x1440" (width requires unsupported line pitch)
(II) I810(0): Not using default mode "1400x1050" (hsync out of range)
(II) I810(0): Not using default mode "1400x1050" (bad mode clock/interlace/doublescan)
(--) I810(0): Virtual size is 1024x768 (pitch 1024)
(**) I810(0): Mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(II) I810(0): Modeline "1024x768"   65.00  1024 1032 1176 1344  768 771 777 806 (null)
(==) I810(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.1
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.4
Symbol xf86InterpretEDID from module /usr/X11R6/lib/modules/libvbe.a is unresolved!
(==) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0xf7800000 - 0xf787ffff (0x80000) MS[B]
	[1] 0	0xf8000000 - 0xfbffffff (0x4000000) MS[B]
	[2] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[3] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[4] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[5] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[6] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[7] -1	0xffafc000 - 0xffafffff (0x4000) MX[B]E
	[8] -1	0xf7000000 - 0xf77fffff (0x800000) MX[B]E
	[9] -1	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[10] -1	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[11] 0	0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
	[12] 0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
	[13] 0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
	[14] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[15] -1	0x00000000 - 0x000000ff (0x100) IX[B]
	[16] -1	0x0000d800 - 0x0000d8ff (0x100) IX[B]E
	[17] -1	0x0000e300 - 0x0000e3ff (0x100) IX[B]E
	[18] -1	0x0000e500 - 0x0000e5ff (0x100) IX[B]E
	[19] -1	0x0000e100 - 0x0000e1ff (0x100) IX[B]E
	[20] -1	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[21] -1	0x0000b000 - 0x0000b0ff (0x100) IX[B]E
	[22] -1	0x0000b400 - 0x0000b4ff (0x100) IX[B]E
	[23] -1	0x0000b800 - 0x0000b8ff (0x100) IX[B]E
	[24] 0	0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
	[25] 0	0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(WW) I810(0): xf86AllocateGARTMemory: allocation of 1024 pages failed
	(Cannot allocate memory)
(II) I810(0): No physical memory available for 4194304 bytes of DCACHE
(II) I810(0): Adding 512 scanlines for pixmap caching
(II) I810(0): Allocated Scratch Memory
(==) I810(0): Write-combining range (0xf7800000,0x80000) was already clear
(==) I810(0): Write-combining range (0xf8000000,0x4000000) was already set
(==) I810(0): Write-combining range (0xa0000,0x10000) was already clear
pgetbl_ctl: 0x17001 pgetbl_err: 0x0
ipeir: 0 iphdr: 0
LP ring tail: 0 head: 0 len: 0 start 0
eir: 0 esr: 0 emr: 3d
instdone: fffb instpm: 0
memmode: 0 instps: 0
hwstam: bac7 ier: 0 imr: bac7 iir: 0
pgetbl_ctl: 0x17001 pgetbl_err: 0x0
ipeir: 0 iphdr: 0
LP ring tail: 0 head: 0 len: 0 start 0
eir: 0 esr: 0 emr: 3d
instdone: fffb instpm: 0
memmode: 4 instps: 0
hwstam: bac7 ier: 0 imr: bac7 iir: 0
(II) I810(0): Setting dot clock to 65.0 MHz [ 0x3f 0xa 0x30 ] [ 65 12 3 ]
(II) I810(0): chose watermark 0x22214000: (tab.freq 65.0)
(II) I810(0): Using XFree86 Acceleration Architecture (XAA)
	Screen to screen bit blits
	Solid filled rectangles
	8x8 mono pattern filled rectangles
	Indirect CPU to Screen color expansion
	Solid Horizontal and Vertical Lines
	Offscreen Pixmaps
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(==) I810(0): Direct rendering disabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
(**) Option "Protocol" "auto"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Option "Buttons" "5"
(**) Mouse0: Buttons: 5
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(**) Option "BaudRate" "1200"
</pre>

<a name="kap_o"><h1>What remains to be done</h1></a>

<h2>APM</h2>

<p>Alas APM is not working at all though it works perfectely well in Windows 2000. Notebook is ACPI compliant. It's possible to suspend the machine but it never wakes up. Machine is not running <tt>apmd</tt> (I think it's not necessary).</p>

<p>Kernel should have APM compiled in:</p>
<pre>
# Power management support (see LINT for more options)
device		apm0    at nexus? flags 0x20 # Advanced Power Management
# device		apm0
</pre>

<p><tt>dmesg</tt> says kernel found APM compliant BIOS:</p>
<pre>
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
</pre>

<p>Devices are created:</p>
<pre>
su-2.05# ls -l /dev/apm*
crw-rw-r--  1 root  operator   39,   0 Dec  6 16:32 /dev/apm
crw-rw----  1 root  operator   39,   8 Jan  6 11:26 /dev/apmctl
</pre>

<p>Though the notebook is running on battery I see this <tt>apm</tt> output:</p>
<pre>
su-2.05# apm
APM version: 1.2
APM Managment: Enabled
AC Line status: on-line
Battery status: unknown
Remaining battery life: unknown
Remaining battery time: unknown
Number of batteries: 1
Battery 0:
        Battery status: not present
Resume timer: disabled
Resume on ring indicator: disabled
APM Capacities:
        global standby state
        global suspend state
        resume timer from standby
        resume timer from suspend
</pre>

<p>It seems that we need to wait until either somebody merges ACPI from -CURRENT to -STABLE or -CURRENT becomes -STABLE.</p>

<h2>Touchpad</h2>

<p>Touchpad works only as 2-button mouse despite it has two other buttons. Here is corresponding part of <tt>/etc/rc.conf</tt>:</p>
<pre>
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
moused_flags="-3"
</pre>

<p>USB mouse provided with the machine works great (three buttons plus wheel).</p>

<h2>Modem</h2>

<p>Modem is not working since it's kind of winmodem. I'm not using it in FreeBSD on this machine so I'm not forced to configure it :-(. I've found somebody has something very suspicious on it's VAIO notebook, see <a href="http://www.geocrawler.com/archives/3/163/2001/8/0/6520779/">http://www.geocrawler.com/archives/3/163/2001/8/0/6520779/</a>; by <a href="mailto:kjm7834@yahoo.com">Kay Darrierres</a>.</p>

</body>
</html>


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002e01c196db$521f6d00$2603fb93>