Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!hookup!lll-winken.llnl.gov!decwrl!pagesat.net!quack!quack.kfu.com!nsayer From: nsayer@quack.kfu.com (Nick Sayer) Subject: Zenith Z-NoteFlex sleep/resume fixed! Message-ID: <gy0fKts@quack.kfu.com> Sender: news@quack.kfu.com (0000-News(0000)) Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'. Date: 25 Jun 1995 08:12:10 UTC Lines: 43 "I'm begining to think I can fix a rainy day." -- Dr. McCoy As you'll recall, I was unable to resume my Zenith Z-NoteFlex under FreeBSD after putting it to sleep, but the same thing worked when running the boot floppy. In the install procedure, I managed to wipe out the generic kernel (cp /kernel.GENERIC /kernel, not ln, please!), but I managed to get a copy of it from another machine today. And sure enough, when I boot up the generic kernel, I _can_ sleep and restore properly! So I decided to take that ball and run with it. I compiled a new kernel from GENERIC, and that one worked too. So I decided to "morph" the GENERIC kernel over a few steps to try and pin down what made it foul up. In the process, I've discovered that the APM system does not "discover" that the system has been sleeping unless you put it to bed with 'zzz' (or apm -z). It does correct the clock if you use zzz, but it seems to be waking properly in either case. After compiling kernels ALL night long, it appears that in order to get it to wake up properly, I must have fd0, fd1 and ft0 built into the kernel. That is pretty bizarre if you ask me. But what the heck, it works. If anyone can come up with an explanation for this, I'd love to hear it. Well, this is the one bit of my little 's**t list' that I didn't think I'd get to work on this machine. Only thing left now is sound, and I can be patient on that front. :-) Is there anywhere that has, oh I don't know, a list of per-system configuration notes where I can pass along my results (the Z-NoteFlex with BIOS 1.1F requires 'options PSM_NO_RESET' or the keyboard locks, and requires fd0, fd1 and ft0 to be in the kernel of sleep/restore locks) for the next person who comes along? Once you fix the couple of bizarities, this turns out to be about the nicest x86 (laptop or not) I've ever used under FreeBSD! -- Nick Sayer <nsayer@quack.kfu.com> | TRUE GIANTS OF HISTORY #104 N6QQQ @ N0ARY.#NORCAL.CA.USA.NOAM | +1 408 249 9630, log in as 'guest' | Ezekiel Merrit URL: http://www.kfu.com/~nsayer/ | Raised the first California flag