Re: Need acpi-event-d?

2003-06-18 Thread Mark Santcroos
On Tue, Jun 17, 2003 at 06:40:59AM -0600, M. Warner Losh wrote:
 : I think devd(8) should be used for this, but I havn't tried.
 
 devd does not (currently) get events for suspend/resume.  Maybe it
 should.

Either devd should or we do need an acpid.

Mark

-- 
Mark SantcroosRIPE Network Coordination Centre
http://www.ripe.net/home/mark/New Projects Group/TTM
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need acpi-event-d?

2003-06-17 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Simon L. Nielsen [EMAIL PROTECTED] writes:
: On 2003.06.16 07:07:36 -0400, David Gilbert wrote:
:  First, I must say that it's cool that ACPI code can be examined and
:  rewritten.  In my laptop's case, this was key to make things fairly
:  happy.
:  
:  Anyways, after a resume, it would appear I need to kill and restart
:  moused.  Under 4.x, apmd was used for this purpose ... but this new
:  laptop doesn't support apm at all.  /dev/apm seemed to be emulated by
:  acpi for the benifit of battery monitors, but apmd won't run.
:  
:  Is there a facility to run things on resume, or is this reset
:  something better done inside the kernel?
: 
: I think devd(8) should be used for this, but I havn't tried.

devd does not (currently) get events for suspend/resume.  Maybe it
should.

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need acpi-event-d?

2003-06-16 Thread David Gilbert
First, I must say that it's cool that ACPI code can be examined and
rewritten.  In my laptop's case, this was key to make things fairly
happy.

Anyways, after a resume, it would appear I need to kill and restart
moused.  Under 4.x, apmd was used for this purpose ... but this new
laptop doesn't support apm at all.  /dev/apm seemed to be emulated by
acpi for the benifit of battery monitors, but apmd won't run.

Is there a facility to run things on resume, or is this reset
something better done inside the kernel?

Dave.

-- 

|David Gilbert, Velocet Communications.   | Two things can only be |
|Mail:   [EMAIL PROTECTED] |  equal if and only if they |
|http://daveg.ca  |   are precisely opposite.  |
=GLO
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need acpi-event-d?

2003-06-16 Thread Simon L. Nielsen
On 2003.06.16 07:07:36 -0400, David Gilbert wrote:
 First, I must say that it's cool that ACPI code can be examined and
 rewritten.  In my laptop's case, this was key to make things fairly
 happy.
 
 Anyways, after a resume, it would appear I need to kill and restart
 moused.  Under 4.x, apmd was used for this purpose ... but this new
 laptop doesn't support apm at all.  /dev/apm seemed to be emulated by
 acpi for the benifit of battery monitors, but apmd won't run.
 
 Is there a facility to run things on resume, or is this reset
 something better done inside the kernel?

I think devd(8) should be used for this, but I havn't tried.

-- 
Simon L. Nielsen


pgp0.pgp
Description: PGP signature


Re: Need acpi-event-d?

2003-06-16 Thread Barney Wolff
On Mon, Jun 16, 2003 at 07:07:36AM -0400, David Gilbert wrote:
 
 Anyways, after a resume, it would appear I need to kill and restart
 moused.  Under 4.x, apmd was used for this purpose ... but this new
 laptop doesn't support apm at all.  /dev/apm seemed to be emulated by
 acpi for the benifit of battery monitors, but apmd won't run.
 
 Is there a facility to run things on resume, or is this reset
 something better done inside the kernel?

man psm
Set the HOOKRESUME and INITAFTERSUSPEND flags in /boot/device.hints.
Works for me on a Dell I5000.

-- 
Barney Wolff http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need acpi-event-d?

2003-06-16 Thread Cliff L. Biffle
On Monday 16 June 2003 09:09 am, Barney Wolff wrote:
 man psm
 Set the HOOKRESUME and INITAFTERSUSPEND flags in /boot/device.hints.
 Works for me on a Dell I5000.

Not here (Toshiba Satellite 1605 -- really a branded Compal).  It works if I 
don't use moused, however.  I suspect the problem here is with moused, but 
haven't had time to tear it open (I suddenly got employed).

Not sure if David's seeing the same symptoms, exactly.

-Cliff L. Biffle
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]