http://bugs.winehq.org/show_bug.cgi?id=33017
Bug #: 33017 Summary: Cannot update Garmin with Wine 1.5.24 Product: Wine Version: 1.5.24 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: aftersun81@gmail.com Classification: Unclassified
I'm using Ubuntu 12.04 (kernel 3.7.7), and tried to solve the problem with my Garmin Nüvi 3760, but failed. The Firefox is running perfectly, and the plugin is also installed, but the device cannot be found. If I try to install the USB plugin which they recommend, I get an error message, that it needs admin privileges.
The device itself is reachable through wine, mounting the device as drive E.
Is there any possibility to manage Garmin device through Wine and Firefox?
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #1 from Austin English austinenglish@gmail.com 2013-02-19 12:57:25 CST --- If it depends on device drivers, no: http://wiki.winehq.org/FAQ#head-8021e00ae87d4fbfb607739af82bdb621b9d9366
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2013-02-19 13:10:11 CST --- (In reply to comment #0)
... If I try to install the USB plugin which they recommend, I get an error message, that it needs admin privileges.
This part about priviledges may be bug 33006.
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #3 from Devil aftersun81@gmail.com 2013-02-20 15:29:22 CST --- Created attachment 43658 --> http://bugs.winehq.org/attachment.cgi?id=43658 Screenshot
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #4 from Devil aftersun81@gmail.com 2013-02-20 15:30:27 CST --- I rechecked several forums since then, the driver is not a problem, because the one I wanted to install is the same as the one the Firefox installed as a plugin, and the Firefox also confirms, that the plugin is installed - but no device is found.
I enclose a screenshot where it can be seen, that the plugin is ok, the device itself is mounted as drive F:, but the webpage doesn't find any device.
I really don't know, why the webpage doesn't recognize the device.
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #5 from Stefan Leichter Stefan.Leichter@camLine.com 2013-02-21 16:22:31 CST --- Without a Garmin device it might be hard to debug, but here is what i found looking into the debug logs of firefox with the installed pluging. If you have access to a computer with installed windows it might be interesting to know if the Garmin show up in the registry at:
HKLM\HARDWARE\DEVICEMAP\SERIALCOMM HKLM\System\CurrentControlSet\Enum
Garmin specific registry information (not present in wine) looked up from the plugin are below HKLM\System\CurrentControlSet\Control\DeviceClasses{2C9C45C2-8E7D-4C08-A12D-816BBAE722C0}
If your device show up (under windows) as "Removable Media" does it show up in wines explorer in the same way when you connect it?
PortableDeviceApi.dll is another way that is checked from the plugin. Maybe you can get the dll from a windows installation for testing. You may need to register the dll!
The last thing the plugin tries is CreateFileW("\\.\grmn1300-0", ..)
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #6 from Devil aftersun81@gmail.com 2013-02-25 17:05:47 CST --- Tried to debug, and under Device manager in Windows I found EEC5AD..... as my Garmin ID, but it cannot be found under HKLM\System\CurrentControlSet\Control\DeviceClasses, but founded under HKLM\System\ControlSet001\Control\Class.
I tried to import all the three of these kind of registry under wine, but nothing changed. Also the HKLM\System\CurrentControlSet\Control\DeviceClasses\ registry entry doesn't exist in wine - but it seemed that nothing is under that branch.
Also tried to check whether the wine explorer sees it removable device or not, but cannot succeeded. Is there any easy way to check it?
After reboot I enclose the whole HKLM part of my registry, in case, someone finds something helpful.
I also tried to import the PortableDeviceApi.dll, but it aint't worked :(
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #7 from Devil aftersun81@gmail.com 2013-02-25 17:29:50 CST --- http://www.fileswap.com/dl/8QT83IOcJa/windows_registry.reg http://www.fileswap.com/dl/nWuFWXxwNs/wine_registry.reg
http://bugs.winehq.org/show_bug.cgi?id=33017
Stefan Leichter Stefan.Leichter@camLine.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Stefan.Leichter@camLine.com
--- Comment #8 from Stefan Leichter Stefan.Leichter@camLine.com 2013-02-27 16:10:55 CST --- (In reply to comment #5)
If your device show up (under windows) as "Removable Media" does it show up in wines explorer in the same way when you connect it?
I got access to a garmin and now i guess the problem is here. Under windows xp the garmin shows up das removeable media. In wine the plugin does a GetDriveTypeW for the drive the garmin is mapped to, but GetDriveType returns DRIVE_FIXED.
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #9 from Devil aftersun81@gmail.com 2013-02-28 06:32:19 CST --- Is there any trick to get the drive set to Removable, or this is it, and no trick is available?
(In reply to comment #8)
(In reply to comment #5)
If your device show up (under windows) as "Removable Media" does it show up in wines explorer in the same way when you connect it?
I got access to a garmin and now i guess the problem is here. Under windows xp the garmin shows up das removeable media. In wine the plugin does a GetDriveTypeW for the drive the garmin is mapped to, but GetDriveType returns DRIVE_FIXED.
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com 2013-02-28 06:37:43 CST --- Reminds me of bug 16091.
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #11 from Stefan Leichter Stefan.Leichter@camLine.com 2013-02-28 13:45:37 CST --- Created attachment 43744 --> http://bugs.winehq.org/attachment.cgi?id=43744 Dirty hack
With the attached patch the device is "somehow" detected. I'm wondering why it is detected two time but better twice than not at all. The next problem might be:
0062:Call KERNEL32.FindFirstFileW(02ba74e8 L"S:/Garmin/GarminDevice.xml",02ba7a5c) ret=01ccb99c 0062:Ret KERNEL32.FindFirstFileW() retval=ffffffff ret=01ccb99c
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #12 from Stefan Leichter Stefan.Leichter@camLine.com 2013-02-28 13:47:52 CST --- Forgot to say, the Garmin needs to be mounted to get detected
http://bugs.winehq.org/show_bug.cgi?id=33017
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #43744|0 |1 is patch| | Attachment #43744|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=33017
Stefan Leichter Stefan.Leichter@camLine.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #43744|0 |1 is obsolete| |
--- Comment #13 from Stefan Leichter Stefan.Leichter@camLine.com 2013-02-28 14:07:20 CST --- Created attachment 43745 --> http://bugs.winehq.org/attachment.cgi?id=43745 Better dirty hack
This hack makes the detection of the Garmin work for me, if the Garmin is mounted
http://bugs.winehq.org/show_bug.cgi?id=33017
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #43745|0 |1 is patch| | Attachment #43745|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #14 from Stefan Leichter Stefan.Leichter@camLine.com 2013-02-28 15:45:30 CST --- Created attachment 43747 --> http://bugs.winehq.org/attachment.cgi?id=43747 Another not so Garmin specific approach
http://bugs.winehq.org/show_bug.cgi?id=33017
Stefan Leichter Stefan.Leichter@camLine.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #43747|0 |1 is obsolete| |
--- Comment #15 from Stefan Leichter Stefan.Leichter@camLine.com 2013-02-28 15:47:29 CST --- Created attachment 43748 --> http://bugs.winehq.org/attachment.cgi?id=43748 Another not so Garmin specific approach
This time without the eclipse project file
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #16 from Devil aftersun81@gmail.com 2013-03-04 16:01:51 CST --- Thanks for the help, but can someone describe in detail how to apply this patch, it would be really helpful :)
(In reply to comment #13)
Created attachment 43745 [details] Better dirty hack
This hack makes the detection of the Garmin work for me, if the Garmin is mounted
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #17 from Stefan Leichter Stefan.Leichter@camLine.com 2013-03-04 16:20:16 CST --- Please read http://wiki.winehq.org/Patching
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #18 from Devil aftersun81@gmail.com 2013-03-21 14:52:44 CDT --- Tried both patch, but nothing seems to be working :( The Garmin was automounted when I plugged in : /media/GARMIN/, and the filesystem is vfat. The debug output was this in Firefox :
fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:exec:SHELL_execute flags ignored: 0x00004100 aftersun@Devil:~$ fixme:system:SetProcessDPIAware stub! fixme:process:SetProcessDEPPolicy (1): stub fixme:iphlpapi:NotifyAddrChange (Handle 0x28fe96c, overlapped 0x28fe950): stub fixme:winsock:WSCGetProviderPath ({e70f1aa0-ab8b-11cf-8ca3-00805f48a192} 0x2c9e768 0x2c9e728 0x2c9e754) Stub! fixme:winsock:WSCGetProviderPath ({e70f1aa0-ab8b-11cf-8ca3-00805f48a192} 0x2c9e768 0x2c9e728 0x2c9e754) Stub! fixme:winsock:WSCGetProviderPath ({11058240-be47-11cf-95c8-00805f48a192} 0x2c9e768 0x2c9e728 0x2c9e754) Stub! fixme:winsock:WSCGetProviderPath ({11058241-be47-11cf-95c8-00805f48a192} 0x2c9e768 0x2c9e728 0x2c9e754) Stub! fixme:winsock:WSCGetProviderPath ({11058241-be47-11cf-95c8-00805f48a192} 0x2c9e768 0x2c9e728 0x2c9e754) Stub! fixme:advapi:FileEncryptionStatusW (L"C:\users\aftersun\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates\0\update-1.status" 0x33cd64): stub fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:FileEncryptionStatusW (L"C:\users\aftersun\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\active-update-1.xml" 0x33bf64): stub fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:FileEncryptionStatusW (L"C:\users\aftersun\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates-1.xml" 0x33bf64): stub fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:ntdll:NtLockFile I/O completion on lock not implemented yet fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599 fixme:pulse:AudioSessionControl_SetGroupingParam (0x154df0)->({008d5303-e6e8-4d11-b83f-7125bfd572a6}, (null)) - stub fixme:pulse:AudioSessionControl_SetGroupingParam (0x154df0)->({00000000-0000-0000-0000-000000000000}, (null)) - stub fixme:pulse:AudioSessionControl_UnregisterAudioSessionNotification (0x154df0)->(0x3a9cf40) - stub fixme:win:EnumDisplayDevicesW ((null),0,0x33c388,0x00000000), stub! fixme:resource:GetGuiResources (0xffffffff,0): stub fixme:win:FlashWindowEx 0x33b5a4 fixme:imm:ImmGetOpenStatus (0x170390): semi-stub fixme:imm:ImmReleaseContext (0x1006e, 0x170390): stub err:ole:CoGetClassObject class {f7747266-777d-4f61-a175-dd5adf1e37df} not registered err:ole:CoGetClassObject no class object {f7747266-777d-4f61-a175-dd5adf1e37df} could be created for context 0x1 fixme:advapi:FileEncryptionStatusW (L"C:\users\aftersun\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\active-update-1.xml" 0x33abe4): stub fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:FileEncryptionStatusW (L"C:\users\aftersun\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates-1.xml" 0x33abe4): stub fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:FileEncryptionStatusW (L"C:\users\aftersun\Application Data\Mozilla\Firefox\Profiles\my7cgcw3.default\sessionstore-1.js" 0x39fe42c): stub fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented err:ole:CoGetClassObject class {f7747266-777d-4f61-a175-dd5adf1e37df} not registered err:ole:CoGetClassObject no class object {f7747266-777d-4f61-a175-dd5adf1e37df} could be created for context 0x1 err:ole:CoGetClassObject class {4125dd96-e03a-4103-8f70-e0597d803b9c} not registered err:ole:CoGetClassObject class {4125dd96-e03a-4103-8f70-e0597d803b9c} not registered err:ole:CoGetClassObject no class object {4125dd96-e03a-4103-8f70-e0597d803b9c} could be created for context 0x3 fixme:win:FlashWindowEx 0x33c354 err:ole:CoGetClassObject class {f7747266-777d-4f61-a175-dd5adf1e37df} not registered err:ole:CoGetClassObject no class object {f7747266-777d-4f61-a175-dd5adf1e37df} could be created for context 0x1 err:ole:CoGetClassObject class {f7747266-777d-4f61-a175-dd5adf1e37df} not registered err:ole:CoGetClassObject no class object {f7747266-777d-4f61-a175-dd5adf1e37df} could be created for context 0x1
And this was generated when clicked the search for devices :
fixme:process:SetProcessDEPPolicy (1): stub fixme:shell:SetCurrentProcessExplicitAppUserModelID L"C:\Program Files\Mozilla Firefox\omni.ja": stub Got comm error on port: C err:ole:CoGetClassObject class {0af10cec-2ecd-4b92-9581-34f6ae0637f3} not registered err:ole:CoGetClassObject no class object {0af10cec-2ecd-4b92-9581-34f6ae0637f3} could be created for context 0x1 Got comm error on port: C Got comm error on port: C Got comm error on port: C Got comm error on port: C Got comm error on port: C Got comm error on port: C Got comm error on port: C
(In reply to comment #17)
Please read http://wiki.winehq.org/Patching
Also ran update and upgrade after patching.
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #19 from Stefan Leichter Stefan.Leichter@camLine.com 2013-03-22 12:55:30 CDT --- When your Garmin is connected and you run:
wine explorer
Do you see a drive corresponding to you Garmin? Do you find the file \Garmin\GarminDevice.xml on this drive. If you can not see the file, the detection will fail.
http://bugs.winehq.org/show_bug.cgi?id=33017
--- Comment #20 from Devil aftersun81@gmail.com 2013-03-24 07:57:16 CDT --- The file is on the device, and it can be seen from wine explorer, nothing has been removed from the device, except the Demo, GPX, Text and Voice directory, but I think these directories has no effect for the device detection, as it is working on Windows without these directories.
(In reply to comment #19)
When your Garmin is connected and you run:
wine explorer
Do you see a drive corresponding to you Garmin? Do you find the file \Garmin\GarminDevice.xml on this drive. If you can not see the file, the detection will fail.
http://bugs.winehq.org/show_bug.cgi?id=33017
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #21 from Anastasius Focht focht@gmx.net --- Hello folks,
your are mixing various issues in one bug - this is not helpful at all.
'Cannot update Garmin with Wine 1.5.24' -> duplicate and already fixed. 'I get an error message, that it needs admin privileges.' -> duplicate and already fixed.
comments #8 - comment #11 -> bug 16091
Please decide for _one_ issue and adjust the bug summary otherwise the bug will be closed as 'invalid'.
Regards
https://bugs.winehq.org/show_bug.cgi?id=33017
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #22 from Austin English austinenglish@gmail.com --- (In reply to Anastasius Focht from comment #21)
Hello folks,
your are mixing various issues in one bug - this is not helpful at all.
'Cannot update Garmin with Wine 1.5.24' -> duplicate and already fixed. 'I get an error message, that it needs admin privileges.' -> duplicate and already fixed.
comments #8 - comment #11 -> bug 16091
Please decide for _one_ issue and adjust the bug summary otherwise the bug will be closed as 'invalid'.
Regards
Invalid.
https://bugs.winehq.org/show_bug.cgi?id=33017
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Austin English austinenglish@gmail.com --- Closing.