From owner-freebsd-scsi Tue Oct 15 8:44: 0 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5A5F37B401 for ; Tue, 15 Oct 2002 08:43:59 -0700 (PDT) Received: from mail0.lsil.com (mail0.lsil.com [147.145.40.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5210A43EA3 for ; Tue, 15 Oct 2002 08:43:59 -0700 (PDT) (envelope-from vanis@lsil.com) Received: from mhbs.lsil.com (mhbs.lsil.com [147.145.31.100]) by mail0.lsil.com (8.12.4/8.12.4) with ESMTP id g9FFKmLZ018481 for ; Tue, 15 Oct 2002 08:43:55 -0700 (PDT) Received: from atl1.se.lsil.com by mhbs.lsil.com with ESMTP for freebsd-scsi@FreeBSD.ORG; Tue, 15 Oct 2002 08:43:53 -0700 Received: by EXA-ATLANTA.se.lsil.com with Internet Mail Service (5.5.2653.19) id ; Tue, 15 Oct 2002 11:43:52 -0400 Message-Id: <0E3FA95632D6D047BA649F95DAB60E57015291DC@EXA-ATLANTA.se.lsil.com> From: "Sabapathi, Vanishree" To: freebsd-scsi@FreeBSD.ORG Subject: How To invoke device_shutdown/ device_resume method for testing Date: Tue, 15 Oct 2002 11:43:44 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, 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. I tried using the KDE preferences to set the Energy option. There I set the time to suspend to 5 minutes. But KDE gives an error saying "KLibrary: The library kcm_energy does not offer an init_kcm_energy function".. -Vani. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message