[Bug 16091] New: StickyDrive demo installer doesn't recognize USB key as removable
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(a)winehq.org ReportedBy: dank(a)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&action=d... 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? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Lei Zhang <thestig(a)google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|kernel32 |-unknown Keywords| |regression --- Comment #1 from Lei Zhang <thestig(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 --- Comment #2 from Lei Zhang <thestig(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2010-06-27 20:12:23 --- Still present. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Tomasz Golinski <tomaszg(a)alpha.uwb.edu.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomaszg(a)alpha.uwb.edu.pl --- Comment #4 from Tomasz Golinski <tomaszg(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 annacegu(a)yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |annacegu(a)yahoo.com.au --- Comment #5 from annacegu(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 --- Comment #6 from Austin English <austinenglish(a)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). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com --- Comment #7 from Austin English <austinenglish(a)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). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mountmgr.sys Platform|Other |x86 OS/Version|other |Linux -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #8 from Bruno Jesus <00cpxxx(a)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 ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 --- Comment #9 from Austin English <austinenglish(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | --- Comment #10 from Austin English <austinenglish(a)gmail.com> 2011-10-19 14:00:50 CDT --- Fails in 1.1.2 as well, removing regression keyword. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy(a)gmail.com --- Comment #11 from Frédéric Delanoy <frederic.delanoy(a)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)? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Dan Kegel <dank(a)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(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Erbureth(a)seznam.cz --- Comment #13 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 18330 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16091 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)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(a)gmx.net> --- Hello folks, refining summary to collect duplicates here. Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #15 from super_man(a)post.com --- Assuming still valid issue, but does anyone have a link to valid download? wine 1.7.50 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 --- Comment #16 from Dan Kegel <dank(a)kegel.com> --- http://www.automapa.pl/pl/pobierz/wersje-demonstracyjne/ has a current demo; I haven't tried it. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 --- Comment #17 from super_man(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 --- Comment #18 from Dan Kegel <dank(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 --- Comment #19 from Rosanne DiMesio <dimesio(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 Detlef Riekenberg <wine.dev(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev(a)web.de -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #20 from Fabian Maurer <dark.shadow4(a)web.de> --- Is this still an issue? Download is dead. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 Anastasius Focht <focht(a)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(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 Johannes Pfau <johannespfau(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johannespfau(a)gmail.com --- Comment #22 from Johannes Pfau <johannespfau(a)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? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 Johannes Pfau <johannespfau(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |56735 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 --- Comment #23 from Johannes Pfau <johannespfau(a)gmail.com> --- https://bugs.winehq.org/show_bug.cgi?id=56735 has a small test case which also tests GetDriveTypeW. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16091 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla