Date: Mon, 8 Sep 2003 23:29:22 -0500 (CDT) From: Dylan Cooper <dbc63b@mizzou.edu> To: freebsd-mobile@freebsd.org Subject: 5.1-CURRENT / A31p / ACPI Message-ID: <Pine.LNX.4.44.0309082327210.2017-100000@helium.bengal.missouri.edu>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA, CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> 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: <IBM TP-1N > on motherboard acpi_ec0: <embedded controller: ECDT, GPE 0x1c, GLK> 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: <CPU> on acpi0 acpi_tz0: <thermal zone> 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 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: <Intel 82845 host to AGP bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib1: slot 0 INTA is routed to irq 11 drm0: <ATI Radeon LX RV200 Mobility FireGL 7800 M7> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f irq 11 at device 29.0 on pci0 usb0: <Intel 82801CA/CAM (ICH3) 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 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: <Intel 82801CA/CAM (ICH3) 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 uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f irq 11 at device 29.2 on pci0 usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> 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: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> 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: <RF5C476 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2 start (50000000) < sc->membase (d0200000) start (50000000) < sc->pmembase (f0000000) cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb1: <RF5C476 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 11 at device 0.1 on pci2 start (50100000) < sc->membase (d0200000) start (50100000) < sc->pmembase (f0000000) cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [MPSAFE] fwohci0: <Ricoh R5C552> 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: <IEEE1394(FireWire) bus> on fwohci0 sbp0: <SBP2/SCSI over firewire> 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: <Intersil Prism2.5> 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: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x8000-0x803f mem 0xd0200000-0xd0200fff irq 11 at device 8.0 on pci2 fxp0: Ethernet address 00:02:8a:a4:eb:7a miibus0: <MII bus> on fxp0 inphy0: <i82562ET 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH3 UDMA100 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached) pci0: <multimedia, audio> at device 31.5 (no driver attached) pci0: <simple comms> at device 31.6 (no driver attached) atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 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 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled acpi_cmbat0: <Control method Battery> on acpi0 acpi_cmbat1: <Control method Battery> on acpi0 acpi_acad0: <AC adapter> 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: <math processor> on motherboard npx0: INT 16 interface orm0: <Option ROMs> at iomem 0xe0000-0xeffff,0xdc000-0xdffff,0xd1000-0xd1fff,0xd0000-0xd0fff,0xc0000-0xcffff on isa0 pmtimer0 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1998316664 Hz quality 800 Timecounters tick every 10.000 msec acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% GEOM: create disk ad0 dp=0xc6465370 ad0: 38154MB <IC25N040ATCS05-0> [77520/16/63] at ata0-master UDMA100 acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4240N> at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a ----------- Cheers, Dylan -- Dylan Cooper University of Missouri - Columbia Rucker Lab Genejockey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0309082327210.2017-100000>