From: Franc Z. <fz...@in...> - 2009-03-11 19:02:52
|
Thanks. First let me correct an error. The chip is actually a JM20337 USB -> SATA+PATA bridge, as you correctly point out. I was confused by a reference to the JM20338 on the PCB. Apparently it refers to an optional unpopulated connector location. Eventually I found that the following command worked, but only after editing the registry: smartctl -a -d usbjmicron scsi10 I couldn't use scsi00 or scsi01 as these were assigned to my two optical drives (DVD-ROM and DVD writer). Instead I modified the following registry key by changing SCSILUN from 0 to 1. For some reason Win98 chose a non-unique SCSILUN and SCSITargetID (0,0) for my external USB drive. This registry modification did not persist after disconnecting and reconnecting the USB HDD -- the original 0,0 values returned. BTW I don't have any real SCSI devices or adapters. [HKEY_LOCAL_MACHINE\Enum\SCSI\ST332062________5QF53Q22E\USBSTOR&JMDISK&0000USB&VID_152D&PID_2338&222251F5312200] "Capabilities"=hex:14,00,00,00 "SCSITargetID"="0" "SCSILUN"="1" "RevisionLevel"="E " "ProductId"=" 5QF53Q22" "Manufacturer"="ST332062" "DeviceType"=hex:00 "Int13"=hex:01 "PModeInt13"=hex:01 "CurrentDriveLetterAssignment"="HI" "HardwareID"="ST332062________5QF53Q22E,GenDisk,SCSI\\ST332062________5QF53Q22E" "Class"="DiskDrive" "ClassGUID"="{4d36e967-e325-11ce-bfc1-08002be10318}" "Driver"="DiskDrive\\0017" "Mfg"="(Standard disk drives)" "DeviceDesc"="ST332062 5QF53Q22" "ConfigFlags"=hex:00,00,00,00 Here are the relevant data for my Athlon XP machine using a JMicron driver under Windows 98SE: http://www.users.on.net/~fzabkar/Smartctl/reg_usbstor.txt http://www.users.on.net/~fzabkar/Smartctl/reg_usb.txt http://www.users.on.net/~fzabkar/Smartctl/reg_scsi.txt http://www.users.on.net/~fzabkar/Smartctl/reg_mod.txt http://www.users.on.net/~fzabkar/Smartctl/jmicron.log This is the log file for my AMD K6-2 Win98SE box using a generic Microsoft USB mass storage driver: smartctl -a -r ioctl,2 -d usbjmicron scsi10 http://www.users.on.net/~fzabkar/Smartctl/320GB_all.log -Franc Zabkar At 07:27 PM 11/03/09, you wrote: >Franc Zabkar wrote: > > Please excuse my ignorance, but I'm trying to access a 320GB Seagate > > PATA HDD in a USB JMicron enclosure from within a DOS box in Windows > > 98SE. > > > This is the command line I am trying to use: > > > > smartctl -i -d usbjmicron dev_name > > > > I have one PATA HD (sda) and two optical drives. > > > > What device name should I be using? > >Access to USB devices requires OS support to send SCSI commands through >USB. The only SCSI pass through support available on 9x/ME is the old >ASPI layer. The pseudo-device names used by smartctl to access ASPI are >'scsi[0-9][0-f]', see man page. But I don't know whether this actually >works for USB devices. > > > I believe the chipset is the JM20338. > >idProduct 0x2338 is also used by some products with JM20337. >http://smartmontools.wiki.sourceforge.net/overview_USB-Support > >JM20337 is a USB -> SATA+PATA bridge. >JM20338 is a USB+SATA -> PATA bridge. >(probably same chip with different firmware?) > >Does the enclosure provide both USB and eSATA ? > >-- >Christian Franke |
From: Christian F. <Chr...@t-...> - 2009-03-11 20:12:21
|
Franc Zabkar wrote: > Thanks. First let me correct an error. The chip is actually a JM20337 > USB -> SATA+PATA bridge, as you correctly point out. I was confused > by a reference to the JM20338 on the PCB. Apparently it refers to an > optional unpopulated connector location. > > Eventually I found that the following command worked, but only after > editing the registry: > > smartctl -a -d usbjmicron scsi10 > > [...] > Thanks for the detailed report. I have added an entry to the Wiki page. Cheers, Christian |