Subject: Re: -current: APM problems
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
From: David Carrel <carrel@cisco.com>
List: port-i386
Date: 01/24/1997 11:49:28
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <632.854135242.1@cisco.com>

>   I don't have this problem on my 425SL. My problem is that if I
> "halt", and it suspends (at the press any key to reboot), then resume,
> and reboot, the IDE drive doesn't come on again. I have to turn it off and on
> again. CTL-ALT-DEL at the BIOS doesn't help.
>   I have the same problem with plain suspend (ZZZ), but I was lead to
> believe that this is being worked on.

A patch went into -current which will very likely fix this for you.

>   I did get my keyboard working by removing pms0.

The following patch fixes the lock-up that I have with the pms mouse on my
keyboard.  Let me know how it works for you.  You have to set 
	options PMS_LAPTOP_BUG
in your kernel config.

Dave

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <632.854135242.2@cisco.com>

*** sys/arch/i386/isa/pms.c.orig	Sat Oct 19 15:41:59 1996
--- sys/arch/i386/isa/pms.c	Sat Oct 19 15:42:04 1996
***************
*** 193,199 ****
--- 193,201 ----
  	if (cf->cf_loc[0] == -1)
  		return (0);
  
+ #ifndef PMS_LAPTOP_BUG
  	pms_dev_cmd(PMS_RESET);
+ #endif
  	pms_aux_cmd(PMS_AUX_TEST);
  	delay(1000);
  	x = inb(PMS_DATA);
***************
*** 274,280 ****
--- 276,284 ----
  	struct pms_softc *sc = pms_cd.cd_devs[PMSUNIT(dev)];
  
  	/* Disable interrupts. */
+ #ifndef PMS_LAPTOP_BUG
  	pms_dev_cmd(PMS_DEV_DISABLE);
+ #endif
  	pms_pit_cmd(PMS_INT_DISABLE);
  	pms_aux_cmd(PMS_AUX_DISABLE);
  

------- =_aaaaaaaaaa0--