https://bugs.winehq.org/show_bug.cgi?id=16091
Johannes Pfau johannespfau@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johannespfau@gmail.com
--- Comment #22 from Johannes Pfau johannespfau@gmail.com --- Hello all,
this is also a problem in rekordbox (rekordbox.com), at least in version 6 and 7. Rekordbox 7 works fine in wine, Rekordbox 6 needs some workarounds but in general works as well. But the export mode, which is probably the most common usecase, is not usable if it does not recognize an external drive.
Rekordbox also uses GetDriveTypeW internally and wine never returning DRIVE_REMOVABLE here is the first issue preventing external drive detection (I'll link some related issues and stand-alone repro test later).
For testing, I just patched mountmgr to allow specifying and "hdusb" type in the registry: https://github.com/jpf91/proton-wine/commit/645dd1d8c73995ba7effb35d8ca7e8c5...
With this patch, a registry key like this: [HKEY_LOCAL_MACHINE\Software\Wine\Drives] "r:"="hdusb"
Will make GetDriveTypeW return DRIVE_REMOVABLE.
However, it seems that Wine ignores all registry settings (even the already supported cdrom setting), when the drive has an actual backing device file. So you can only use this when the dosdevices symlink points to a directory and not a device file.
Is this intentional? Or is this another bug worth reporting?