Re: How To invoke device_shutdown/ device_resume method for testing

"M. Warner Losh" <[email protected]> Tue, 15 Oct 2002 12:54:50 -0600 (MDT)
Newsgroups gmane.os.freebsd.devel.new-bus
Message-ID <[email protected]>
In message: <[email protected]>
            "Sabapathi, Vanishree" <[email protected]> writes:
: 	In my driver the device_shutdown/device_resume methods need to be
: tested. What should I do to get these methods invoked. Is there any utility
: like camcontrol which would allow me to test these methods.
:  I understand that the device suspends and resumes for power saving(correct
: me if I am wrong)..but how do i get to invoke these methods for testing
: purpose. 

Suspend the laptop.  Or, if your desktop supports it, suspend your
desktop.  There's not really a 'for testing purposes' jig that lets
you power down devices.

Warner

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-new-bus" in the body of the message