Hi, is apm not available in 5.4? I've loaded the apm module in loader.conf, and kldstat shows it loaded but /dev/apm* isn't created and there are no messages in dmesg either. How do I enable this? mkb.
On Thu, 12 May 2005 16:07:29 +0200, Matthias Buelow <mkb@incubus.de> wrote:> Hi, > > is apm not available in 5.4? > > I've loaded the apm module in loader.conf, and kldstat shows it loaded > but /dev/apm* isn't created and there are no messages in dmesg either. > How do I enable this?It is available. I'm running it on my laptop now. I've these in my config. grep apm /etc/rc.conf apm_enable="YES" apmd_enable="YES" And I know you can't use acpi and apm together, so make sure you are not using acpi. If you are using acpi, you should prefer that above apm. Ronald. PS: posting more info, like the output of dmesg is helpfull. -- Ronald Klop Amsterdam, The Netherlands
On Thu, May 12, 2005 at 04:07:29PM +0200, Matthias Buelow wrote:> Hi, > > is apm not available in 5.4? > > I've loaded the apm module in loader.conf, and kldstat shows it loaded > but /dev/apm* isn't created and there are no messages in dmesg either. > How do I enable this?Please, use acpi instead of apm. That's default rule.
On Thu, 12 May 2005 17:23:52 +0200, Matthias Buelow <mkb@incubus.de> wrote:> Ronald Klop wrote: > >> Yes, I have apm build into the kernel. Does your machine have apm? >> As somebody else mentioned first try if you have ACPI support on your >> machine. It is a modern, more advanced version of apm. If ACPI works >> never look at APM again. > > Yes, it does have APM, I've used it with Linux and NetBSD without any > problems. FreeBSD's ACPI is flakey on that machine.. if I use the wi-fi > pccard, I always get a freeze (if it's already inserted) or panic (if I > insert it).Report your panic on the mailinglist or using send-pr. I can't help you with it, but there are people who can. Try to compile a kernel with apm in and acpi not in and I think I have also something like pmtimer which is used by apm. And make sure acpi isn't loaded as a module. Ronald. -- Ronald Klop Amsterdam, The Netherlands