http://bugs.winehq.org/show_bug.cgi?id=16091
Summary: StickyDrive demo installer doesn't recognize USB key as removable Product: Wine Version: 1.1.8 Platform: Other URL: http://mmiline.com/ OS/Version: other Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
(From mmiline.com's main page, click on StickyDrive and then "Learn More", then under Red Sox demo, click "Download Now". This points to http://www2.stickyinc.com/download/getDownload.php?idTag=BOSTN-1668&acti... which downloads the installer in question, InstallStickyDrive-BOSTN-1668.exe.)
The installer puts up a dialog box of drive letters, saying "Please select a valid removable drive...", but nothing is listed, even if you have a USB drive inserted and Wine has already created a d: mapping for it. If you click on the "Show all drives" checkbox, all drives are indeed shown.
Happily for us, this dialog box is in a separate executable. While that prompt is up, grab a copy of C:\windows\temp\SDDriveSelector.exe You can then reproduce the problem easily by running just that .exe.
+relay shows it's using GetDriveType() on each drive, but evidently it doesn't like what it's getting.
You can work around this by using winecfg to mark d: as a floppy, but really, wine should know that the inserted USB drive is removable, shouldn't it?
http://bugs.winehq.org/show_bug.cgi?id=16091
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|kernel32 |-unknown Keywords| |regression
--- Comment #1 from Lei Zhang thestig@google.com 2008-11-21 20:27:59 --- This used to work in Wine 1.1.2, where the removable usb drives were of the type DRIVE_REMOVABLE. Since then, after a couple rounds of mountmgr.sys changes, devices that HAL reports as removable drives now get mapped to DRIVE_FIXED unless they're actual floppy drives or optical drives.
http://bugs.winehq.org/show_bug.cgi?id=16091
--- Comment #2 from Lei Zhang thestig@google.com 2008-11-25 21:20:12 --- FYI, this patch makes it work.
http://www.winehq.org/pipermail/wine-patches/2008-November/065129.html
http://bugs.winehq.org/show_bug.cgi?id=16091
--- Comment #3 from Austin English austinenglish@gmail.com 2010-06-27 20:12:23 --- Still present.
http://bugs.winehq.org/show_bug.cgi?id=16091
Tomasz Golinski tomaszg@alpha.uwb.edu.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tomaszg@alpha.uwb.edu.pl
--- Comment #4 from Tomasz Golinski tomaszg@alpha.uwb.edu.pl 2010-08-24 14:49:48 --- I have the same problem trying to install http://www.automapa.pl (navigation software). Option to install on USB is inactive.
Probably the best solution would be the possibility to mark a device as "removable" in winecfg. Marking it as "floppy" does not work.
http://bugs.winehq.org/show_bug.cgi?id=16091
annacegu@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |annacegu@yahoo.com.au
--- Comment #5 from annacegu@yahoo.com.au 2010-11-13 19:50:30 CST --- Also still present in 1.2 - trying to list drives that are DRIVE_REMOVABLE but none are showing up.
http://bugs.winehq.org/show_bug.cgi?id=16091
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=16091
--- Comment #6 from Austin English austinenglish@gmail.com 2011-10-04 19:29:55 CDT --- Created attachment 36719 --> http://bugs.winehq.org/attachment.cgi?id=36719 consider hotpluggable devices to be removable
This fixes the installer for me with a USB device. Anything that HAL considers hotpluggable will be reported as removable.
Winecfg now shows my usb drive as a floppy (though perhaps winecfg should differentiate between floppies and removable media).
http://bugs.winehq.org/show_bug.cgi?id=16091
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #7 from Austin English austinenglish@gmail.com 2011-10-04 19:30:41 CDT --- (In reply to comment #6)
Created attachment 36719 [details] consider hotpluggable devices to be removable
This fixes the installer for me with a USB device. Anything that HAL considers hotpluggable will be reported as removable.
Actually, may not fix the installer, I don't want my phone to be wiped :P. But it does recognize my phone as removable (instead of seeing no devices before).
http://bugs.winehq.org/show_bug.cgi?id=16091
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mountmgr.sys Platform|Other |x86 OS/Version|other |Linux
http://bugs.winehq.org/show_bug.cgi?id=16091
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com 2011-10-04 20:06:52 CDT --- I thought your patch could help bug 15661 but it didn't (for me). I have a sd card connected at /dev/sdb1 but winecfg keeps recognizing it as a floppy disk.
About the patch: Am I wrong or you have a dead assignment in hotplug = false ?
http://bugs.winehq.org/show_bug.cgi?id=16091
--- Comment #9 from Austin English austinenglish@gmail.com 2011-10-04 20:09:39 CDT --- (In reply to comment #8)
I thought your patch could help bug 15661 but it didn't (for me). I have a sd card connected at /dev/sdb1 but winecfg keeps recognizing it as a floppy disk.
Yeah, there's still a bit more to be done, it seems.
About the patch: Am I wrong or you have a dead assignment in hotplug = false ?
Yeah, that could be removed.
http://bugs.winehq.org/show_bug.cgi?id=16091
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression |
--- Comment #10 from Austin English austinenglish@gmail.com 2011-10-19 14:00:50 CDT --- Fails in 1.1.2 as well, removing regression keyword.
http://bugs.winehq.org/show_bug.cgi?id=16091
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #11 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-07-11 08:06:17 CDT --- Can't find a working download link anywhere (ftp://downloads.mmiline.com/StickyDriveBuilds/) doesn't work either.
Can someone please retest with latest wine (1.6-rc4 or later)?
http://bugs.winehq.org/show_bug.cgi?id=16091
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://mmiline.com/ |http://www.automapa.pl Summary|StickyDrive demo installer |AutoMapa demo installer |doesn't recognize USB key |doesn't recognize USB key |as removable |as removable
--- Comment #12 from Dan Kegel dank@kegel.com 2013-07-11 20:47:46 CDT --- ftp://smtp.mmiline.com/StickyDriveBuilds/BostonRSStickyDriveInstaller.zip is dead, but http://w3.automapa.pl/?PEI=53169&lng=EN&cid=206868&file=53310 lives on! I can reproduce this in the 3rd dialog of the demo installer, 67fecac4af7c86f0c666f01e5e1ac0f032d43ff9 AutoMapa_6.13_1304_demo.exe So still present in wine-1.6-rc4.
http://bugs.winehq.org/show_bug.cgi?id=16091
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Erbureth@seznam.cz
--- Comment #13 from Anastasius Focht focht@gmx.net --- *** Bug 18330 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=16091
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|AutoMapa demo installer |Multiple applications fail |doesn't recognize USB key |to recognize USB mass |as removable |storage devices (must be | |reported as 'removable | |disk') (AutoMapa 6.x, | |Garmin)
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary to collect duplicates here.
Regards
https://bugs.winehq.org/show_bug.cgi?id=16091
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #15 from super_man@post.com --- Assuming still valid issue, but does anyone have a link to valid download?
wine 1.7.50
https://bugs.winehq.org/show_bug.cgi?id=16091
--- Comment #16 from Dan Kegel dank@kegel.com --- http://www.automapa.pl/pl/pobierz/wersje-demonstracyjne/ has a current demo; I haven't tried it.
https://bugs.winehq.org/show_bug.cgi?id=16091
--- Comment #17 from super_man@post.com ---
http://www.automapa.pl/pl/pobierz/wersje-demonstracyjne/ has a current demo; I haven't tried it.
Server Error in '/' Application. The resource cannot be found.
https://bugs.winehq.org/show_bug.cgi?id=16091
--- Comment #18 from Dan Kegel dank@kegel.com --- Downloaded fine here just now on my linux box; sha1sum is 01e7bf312615a570f42a7a18a45a554e8f39ede2 AutoMapa_6.18_1502_PL_demo.exe
I still haven't tried it, though.
https://bugs.winehq.org/show_bug.cgi?id=16091
--- Comment #19 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to super_man from comment #17)
http://www.automapa.pl/pl/pobierz/wersje-demonstracyjne/ has a current demo; I haven't tried it.
Server Error in '/' Application. The resource cannot be found.
I got that the first time I tried; the problem was NoScript blocking automapa.pl. Allowing it in NoScript gets you to the next screen, which has a button with the real download link.
Or, just download it directly from http://cn.w1.automapa.pl/www/AutoMapa_6.18_1502_PL_demo.exe.
https://bugs.winehq.org/show_bug.cgi?id=16091
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de
https://bugs.winehq.org/show_bug.cgi?id=16091
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #20 from Fabian Maurer dark.shadow4@web.de --- Is this still an issue? Download is dead.
https://bugs.winehq.org/show_bug.cgi?id=16091
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.automapa.pl |https://web.archive.org/web | |/20211030200849/https://s3. | |distributorcentral.com/uplo | |ads/0/7/07340B20313ADE9BC76 | |49410975AB5D4.zip
--- Comment #21 from Anastasius Focht focht@gmx.net --- Hello folks,
I've found the old StickyDrive installer here:
https://web.archive.org/web/20210228061004/https://www.mmiline.com/p/about
-> "Boston Red Sox - Download"
Created snapshot here:
https://web.archive.org/web/20211030200849/https://s3.distributorcentral.com...
07340B20313ADE9BC7649410975AB5D4.zip contains 'InstallStickyDrive-BOSTN-1668.exe'
The problem is obviously still present.
--- snip --- $ WINEDEBUG=+mountmgr wine ./InstallStickyDrive-BOSTN-1668.exe ... 0054:trace:mountmgr:create_disk_device created device L"\Device\HarddiskVolume2" 0054:trace:mountmgr:get_volume_device_info "/dev/sdb1": found fs type 3 0054:trace:mountmgr:set_volume_info fs_type 0x3, label L"", serial 7bdc11a2 0054:trace:mountmgr:add_mount_point created L"\??\Volume{00000000-0000-0000-0000-000000000044}" id (null) for L"\Device\HarddiskVolume2" 0054:trace:mountmgr:add_mount_point created L"\DosDevices\D:" id (null) for L"\Device\HarddiskVolume2" ... 005c:trace:mountmgr:udisks2_add_device udi "/org/freedesktop/UDisks2/block_devices/sdb1" device "/dev/sdb1" mount point "/run/media/focht/7BDC-11A2" uuid {00000000-7bdc-11a2-0000-000000000000} type "vfat" removable 1 005c:trace:mountmgr:delete_mount_point deleting L"\DosDevices\D:" 005c:trace:mountmgr:release_volume {00000000-0000-0000-0000-000000000044} udi (null) 005c:trace:mountmgr:delete_mount_point deleting L"\??\Volume{00000000-0000-0000-0000-000000000044}" 005c:trace:mountmgr:delete_disk_device deleting device L"\Device\HarddiskVolume2" 005c:trace:mountmgr:create_disk_device created device L"\Device\Harddisk1" 005c:trace:mountmgr:get_volume_device_info "/dev/sdb1": found fs type 3 005c:trace:mountmgr:set_volume_info fs_type 0x3, label L"", serial 7bdc11a2 005c:trace:mountmgr:add_mount_point created L"\??\Volume{00000000-7bdc-11a2-0000-000000000000}" id (null) for L"\Device\Harddisk1" 005c:trace:mountmgr:add_mount_point created L"\DosDevices\D:" id (null) for L"\Device\Harddisk1" 005c:trace:mountmgr:add_dos_device added device d: udi "/org/freedesktop/UDisks2/block_devices/sdb1" for "/dev/sdb1" on "/run/media/focht/7BDC-11A2" type 0 ... 0058:trace:mountmgr:mountmgr_ioctl ioctl 6d4084 insize 32 outsize 32 0058:trace:mountmgr:find_volume_by_letter found matching volume {00000000-7bdc-11a2-0000-000000000000} for drive letter d: 0058:trace:mountmgr:query_unix_drive returning d: dev "/dev/sdb1" mount "/run/media/focht/7BDC-11A2" type 0 0058:trace:mountmgr:mountmgr_ioctl ioctl 6d4084 insize 32 outsize 32 0058:trace:mountmgr:find_volume_by_letter found matching volume {00000000-0000-0000-0000-000000000045} for drive letter e: 0058:trace:mountmgr:query_unix_drive returning e: dev "/dev/sdb" mount (null) type 0 ... --- snip ---
--- snip --- $ lsblk -o "NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID" /dev/sdb1
NAME MAJ:MIN RM SIZE RO FSTYPE MOUNTPOINT UUID sdb1 8:17 1 3.7G 0 vfat /run/media/focht/7BDC-11A2 7BDC-11A2 --- snip ---
$ sha1sum 07340B20313ADE9BC7649410975AB5D4.zip 5442418d74434aac543b595ba996631c61d4cc4b 07340B20313ADE9BC7649410975AB5D4.zip
$ du -sh 07340B20313ADE9BC7649410975AB5D4.zip 3.9M 07340B20313ADE9BC7649410975AB5D4.zip
$ wine --version wine-6.20-234-g5f93c683ab0
Regards
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?
https://bugs.winehq.org/show_bug.cgi?id=16091
Johannes Pfau johannespfau@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |56735
https://bugs.winehq.org/show_bug.cgi?id=16091
--- Comment #23 from Johannes Pfau johannespfau@gmail.com --- https://bugs.winehq.org/show_bug.cgi?id=56735 has a small test case which also tests GetDriveTypeW.
https://bugs.winehq.org/show_bug.cgi?id=16091
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase