Date: Tue, 15 Oct 2002 12:54:50 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: vanis@lsil.com Cc: new-bus@FreeBSD.ORG Subject: Re: How To invoke device_shutdown/ device_resume method for testing Message-ID: <20021015.125450.63054051.imp@bsdimp.com> In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E57015291E7@EXA-ATLANTA.se.lsil.com> References: <0E3FA95632D6D047BA649F95DAB60E57015291E7@EXA-ATLANTA.se.lsil.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <0E3FA95632D6D047BA649F95DAB60E57015291E7@EXA-ATLANTA.se.lsil.com>
"Sabapathi, Vanishree" <vanis@lsil.com> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-new-bus" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021015.125450.63054051.imp>
