On Mon, Feb 25, 2008 at 06:33:13PM +0530, Mayuresh Kathe wrote: > On Mon, Feb 25, 2008 at 6:25 PM, Karl Sjodahl - dunceor > <[EMAIL PROTECTED]> wrote: > > > > On Mon, Feb 25, 2008 at 1:22 PM, Mayuresh Kathe > > <[EMAIL PROTECTED]> wrote: > > > > > > On Mon, Feb 25, 2008 at 5:45 PM, Antoine Jacoutot <[EMAIL PROTECTED]> > > wrote: > > > > On Mon, 25 Feb 2008, Mayuresh Kathe wrote: > > > > > I googled for "monitoring battery openbsd" but got nothing > > satisfactory. > > > > > > > > apm(8) > > > > > > Thanks for that Antoine. > > > > > > I tried 'apm -b' to get the battery status, but it showed 255, which > > > is 'unknown', is it because my laptop isn't properly supported? > > > > > > Is there anything I could do to help developers support it better? > > > > > > Best, > > > > > > ~Mayuresh > > > > > > > > > > If its an non-apm laptop you can check it via acpi. Use sysctl and > > check the hw section. There it was how many volts left. > > How do I check whether its a non-apm laptop? > It's a ThinkPad R61i, dmesg below; > > OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz ("GenuineIntel" > 686-class) 1.47 GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR > real mem = 526667776 (502MB) > avail mem = 501596160 (478MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 06/28/07, BIOS32 rev. 0 @ > 0xfdca0, SMBIOS rev. 2.4 @ 0xe0010 (71 entries) > bios0: vendor LENOVO version "7OET24WW (1.03 )" date 06/28/2007 > bios0: LENOVO 8932A32 > pcibios0 at bios0: rev 3.0 @ 0xfdc30/0x3d0 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/304 (17 entries) > pcibios0: bad IRQ table checksum > pcibios0: PCI BIOS has 17 Interrupt Routing table entries > pcibios0: no compatible PCI ICU found > pcibios0: Warning, unable to fix up PCI interrupt routing > pcibios0: PCI bus #22 is the last bus > bios0: ROM list: 0xc0000/0x10000! 0xd0000/0x1a00 0xd1a00/0x1000 > 0xe0000/0x10000! > acpi at mainbus0 not configured
^^^^^^^ enable acpi in your kernel -- Bizarreness is the essence of the exotic.