This article is linked by:

http://tuxmobil.org/hp_compaq.html

 

http://tuxmobil.org/mobile_bsd.html

In this article I'll break my style and write in english since its aimed to describe my experience with a laptop Compaq nc6220 and FreeBSD-7.0-PRERELEASE. Hopefully it can be a source of information for further reference.

This a standard laptop from the company (Ericsson). It isn't exactly powerfull but can help you to have your work done. It's equiped with:

  • Processor Pentium Mobile 1.73 GHz
  • 512 MB RAM
  • 40 GB Hard-disk
  • 14" screen
  • bluetooth
  • 3 usb ports
  • serial port
  • vga and s-video outputs
  • CD/DVD reader (yes, reader-only)
  • SD Memory card reader
  • Gigabit Ethernet port
  • Internal Modem

I found some other descriptions mismatching my configuration. It's probably because its a corporate machine and better improvements like wi-fi and CD writer were just removed. Sad but that's my reality.

Initially I installed FreeBSD-6.0 on it. Since then I've coming upgrading, over and over. I was running FreeBSD-6.3-RC1 when I decide to move on, for FreeBSD-7.0 (CURRENT at that time). As any upgrade, it was painfull.

I could use alternative hardware for a few purpouses, like a PCMCIA interface for Wi-Fi, but some internal parts didn't work at all. I was force to completely disable ACPI since it was hanging it each 15 seconds. I found unplug the power cable could fix it, but it was an annoying task to be done frequently. I could found some discussions about this issue,. but no effective fix was provided until now.

Right now the current status follows:

  • Wi-Fi via DWL-G650 (D-Link): working with if_ath.ko
  • Sound board Intel 82830M/MG AC '97:working with snd_ich.ko
  • Video card Intel 82915GM (915GM GMCH): working with i810 driver (xorg)
  • ACPI: not working (In fact you must disable it at all)
  • Gigabit Ethernet Interface: working with bge driver
  • SD Card Reader: not working
  • Internal modem: not working

If you could go further then me, don't hesitate to share your success :-)

xorg.conf


Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/local/share/X11/rgb"
	ModulePath   "/usr/local/lib/xorg/modules"
	FontPath     "/usr/local/lib/X11/fonts/misc/"
	FontPath     "/usr/local/lib/X11/fonts/TTF/"
	FontPath     "/usr/local/lib/X11/fonts/OTF"
	FontPath     "/usr/local/lib/X11/fonts/Type1/"
	FontPath     "/usr/local/lib/X11/fonts/100dpi/"
	FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

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

Section "Extensions"
        Option  "Composite"     "Enable"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "abnt2"
	Option	    "XkbLayout" "br"
EndSection

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

Section "Monitor"

	#DisplaySize	  290   220	# mm
	Identifier   "Monitor0"
	VendorName   "AUO"
	ModelName    "e11"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: : integer, : float, : "True"/"False",
        ### : "String", : " Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# []
        #Option     "SWcursor"           	# []
        #Option     "ColorKey"           	# 
        #Option     "CacheLines"         	# 
        #Option     "Dac6Bit"            	# []
        #Option     "DRI"                	# []
        #Option     "NoDDC"              	# []
        #Option     "ShowCache"          	# []
        #Option     "XvMCSurfaces"       	# 
        #Option     "PageFlip"           	# []
	Identifier  "Card0"
	Driver      "i810"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1024x768" "640x480" "1280x960" "1280x1024" "800x600" "1152x864" "1600x1200"
		Virtual	 1600 1200
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1024x768" "640x480" "1280x960" "1280x1024" "800x600" "1152x864" "1600x1200"
		Virtual	 1600 1200
	EndSubSection
EndSection

Section "DRI"
	Group        0
EndSection

pciconf output


hostb0@pci0:0:0:0:      class=0x060000 card=0x0944103c chip=0x25908086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '915GM Mobile Intel(R) 915GM/PM/GMS/910GML Express Processor to DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:     class=0x030000 card=0x308a103c chip=0x25928086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82915GM/GMS, 82910GML Integrated Graphics Device'
    class      = display
    subclass   = VGA
vgapci1@pci0:0:2:1:     class=0x038000 card=0x308a103c chip=0x27928086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 82915GLx/x/x Mobile Intel(R) 915GM/GMS/, 910GML Express Chipset Family'
    class      = display
pcib1@pci0:0:28:0:      class=0x060400 card=0x0944103c chip=0x26608086 rev=0x03 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW PCI Express Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:1:      class=0x060400 card=0x0944103c chip=0x26628086 rev=0x03 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW PCI Express Port 2'
    class      = bridge
    subclass   = PCI-PCI
uhci0@pci0:0:29:0:      class=0x0c0300 card=0x0944103c chip=0x26588086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:      class=0x0c0300 card=0x0944103c chip=0x26598086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:29:2:      class=0x0c0300 card=0x0944103c chip=0x265a8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW USB UHCI Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:29:7:      class=0x0c0320 card=0x0944103c chip=0x265c8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW USB 2.0 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib3@pci0:0:30:0:      class=0x060401 card=0x0944103c chip=0x24488086 rev=0xd3 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
pcm0@pci0:0:30:2:       class=0x040100 card=0x0944103c chip=0x266e8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Intel Corporation  82830M/MG SDRAM Controller / Ho AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)'
    class      = multimedia
    subclass   = audio
none0@pci0:0:30:3:      class=0x070300 card=0x0944103c chip=0x266d8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Intel 82801DB Realtek ALC655 @ Intel 82801EB ICH5-M - AC'97 Audio Controller [B-1]    PCI'
    class      = simple comms
    subclass   = generic modem
isab0@pci0:0:31:0:      class=0x060100 card=0x0944103c chip=0x26418086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FBM LPC Interface Bridge (ICH6-M)'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:    class=0x01018a card=0x0944103c chip=0x266f8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM Ultra ATA Storage Controllers - 266F'
    class      = mass storage
    subclass   = ATA
bge0@pci0:16:0:0:       class=0x020000 card=0x0944103c chip=0x167d14e4 rev=0x11 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'BCM5751M Broadcom NetXtreme Gigabit Ethernet'
    class      = network
    subclass   = ethernet
cbb0@pci0:2:6:0:        class=0x060700 card=0x0944103c chip=0x8031104c rev=0x00 hdr=0x02
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCIxx21/x515 Cardbus Controller'
    class      = bridge
    subclass   = PCI-CardBus
none1@pci0:2:6:3:       class=0x018000 card=0x0944103c chip=0x8033104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCIxx11/21 Integrated FlashMedia Controller'
    class      = mass storage
none2@pci0:2:6:4:       class=0x080500 card=0x0944103c chip=0x8034104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = '10981734 SDA Standard Compliant SD Host Controller'
    class      = base peripheral
none3@pci0:2:6:5:       class=0x078000 card=0x0944103c chip=0x8035104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'N/A PCI GemCore based SmartCard controller'
    class      = simple comms
ath0@pci0:3:0:0:        class=0x020000 card=0x32021186 chip=0x0013168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
    class      = network
    subclass   = ethernet

dmesg output


Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-PRERELEASE #3: Sat Jan 19 16:44:43 BRST 2008
    This email address is being protected from spambots. You need JavaScript enabled to view it.:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1.73GHz (799.68-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8
  Features=0xafe9fbff
  Features2=0x180
  AMD Features=0x100000
real memory  = 528285696 (503 MB)
avail memory = 502382592 (479 MB)
kbd1 at kbdmux0
kqemu version 0x00010300
kqemu: KQEMU installed, max_locked_mem=251532kB.
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Jan 19 2008 16:44:17)
cpu0 on motherboard
est0:  on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6120d2906000612
device_attach: est0 attach returned 6
p4tcc0:  on cpu0
pcib0:  pcibus 0 on motherboard
pci0:  on pcib0
vgapci0:  port 0x5000-0x5007 mem 0xd0800000-0xd087ffff,0xc0000000-0xcfffffff,0xd0880000-0xd08bffff irq 10 at device 2.0 on pci0
agp0:  on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
vgapci1:  mem 0xd0900000-0xd097ffff at device 2.1 on pci0
pcib1:  irq 10 at device 28.0 on pci0
pci16:  on pcib1
pci0:16:0:0: invalid VPD data, remain 0xffff
bge0:  mem 0xd0000000-0xd000ffff irq 10 at device 0.0 on pci16
miibus0:  on bge0
brgphy0:  PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:14:c2:e7:d2:55
bge0: [ITHREAD]
pcib2:  at device 28.1 on pci0
pci32:  on pcib2
uhci0:  port 0x2000-0x201f irq 10 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0:  on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0x2020-0x203f irq 11 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1:  on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0x2040-0x205f irq 11 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2:  on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0:  mem 0xd0980000-0xd09803ff irq 10 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: wrong number of companions (4 != 3)
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3:  on ehci0
usb3: USB revision 2.0
uhub3:  on usb3
uhub3: 8 ports with 8 removable, self powered
pcib3:  at device 30.0 on pci0
pci2:  on pcib3
cbb0:  mem 0xd0400000-0xd0400fff irq 11 at device 6.0 on pci2
cardbus0:  on cbb0
pccard0:  on cbb0
cbb0: [ITHREAD]
pci2:  at device 6.3 (no driver attached)
pci2:  at device 6.4 (no driver attached)
pci2:  at device 6.5 (no driver attached)
pcm0:  port 0x2100-0x21ff,0x2200-0x223f mem 0xd0981000-0xd09811ff,0xd0982000-0xd09820ff irq 11 at device 30.2 on pci0
pcm0: [ITHREAD]
pcm0: 
pci0:  at device 30.3 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2580-0x258f irq 10 at device 31.1 on pci0
ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
pmtimer0 on isa0
orm0:  at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
ppc0:  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
ppbus0:  on ppc0
ppbus0: [ITHREAD]
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0:  at flags 0x100 on isa0
sc0: VGA 
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (irq)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
sio4:  at port 0x3e8-0x3ef,0x300-0x30f irq 3 drq 3 pnpid SMCf010 on isa0
sio4: type 16550A
sio4: [FILTER]
unknown:  can't assign resources (memory)
Timecounters tick every 1.000 msec
hptrr: no controller detected.
ad0: 38154MB  at ata0-master UDMA100
acd0: DVDROM  at ata0-slave PIO4
GEOM_LABEL: Label for provider acd0 is iso9660/WGR614v7.
Trying to mount root from ufs:/dev/ad0s1a
WARNING: attempt to net_add_domain(bluetooth) after domainfinalize()
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
drm0:  on vgapci0
info: [drm] AGP at 0xc0000000 256MB
info: [drm] Initialized i915 1.5.0 20060119
drm0: [ITHREAD]
ath0:  mem 0xd0410000-0xd041ffff irq 11 at device 0.0 on cardbus0
ath0: [ITHREAD]
ath0: using obsoleted if_watchdog interface
ath0: Ethernet address: 00:13:46:14:1a:31
ath0: mac 7.9 phy 4.5 radio 5.6
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.