I've had been looking for a way to get a Hitachi into Mode-B from windows for ages...
Not because I don't like Slax, it's the business, especially when it comes to USB 2 SATA adapters, but because I just can't be bothered with all that rebooting.... Also, for a long time I was using Slax 2.0 alpha 1 thinking it was 2.1 Doh!!!!!... 2.0 didn't work with my Promise SATA controller, so I'd have to removed it each time, or I'd just use the 2 wire trick or more recently my Xecuter connectivity kit for pre 78's....
One shortcoming of Slax is that it won't Mode-B a spoofed drive... Not really a problem with a flashed drive coz you can just leave the tray open, but on occasion I've seen where a Noob has spoofed a drive before they hacked and then they are in difficulty... Can always use a 2-wire trick for a pre 78 or the passkey for the 79 but with the 78 you're pretty much screwed....
Having read Seventhson's
Hitachi DVD Page . I tried using his
Windows Mode-B which he designed for a PATA 2 SATA adapter, he does say it should work with a legacy mode SATA controller.....So I reckoned my Via6421 might do the job...
From his readme I knew I needed the command and control block base register i/o ports:
my MS info says
QUOTE
Name VIA RAID Controller - 3249
Manufacturer VIA Technologies, Inc.
Status OK
PNP Device ID PCI\VEN_1106&DEV_3249&SUBSYS_32491106&REV_50\4&11CD5334&0&58F0
I/O Port 0x00001CC0-0x00001CCF
I/O Port 0x00001CD0-0x00001CDF
I/O Port 0x00001CE0-0x00001CEF
I/O Port 0x00001CF0-0x00001CFF
I/O Port 0x00001CA0-0x00001CBF
I/O Port 0x00001000-0x000010FF
IRQ Channel IRQ 22
So I reckoned, some form of "modeb_win 1CC0

? 32" just had to figure out the i/o port for the control block base register so I tried most of the ones in the MSinfo32 above, but no joy.......
Anyway last night I was looking though the dmesg on the Slax console and noticed this:
QUOTE
sata_via 0000:04:0b.0: version 2.0
sata_via 0000:04:0b.0: routed to hard irq line 5
ata5: SATA max UDMA/133 cmd 0x1CC0 ctl 0x1CCA bmdma 0x1CA0 irq 22
ata6: SATA max UDMA/133 cmd 0x1CD0 ctl 0x1CDA bmdma 0x1CA8 irq 22
So the next time in windows I tried "modeb_win
1CC0 1CCA 32" and it worked, should say "done", 79 up spun fast and took 2 ejects on my Xecuter 2.0 connectivity kit to eject the tray...
Still didn't show up in device manager... Seventhson did say he had to restart windows 98 to get the drive recognised.. However I just disabled my Via card in the device manager and when I re-enabled it, the cdrom showed up in Device Manager shortly after the SATA was enabled.....
So, to use I reckon most modders will have a Via 6421 and you'll know the command block base register I/O port from iPrep and doing Benq's the control block base register I/O port will probably be that plus 0x0A...
If that doesn't work then you can boot of the slax 2.1 cd, login as
username = root
password = toor
and type "dmesg | more" at the prompt an look out for something like that above...
Don't know if this will work for other controllers, but it's worth a try....