Hallo,
dlls/winaspi/aspi.c in SCSI_GetProcinfo has hard coded device pathes.
It uses /dev/sg[a-z].
While this is probably totally linux centric and needs further work
for other platforms, it even is often wrong with linux, as
../linux/Documentation/devices.txt tells:
====Begin====
21 char Generic SCSI access
0 = /dev/sg0 First generic SCSI device
1 = /dev/sg1 Second generic SCSI device
...
Most distributions name these /dev/sga, /dev/sgb...;
this sets an unnecessary limit of 26 SCSI devices in
the system and is counter to standard Linux
device-naming practice.
====End=======
as my system uses /dev/sg[0...], I had to aspi.c like below.
Bye
Uwe Bonnes [EMAIL PROTECTED]
Free Software: If you contribute nothing, expect nothing
--
gauss:~/tmp/wine/compile> cvs diff -u wine/dlls/winaspi/aspi.c
Index: wine/dlls/winaspi/aspi.c
===================================================================
RCS file: /home/wine/wine/dlls/winaspi/aspi.c,v
retrieving revision 1.3
diff -u -r1.3 aspi.c
--- wine/dlls/winaspi/aspi.c 2000/03/19 12:42:31 1.3
+++ wine/dlls/winaspi/aspi.c 2000/03/25 18:14:32
@@ -320,7 +320,7 @@
/* Add to registry */
sprintf(idstr, "h%02dc%02dt%02dd%02d", dev.host, dev.channel,
dev.target, dev.lun);
- sprintf(devstr, "/dev/sg%c", 'a'+devnum);
+ sprintf(devstr, "/dev/sg%c", '0'+devnum);
if( RegSetValueExA(hkeyScsi, idstr, 0, REG_SZ, devstr,
strlen(devstr)+1 ) != ERROR_SUCCESS )
{
ERR("Could not set value
HEKY_DYN_DATA\\%s\\%s\n",KEYNAME_SCSI, idstr);