From owner-freebsd-mobile@FreeBSD.ORG Mon Sep 8 21:29:25 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF60716A4BF for ; Mon, 8 Sep 2003 21:29:25 -0700 (PDT) Received: from col-msxproto1.col.missouri.edu (col-msxproto1.col.missouri.edu [128.206.3.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9563343F75 for ; Mon, 8 Sep 2003 21:29:23 -0700 (PDT) (envelope-from dbc63b@mizzou.edu) Received: from helium.bengal.missouri.edu ([128.206.12.182]) by col-msxproto1.col.missouri.edu over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6673); Mon, 8 Sep 2003 23:29:23 -0500 Date: Mon, 8 Sep 2003 23:29:22 -0500 (CDT) From: Dylan Cooper X-X-Sender: dbc63b@helium.bengal.missouri.edu To: freebsd-mobile@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 09 Sep 2003 04:29:23.0093 (UTC) FILETIME=[F1CEC450:01C3768A] Subject: 5.1-CURRENT / A31p / ACPI X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dbc63b@mizzou.edu List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 04:29:25 -0000 Hello all, I've been following the mobile list for a while, now. I thought I would come out of lurk-mode and give some preliminary details about my Thinkpad A31p and my experiences with FreeBSD. First, a few notes: I've been a Linux user for Quite A While Now(tm). I'm most experienced with Debian and Gentoo (albeit less so), so while some of the FreeBSD environment is pretty new, others are relatively familiar (ports). The Unix Rosetta Stone (http://bhami.com/rosetta.html) has been pretty helpful with the transition. Overall, the *BSD method of upgrading a system makes more sense, and I think the wide variation between Linux distros and their configuration methods is what frustrated me the most. I haven't given up Debian for server use (familiarity), but I want to use FreeBSD for my personal systems. Quick guru question: Does FreeBSD have a /dev/nvram that can be polled as in Linux? I've looked around quite a bit before I asked what I feared to be an RTFM question, but haven't found an answer. There is an app called Thinkpad Buttons (tpb) that catches the hardware buttons along the left-hand side of the keyboard and provides functionality. The author of the program has documented the values well, and I tested it while running Debian on my A31p -they all worked. See: http://www.nongnu.org/tpb/ Anyway, on to the A31p. Summary: Installed 5.1-RELEASE (netinstall) and had the usual ACPI problems that have been posted on the list. I did the suggested APM config changes, and everything has been working ok. Because my laptop hasn't had to do real work yet (I toyed with a Debian install between the FreeBSD installs), I throught I would fool around with -CURRENT because I saw something about ACPI being somewhat fixed on another FreeBSD list. I installed from the latest snapshot from snapshots.jp.FreeBSD.org (05 Sept 2003) and did an AnonCVS pull last night (08 Sept 2003). I tweaked with the kernel config (a learning experience) and made both world and kernel. After booting up with ACPI enabled, it appears that there aren't any ACPI errors on my dmesg. Some ACPI events pop up an AE_NOT_FOUND error, but everything seems to be booting up cleanly. I'm currently tinkering around with X / Enlightenment 16.5. I haven't tested the functionality of all the peripherals, yet. I'll get to test the wireless card tomorrow at the university. Hardware: IBM Thinkpad A31p (2653-R9U) BIOS Embedded Controller: 1NHT04WW (20 Dec 2002) BIOS ver: 1NET11WW (04 Aug 2003) Various keys/events: ------------------- Lid switch acpi0: AcpiGetSleepTypeData failed - AE_NOT_FOUND It blanks the screen, but is trying to sleep and can't, I'm guessing. Power Button momentary press = nothing Fn-F3 (lcd off) Not working, no kernel message Fn-F4(sleep) acpi0: AcpiGetSleepTypeData failed - AE_NOT_FOUND Fn-F12(hyb) Not tried - Hybernation file not installed All other hardware Fn keys work: Keyboard light LCD bright/dim No problems switching between X and vtty When the screen blanks under X, it revives with no problems uname -a -------- FreeBSD pod 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 8 18:39:39 CDT 2003 root@pod:/usr/obj/usr/src/sys/A31P i386 kernel config ------------ I can post a follow-up to keep this message from being too long. I'm certain that there are some intricacies I've missed due to n00b-isms. I compiled both apm and acpi in the kernel, even though it states that compiling ACPI in the kernel is depreciated. I supposed that doing so would allow me to flip back and forth via the hints files. A more experienced person could enlighten me, perhaps? Other additions: makeoptions DEBUG=-g options VESA options VESA_DEBUG device agp device radeondrm device apm device acpi options ACPI_DEBUG device.hints ------------ hint.acpi.0.disabled="0" hint.apm.0.disabled="1" loader.conf ----------- hw.pci.allow_unsupported_io_range=1 acpi_load="YES" dmesg ----- ACPI debug layer 0x0 debug level 0x0 Copyright (c) 1992-2003 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 5.1-CURRENT #0: Mon Sep 8 18:39:39 CDT 2003 root@pod:/usr/obj/usr/src/sys/A31P Preloaded elf kernel "/boot/kernel/kernel" at 0xc0588000. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1998.32-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebf9ff real memory = 1073152000 (1023 MB) avail memory = 1036607488 (988 MB) Pentium Pro MTRR support enabled VESA: v2.0, 65472k memory, flags:0x1, mode table:0xc04f0b42 (1000022) VESA: ATI MOBILITY RADEON 7500 acpi0: on motherboard acpi_ec0: port 0x66,0x62 on acpi0 pcibios: BIOS version 2.10 Using $PIR table, 14 entries at 0xc00fdeb0 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 11 drm0: port 0x3000-0x30ff mem 0xd0100000-0xd010ffff,0xe8000000-0xefffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe0000000 64MB info: [drm] Initialized radeon 1.9.0 20020828 on minor 0 uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 usb0: 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: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: 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 uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 pcib2: slot 0 INTA is routed to irq 11 pcib2: slot 0 INTB is routed to irq 11 pcib2: slot 0 INTC is routed to irq 11 pcib2: slot 2 INTA is routed to irq 11 pcib2: slot 8 INTA is routed to irq 11 cbb0: mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2 start (50000000) < sc->membase (d0200000) start (50000000) < sc->pmembase (f0000000) cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb1: mem 0x50100000-0x50100fff irq 11 at device 0.1 on pci2 start (50100000) < sc->membase (d0200000) start (50100000) < sc->pmembase (f0000000) cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [MPSAFE] fwohci0: mem 0xd0201000-0xd02017ff irq 11 at device 0.2 on pci2 fwohci0: [MPSAFE] fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:06:1b:00:10:04:cb:1a fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) wi0: mem 0xf8000000-0xf8000fff irq 11 at device 2.0 on pci2 wi0: 802.11 address: 00:20:e0:4d:57:e3 wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.6) wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps fxp0: port 0x8000-0x803f mem 0xd0200000-0xd0200fff irq 11 at device 8.0 on pci2 fxp0: Ethernet address 00:02:8a:a4:eb:7a miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x3bc-0x3c3 irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface orm0: