[SOLVED] APM with Xorg on 5.4-R; Compaq Armada 1500c

Ian Smith <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Replying to the same message again, but with better news this time :)

Sufficiently desperate googling and browsing of the FLCL through various
later-model Compaq laptops led me to: 

http://gerda.univie.ac.at/freebsd-laptops/index.pl?action=show_laptop_detail&laptop=637

which states simply:

- options SC_NO_SUSPEND_VTYSWITCH is needed for suspend/resume from X.

which fixes my problem, through quite a bit of testing since building
the kernel (though I did add APM and VESA to it also, if it matters). 

Wonder if this might help your problem too?  I only found out later that
this was documented in syscons(4) in '03, and you can set it by sysctl
.. ah well, it was good to build its first 2MB-leaner kernel anyway. 

Still issues suspending / resuming with a mounted a) external USB HD
with an msdosfs, b) floppy disk (also msdosfs) and perhaps c) a CDROM,
in that mounted fs - still reported as such by mount - is not 'there',
attempts to umount it fail, and umount -f panics! but meanwhile I just
Won't Do That .. the basic system I need to use seems otherwise solid.

Thanks again for the encouragement given by your response,

cheers, Ian

On Mon, 20 Feb 2006, Norberto Meijome wrote:

 > Ian Smith wrote:
 > > Hoping someone here still runs any old but good kit ..
 > >
 > > Carefully, but too often, swapping this laptop HD between my still trusty
 > > 4.5-R on 4GB drive for real work, and a recently-installed 5.4-R on 40GB.
 > >
 > > APM has worked rock-solid here for 3+ years; living on solar power means
 > > depending on being able to hit the suspend button anytime, off or on, and
 > > having it nod off readily and safely while on battery in the field.  I
 > > usually run many-month uptimes, perhaps restarting kde on XF86 monthly,
 > > every day suspending/resuming several times, logging battery states ..
 > >
 > > But APM on 5.4-R - which after loading apm + apmd worked out of the box on
 > > vtys - while using Xorg (6.8.2) fails to suspend | resume cleanly: suspend
 > > can take half to one minute to poweroff (no disk activity), and it always
 > > locks right up on resume; X screen intact but kbd (except BIOS keys) and
 > > mouse gone, speaker stuck on a high tone even trying to blind switch to a
 > > vty to reboot cleanly; way too flakey to consider for workaday use.
 > >   
 > FWIW, i have similar problems with APM (ACPI is a dud on my laptop :( ).
 > Toshiba Tecra A2, latest Xorg, FBSD 6.1 prerel-#1
 > Works ok if suspending from syscon, but via X it just locks up and goes
 > on with a beeeeppppp (doesnt even suspend). the worst part is when I'm
 > running out of battery and working in X...it tries to go  to sleep and
 > just dies on me. not happy jen. :)
 > 
 > I sent more info on this issue on this post:
 > http://www.freebsd.org/cgi/getmsg.cgi?fetch=47971+52883+/usr/local/www/db/text/2006/freebsd-mobile/20060219.freebsd-mobile
 > 
 > not sure where to go from here.
 > cheers,
 > Beto
 > 

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.