Am Fri, 11 Aug 2017 19:50:05 -0400
schrieb "Ted Unangst" <[email protected]>:
> anyone using an x40? what have you set machdep.apmhalt to?
Hi Ted,
I have several old ThinkPads running OpenBSD here. The X40
has the default setting:
root@x40:~# sysctl machdep.apmhalt
machdep.apmhalt=0
You probably want to know, if "halt -p" is working. It works. Even
root@x40:~# sysctl machdep.apmhalt=1
machdep.apmhalt: 0 -> 1
works. APM power down code correction isn't necessary for my X40.
Michael
root@x40:~# dmesg
OpenBSD 6.1-current (GENERIC) #50: Fri Aug 11 21:37:40 MDT 2017
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.40GHz ("GenuineIntel"
686-class) 1.40 GHz cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,EST,TM2,PERF
real mem = 1063665664 (1014MB) avail mem = 1029935104 (982MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 01/07/05, BIOS32 rev. 0 @ 0xfd740, SMBIOS rev.
2.33 @ 0xe0010 (56 entries) bios0: vendor IBM version "1UETA5WW (1.55
)" date 01/07/2005 bios0: IBM 2371Y29
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC BOOT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) PCI0(S3) PCI1(S4)
DOCK(S4) USB0(S3) USB1(S3) USB2(S3) AC9M(S4) acpitimer0 at acpi0:
3579545 Hz, 24 bits acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PCI1)
acpiprt2 at acpi0: bus -1 (DOCK)
acpicpu0 at acpi0
C1: unknown FFH class 0: !C3(250@85 io@0x1015), !C2(500@1 io@0x1014),
C1(@1 halt!), PSS acpipwrres0 at acpi0: PUBS, resource for USB0, USB1,
USB7 acpitz0 at acpi0: critical temperature is 95 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"IBM3780" at acpi0 not configured
"PNP0400" at acpi0 not configured
"IBM0071" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "IBM-COMPATIBLE" serial 20000 type LION
oem "SLN" acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
"IBM007A" at acpi0 not configured
acpidock0 at acpi0: GDCK docked (15)
acpivideo0 at acpi0: VID_
bios0: ROM list: 0xc0000/0xc800! 0xcc800/0x1000 0xcd800/0x1000
0xdc000/0x4000! 0xe0000/0x10000 cpu0: Enhanced SpeedStep 1396 MHz:
speeds: 1400, 1300, 1200, 1100, 1000, 900, 800, 600 MHz pci0 at
mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0
function 0 "Intel 82855GM Host" rev 0x02 "Intel 82855GM Memory" rev
0x02 at pci0 dev 0 function 1 not configured "Intel 82855GM Config" rev
0x02 at pci0 dev 0 function 3 not configured inteldrm0 at pci0 dev 2
function 0 "Intel 82855GM Video" rev 0x02 drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xe0000000, size 0x8000000
inteldrm0: apic 1 int 16
error: [drm:pid0:i9xx_set_fifo_underrun_reporting] *ERROR* pipe A
underrun inteldrm0: 1024x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 82855GM Video" rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: apic 1
int 16 uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01:
apic 1 int 19 uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev
0x01: apic 1 int 18 ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB"
rev 0x01: apic 1 int 23 usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1 ppb0 at pci0 dev 30 function 0 "Intel 82801BAM
Hub-to-PCI" rev 0x81 pci1 at ppb0 bus 2
2:0:0: mem address conflict 0xb0000000/0x1000
cbb0 at pci1 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: apic 1
int 16 sdhc0 at pci1 dev 0 function 1 "Ricoh 5C822 SD/MMC" rev 0x13:
apic 1 int 17 sdhc0: SDHC 1.0, 33 MHz base clock
sdmmc0 at sdhc0: 4-bit
em0 at pci1 dev 1 function 0 "Intel 82541GI" rev 0x00: apic 1 int 20,
address 00:0a:e4:2f:3b:93 iwi0 at pci1 dev 2 function 0 "Intel
PRO/Wireless 2200BG" rev 0x05: apic 1 int 21, address 00:12:f0:05:e4:d8
cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0
cacheline 0x0, lattimer 0xb0 pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility wd0 at pciide0 channel 0 drive 0: <HITACHI_DK13FA-40B>
wd0: 16-sector PIO, LBA, 38088MB, 78006265 sectors wd0(pciide0:0:0):
using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1
drive 0 scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <MATSHITA, UJDA745 DVD/CDRW, 1.02> ATAPI
5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x01: apic
1 int 17 iic0 at ichiic0
spdmem0 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC2700CL2.5
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: apic 1
int 17, ICH4 ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
"Intel 82801DB Modem" rev 0x01 at pci0 dev 31 function 6 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1 isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
error: [drm:pid0:intel_cpu_fifo_underrun_irq_handler] *ERROR* CPU pipe
B FIFO underrun uhub4 at uhub0 port 1 configuration 1 interface 0 "IBM
Hub" rev 2.00/0.01 addr 2 vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (9d0e722934daa1c5.a) swap on wd0b dump on wd0b