Trouble with APM suspend in 5.3-R

Gary E. RAFE, Ph.D. rafege at mail.com
Mon Nov 8 20:23:49 PST 2004


Help! APM "suspend" appears to be broken in 5.3-R !

Having more-or-less tamed 5.2.1-R on my Toshiba Sat Pro 6100
since early March, I was hoping that the new 5.3-R would move
forward in functionality and stability.

So when 5.3-R was announced, I burned disc 1 and upgraded my
5.2.1-R partition to 5.3-R...

Built a custom kernel to include APM, enabled APM actions,
then, fingers crossed, issued "apm -z" to suspend the system.

After a second or so, "wi0: detached" for the miniPCI wireless
card, then, nothing -- no keyboard response, no power down.
The system hangs, requiring a power-down via the power switch
and a hard boot.

After 7 years of FreeBSD on Toshiba notebooks,
this is the *first* time a FreeBSD release wouldn't suspend
the system
(resuming correctly, however, at times has been another matter).

With APM debug turned on, I see "APM ioctl: cmd = 0x20005001"
following "apm -z", and before the "wi0:detached" message.

Pointers to where APM suspend might be hanging will be
appreciated.
I don't mind poking around the kernel code to try to fix this,
but I could use some direction here.

Otherwise, I guess we go back to 5.2.1 ...

[BTW: ACPI suspend hasn't yet worked on this Toshiba, either.]
--
Gary E. RAFE, Ph.D.	<mailto:rafege at mail.com>
Please note: HTML-encoded mail is discarded unread.


More information about the freebsd-mobile mailing list