Subject: scsictl sdx sleep on umass-attached device
To: None <netbsd-users@netbsd.org>
From: Ola Eriksson <ola@mreriksson.net>
List: netbsd-users
Date: 07/26/2005 12:50:58
Hello,

I recently acquired an Mapower KC-31 to play with. This is an external 
cabinet that houses an 3.5" IDE (PATA) harddrive and connects to a 
computer via USB or Firewire (USB in my case). The KC-31 attaches to my 
NetBSD (-current 3.99.3) laptop as shown below:

umass1 at uhub5 port 3 configuration 1 interface 0
umass1: Genesyslogic USB Mass Storage Device, rev 2.00/0.33, addr 4
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, 1 lun per target
sd4 at scsibus1 target 0 lun 0: <IC35L060, AVV207-0, 0811> disk fixed
sd4: fabricating a geometry
sd4: 39266 MB, 39266 cyl, 64 head, 32 sec, 512 bytes/sect x 80418240 sectors
sd4: fabricating a geometry

The drive works very well under NetBSD and performes very well. However, 
since I do not use this drive all too often (can go days between each 
use), I would really like to be able to get the harddrive to go in to 
suspend/sleep mode. Does anyone have any experience with this over USB 
attached harddrives?

I tried the scsictl tool, but got the following result:

lgm4# scsictl sd4 stop
/dev/rsd4d: Check Condition on CDB: 1b 00 00 00 00 00
    SENSE KEY: Illegal Request
     ASC/ASCQ: Illegal Field in CDB

Any ideas?


Best Regards,
Ola Eriksson
http://www.mrEriksson.net