tech-misc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

battery info: apm cannot attach to mainbus: compiling kernel error

Having some difficulty adding getting battery information from my laptop, I tried adding apm to a custom kernel as

    apm0            at mainbus?

running config fails with

   $ config MYKERNEL
   MYKERNEL:206: apm cannot attach to mainbus

when my computer boots up I see a message about acpibat0 to the effect of "charging state" and it's accurate to where the battery is at the time.

I'm not married to apm, was reading about how it's the recommended way here.

what is the best way for me to get apm to work, or an alternative to solution to accessing battery information such as via acpibat


Home | Main Index | Thread Index | Old Index