Date: Sun, 14 Feb 1999 11:18:02 -0800 (PST) From: Valentin Shopov <valsho@yahoo.com> To: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> Cc: mobile@FreeBSD.ORG, Nate Williams <nate@mt.sri.com>, Warner Losh <imp@village.org> Subject: Re: apm & current Message-ID: <19990214191802.16765.rocketmail@send104.yahoomail.com>
next in thread | raw e-mail | index | archive | help
---Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> wrote: > > Hello, I'm now working on APM code for PAO in Japan. > > > Also kernel panics every time when I run apm, but zzz - suspend is > > working. > > I already noticed that this problem happens on some old laptops which has > apm v1.1 or 1.0 (Sotec WinBookPro DX4/100, DEC HiNote Ultra II, etc.). > -current/-stable apm(8) try to call APM v1.2 BIOS functions > (e.g. APM_RESUMETIMER) without version checking. > Some of the old APM BIOSes, however, can make kernel panic when recieved > unkown APM BIOS functions. > In /sys/i386/apm/apm.c, apm_get_info() has the same problem > (APM_GETCAPABILITIES), therefore xbatt also will cause the same trouble. > > So, now I'm going to commit version checking code just before > calling apm_bios_call() in /sys/i386/apm/apm.c into PAO3 CVS repository. > On my old GVC G740 notebook (486DX4/75) kernel panics after calling V1.2 functions . Val == Valentin Shopov 2301 West Bethel Ave., #53 Muncie, IN 47304-2112 Phone: ++1-(765)-214-0504 E-Mail: valsho@yahoo.com valsho@usa.net URL: http://www.cyberspace.org/~valentin _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990214191802.16765.rocketmail>