Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Aug 2011 15:48:37 -0400
From:      Understudy <list@understudy.net>
To:        freebsd-mobile@freebsd.org
Subject:   Thinkpad t60p questions
Message-ID:  <4E403D95.9070209@understudy.net>

next in thread | raw e-mail | index | archive | help
Hi All,

I have just loaded FreeBSD 8.2-RELEASE on to my thinkpad t60p. I have a 
couple of questions.
This model is 8741-A11. Currently I am running GENERIC as the kernel. I 
would like to tweak a few things and gain an understanding of a few 
things. Maybe help a few others along the way.
So lots of information coming.

uname -a
FreeBSD Nameless.brendhanhorne.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: 
Fri Feb 18 02:24:46 UTC 2011 
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

dmesg
Copyright (c) 1992-2011 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 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011
     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz (2161.27-MHz 
686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Family = 6  Model = f  Stepping = 6
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   TSC: P-state invariant
real memory  = 3221225472 (3072 MB)
avail memory = 3140468736 (2994 MB)
ACPI APIC Table: <LENOVO TP-7I >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
ACPI Warning: 32/64X length mismatch in Gpe1Block: 0/32 
(20101013/tbfadt-625)
ACPI Warning: Optional field Gpe1Block has zero address or length: 
0x000000000000102C/0x0 (20101013/tbfadt-655)
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <LENOVO TP-7I> on motherboard
CPU0: local APIC error 0x40
acpi0: [ITHREAD]
acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, bff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem 
0xd0000000-0xdfffffff,0xee100000-0xee10ffff irq 16 at device 0.0 on pci1
hdac0: <Intel 82801G High Definition Audio Controller> mem 
0xee400000-0xee403fff irq 17 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> irq 20 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection 7.1.9> port 0x3000-0x301f mem 
0xee000000-0xee01ffff irq 16 at device 0.0 on pci2
em0: Using an MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:16:41:e4:77:24
pcib3: <ACPI PCI-PCI bridge> irq 21 at device 28.1 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <network> at device 0.0 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> irq 22 at device 28.2 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 23 at device 28.3 on pci0
pci12: <ACPI PCI bus> on pcib5
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0x1800-0x181f irq 
16 at device 29.0 on pci0
uhci0: [ITHREAD]
usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0
uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0x1820-0x183f irq 
17 at device 29.1 on pci0
uhci1: [ITHREAD]
usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1
uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0x1840-0x185f irq 
18 at device 29.2 on pci0
uhci2: [ITHREAD]
usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2
uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0x1860-0x187f irq 
19 at device 29.3 on pci0
uhci3: [ITHREAD]
usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 
0xee404000-0xee4043ff irq 19 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci21: <ACPI PCI bus> on pcib6
cbb0: <TI1510 PCI-CardBus Bridge> mem 0xe4300000-0xe4300fff irq 16 at 
device 0.0 on pci21
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [FILTER]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1880-0x188f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
atapci1: <Intel ICH7M SATA150 controller> port 
0x18c8-0x18cf,0x18ac-0x18af,0x18c0-0x18c7,0x18a8-0x18ab,0x18b0-0x18bf 
mem 0xee404400-0xee4047ff irq 16 at device 31.2 on pci0
atapci1: [ITHREAD]
atapci1: AHCI called from vendor specific driver
atapci1: AHCI v1.10 controller with 4 1.5Gbps ports, PM not supported
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on 
acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 
0xc0000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff,0xe0000-0xeffff 
pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4247N/1.02> at ata0-master UDMA33
ad4: 476940MB <Seagate ST9500325AS 0002BSM1> at ata2-master UDMA100 SATA 
1.5Gb/s
hdac0: HDA Codec #0: Analog Devices AD1981HD
hdac0: HDA Codec #1: Conexant (Unknown)
pcm0: <HDA Analog Devices AD1981HD PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Analog Devices AD1981HD PCM #1 Digital> at cad 0 nid 1 on hdac0
SMP: AP CPU #1 Launched!
Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
Root mount waiting for: usbus4
Trying to mount root from ufs:/dev/ad4s1a
ugen3.2: <Broadcom Corp> at usbus3
ugen3.3: <STMicroelectronics> at usbus3
em0: link state changed to UP
drm0: <ATI Mobility FireGL V5250> on vgapci0
info: [drm] MSI enabled 1 message(s)
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] Initialized radeon 1.31.0 20080613
info: [drm] Setting GART location based on new memory map
info: [drm] Loading R500 Microcode
info: [drm] Num pipes: 1
info: [drm] writeback test succeeded in 2 usecs
drm0: [ITHREAD]
pid 1190 (aterm) is using legacy pty devices - not logging anymore
netsmb_dev: loaded
info: [drm] Num pipes: 1
info: [drm] Loading R500 Microcode
info: [drm] Num pipes: 1
acpi_lid0: Lid closed
acpi_lid0: Lid opened
acpi_lid0: Lid closed
acpi_lid0: Lid opened

pciconf -lv
hostb0@pci0:0:0:0:    class=0x060000 card=0x201517aa chip=0x27a08086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '955XM/945GM/PM/GMS/940GML Express Processor to DRAM 
Controller'
     class      = bridge
     subclass   = HOST-PCI
pcib1@pci0:0:1:0:    class=0x060400 card=0x201417aa chip=0x27a18086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '955XM/945GM/PM/GMS/940GML Express PCIe Root Port'
     class      = bridge
     subclass   = PCI-PCI
hdac0@pci0:0:27:0:    class=0x040300 card=0x201017aa chip=0x27d88086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'IDT High Definition Audio Driver  (BA101897)'
     class      = multimedia
     subclass   = HDA
pcib2@pci0:0:28:0:    class=0x060400 card=0x201117aa chip=0x27d08086 
rev=0x02 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801G (ICH7 Family) PCIe Root Port'
     class      = bridge
     subclass   = PCI-PCI
pcib3@pci0:0:28:1:    class=0x060400 card=0x201117aa chip=0x27d28086 
rev=0x02 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801G (ICH7 Family) PCIe Root Port'
     class      = bridge
     subclass   = PCI-PCI
pcib4@pci0:0:28:2:    class=0x060400 card=0x201117aa chip=0x27d48086 
rev=0x02 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801G (ICH7 Family) PCIe Root Port'
     class      = bridge
     subclass   = PCI-PCI
pcib5@pci0:0:28:3:    class=0x060400 card=0x201117aa chip=0x27d68086 
rev=0x02 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801G (ICH7 Family) PCIe Root Port'
     class      = bridge
     subclass   = PCI-PCI
uhci0@pci0:0:29:0:    class=0x0c0300 card=0x200a17aa chip=0x27c88086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801G (ICH7 Family) USB Universal Host Controller'
     class      = serial bus
     subclass   = USB
uhci1@pci0:0:29:1:    class=0x0c0300 card=0x200a17aa chip=0x27c98086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801G (ICH7 Family) USB Universal Host Controller'
     class      = serial bus
     subclass   = USB
uhci2@pci0:0:29:2:    class=0x0c0300 card=0x200a17aa chip=0x27ca8086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801G (ICH7 Family) USB Universal Host Controller'
     class      = serial bus
     subclass   = USB
uhci3@pci0:0:29:3:    class=0x0c0300 card=0x200a17aa chip=0x27cb8086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801G (ICH7 Family) USB Universal Host Controller'
     class      = serial bus
     subclass   = USB
ehci0@pci0:0:29:7:    class=0x0c0320 card=0x200b17aa chip=0x27cc8086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller'
     class      = serial bus
     subclass   = USB
pcib6@pci0:0:30:0:    class=0x060401 card=0x201317aa chip=0x24488086 
rev=0xe2 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801 Family (ICH2/3/4/5/6/7/8/9-M) Hub Interface to 
PCI Bridge'
     class      = bridge
     subclass   = PCI-PCI
isab0@pci0:0:31:0:    class=0x060100 card=0x200917aa chip=0x27b98086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801GBM (ICH7-M) LPC Interface Controller'
     class      = bridge
     subclass   = PCI-ISA
atapci0@pci0:0:31:1:    class=0x01018a card=0x200c17aa chip=0x27df8086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801G (ICH7 Family) Ultra ATA Storage Controller'
     class      = mass storage
     subclass   = ATA
atapci1@pci0:0:31:2:    class=0x010601 card=0x200d17aa chip=0x27c58086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801GB Mobile I/O Controller Hub SATA cc=AHCI'
     class      = mass storage
     subclass   = SATA
none0@pci0:0:31:3:    class=0x0c0500 card=0x200f17aa chip=0x27da8086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Intel[R] 82801G (ICH7 Family) C- 27DA (82801G)'
     class      = serial bus
     subclass   = SMBus
vgapci0@pci0:1:0:0:    class=0x030000 card=0x20a417aa chip=0x71d41002 
rev=0x00 hdr=0x00
     vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
     device     = 'ATI MOBILITY FireGL V5250 (M56GL)'
     class      = display
     subclass   = VGA
em0@pci0:2:0:0:    class=0x020000 card=0x200117aa chip=0x109a8086 
rev=0x00 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Intel PRO/1000 PL Network Adaptor (82573L)'
     class      = network
     subclass   = ethernet
none1@pci0:3:0:0:    class=0x028000 card=0x10108086 chip=0x42278086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'PRO/Wireless 3945ABG Network Connection'
     class      = network
cbb0@pci0:21:0:0:    class=0x060700 card=0x201217aa chip=0xac56104c 
rev=0x00 hdr=0x02
     vendor     = 'Texas Instruments (TI)'
     device     = 'PCCard CardBus Controller (PCI1510)'
     class      = bridge
     subclass   = PCI-CardBus

/boot/loader.conf
# Sound Driver
snd_hda_load="YES"
# IBM drivers
acpi_ibm_load="YES"
# CPU
# cpufreq_load="YES"
# Wireless
if_wpi_load="YES"

ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
 
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
     ether 00:16:41:e4:77:24
     inet 10.0.0.146 netmask 0xffffff00 broadcast 10.0.0.255
     media: Ethernet autoselect (1000baseT <full-duplex>)
     status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
     options=3<RXCSUM,TXCSUM>
     inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
     inet6 ::1 prefixlen 128
     inet 127.0.0.1 netmask 0xff000000
     nd6 options=3<PERFORMNUD,ACCEPT_RTADV>

/etc/rc.conf
# -- sysinstall generated deltas -- # Mon Aug  1 03:11:18 2011
# Created: Mon Aug  1 03:11:18 2011
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="Nameless.brendhanhorne.com"
ifconfig_em0="DHCP"
moused_enable="YES"
nfs_client_enable="YES"
sshd_enable="YES"
ntp_enable="YES"
ntpdate_hosts="us.pool.ntp.org"
linux_enable="YES"
hald_enable="YES"
dbus_enable="YES"
powerd_enable="YES"
powerd_flags="-a hiadaptive -b adaptive"
moused_enable="YES"
moused_flags="-V"

So my first question has to do with the wireless.  I have a 3945ABG 
Network Connection which uses the wpi driver. I have set that up in the 
boot/loader.conf. However it does not show up when I do ifconfig -a. Do 
I need to add ifconfig to rc.conf?  Here is where this question gets 
tricky, I have a wireless network at home a wpa2 setup. However that 
will not be the main connection for the laptop. It normally will be 
plugged into an ethernet cable. Also the laptop will travel with me and 
be used in hotels and with airport wifi setup. So how do I tell it that 
if there is a cable ethernet to not connect the wireless and if there is 
a wireless that it should be able to connect to a open network ?

Follow up items to include xorg, battery and fan items for the t60p.

Thank you in advance.

Sincerely,
Brendhan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E403D95.9070209>