http://bugs.winehq.org/show_bug.cgi?id=10051
Summary: Parallax SX Key IDE cannot detect serial port under WINE Product: Wine Version: 0.9.46. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-setupapi AssignedTo: wine-bugs@winehq.org ReportedBy: ultimatedevr@yahoo.com
Created an attachment (id=8599) --> (http://bugs.winehq.org/attachment.cgi?id=8599) Result of running SXKey.exe in wine with the +setupapi debug flag.
I am trying to run the Parallax SX Key IDE through WINE, however the IDE does not detect any of my serial ports. I have symlinked them to ~/.wine/dosdevices/ and added them to my registry, however the IDE still cannot detect my serial ports.
I am currently running WINE v.0.9.46 (the same problem exists in the CVS version as well).
(BTW, I have heard of others getting this to work, yet others who couldn't: http://forums.parallax.com/forums/default.aspx?f=15&m=217429&g=22169...)
http://bugs.winehq.org/show_bug.cgi?id=10051
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2007-10-16 10:26:29 --- Created an attachment (id=8606) --> (http://bugs.winehq.org/attachment.cgi?id=8606) reg file to work around problem
The bug isn't precisely in setupapi. As I commented on bug 9902, explorer's hal.c needs to create devices for the serial port. Try adding the attached registry entries to your registry ('regedit comport.reg') and seeing if that helps. Change the SymbolicLink value to the DOS name of the COM port you actually want to use. You'll need an up to date git, too - some fixes went in post-0.9.47.
http://bugs.winehq.org/show_bug.cgi?id=10051
--- Comment #2 from Kyle ultimatedevr@yahoo.com 2007-10-16 22:14:50 --- Created an attachment (id=8622) --> (http://bugs.winehq.org/attachment.cgi?id=8622) Updated output of +setupapi on CVS version of WINE
http://bugs.winehq.org/show_bug.cgi?id=10051
--- Comment #3 from Kyle ultimatedevr@yahoo.com 2007-10-16 22:16:53 --- Updated GIT, installed the CVS version of WINE, applied your regfile, made sure the symbolic links were correct (~/.wine/dosdevices/com1), still no go. I've attached a log of the +setupapi output.
(In reply to comment #1)
Created an attachment (id=8606)
--> (http://bugs.winehq.org/attachment.cgi?id=8606) [details]
reg file to work around problem
The bug isn't precisely in setupapi. As I commented on bug 9902, explorer's hal.c needs to create devices for the serial port. Try adding the attached registry entries to your registry ('regedit comport.reg') and seeing if that helps. Change the SymbolicLink value to the DOS name of the COM port you actually want to use. You'll need an up to date git, too - some fixes went in post-0.9.47.
http://bugs.winehq.org/show_bug.cgi?id=10051
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2007-10-18 09:47:28 --- Okay, I'll take a look when I get a chance. Is there a download URL for this app?
http://bugs.winehq.org/show_bug.cgi?id=10051
--- Comment #5 from Kyle ultimatedevr@yahoo.com 2007-10-18 11:05:18 --- http://www.parallax.com/dl/sw/sx/Setup-SX-Key-Editor-v3.2.3sm.exe
http://bugs.winehq.org/show_bug.cgi?id=10051
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.parallax.com/dl/s | |w/sx/Setup-SX-Key-Editor- | |v3.2.3sm.exe Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=10051
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8606 is|0 |1 obsolete| |
--- Comment #6 from Juan Lang juan_lang@yahoo.com 2007-10-24 12:43:49 --- Created an attachment (id=8743) --> (http://bugs.winehq.org/attachment.cgi?id=8743) Better reg fix
Thanks. I've sent a patch that, combined with this reg file, allows Parallax to see COM1 in the initial setup dialog: http://www.winehq.org/pipermail/wine-patches/2007-October/045711.html
Fix up the SymbolicLink value to whichever com port you like.
http://bugs.winehq.org/show_bug.cgi?id=10051
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #7 from Juan Lang juan_lang@yahoo.com 2007-10-24 20:43:40 --- Amusing thing about how the program works: it uses the FriendlyName value to determine the name of the COM port to show. So changing the FriendlyName value to something without a parenthesis causes a crash, and changing it to "Foo (Bar)" causes it to display Bar.
That's a note to whomever ends up really fixing this: the registry entries created for COM ports need to be reasonably similar to the Windows values.
http://bugs.winehq.org/show_bug.cgi?id=10051
Kyle ultimatedevr@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ultimatedevr@yahoo.com Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Kyle ultimatedevr@yahoo.com 2007-10-25 16:38:07 --- That seems to have done it; I can now read, program and verify from my SX microcontrollers :D However, when I try to debug the the SX the debugger always shows "Running" in the status bar when it should say "Idle"...I'll look into it more this weekend.
(In reply to comment #7)
Amusing thing about how the program works: it uses the FriendlyName value to determine the name of the COM port to show. So changing the FriendlyName value to something without a parenthesis causes a crash, and changing it to "Foo (Bar)" causes it to display Bar.
That's a note to whomever ends up really fixing this: the registry entries created for COM ports need to be reasonably similar to the Windows values.
(In reply to comment #6)
Created an attachment (id=8743)
--> (http://bugs.winehq.org/attachment.cgi?id=8743) [details]
Better reg fix
Thanks. I've sent a patch that, combined with this reg file, allows Parallax to see COM1 in the initial setup dialog: http://www.winehq.org/pipermail/wine-patches/2007-October/045711.html
Fix up the SymbolicLink value to whichever com port you like.
http://bugs.winehq.org/show_bug.cgi?id=10051
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #9 from Juan Lang juan_lang@yahoo.com 2007-10-25 16:53:35 --- Cool, I'm glad that works for you. It's still not working, however, as Wine should detect and configure your COM ports for you, so I'll leave this open for now.
http://bugs.winehq.org/show_bug.cgi?id=10051
Raul Aguaviva raul_aguaviva@yahoo.es changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |raul_aguaviva@yahoo.es
--- Comment #10 from Raul Aguaviva raul_aguaviva@yahoo.es 2008-02-06 18:39:18 --- *** Bug 11497 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=10051
--- Comment #11 from Austin English austinenglish@gmail.com 2008-11-29 02:16:15 --- Please retest in 1.1.9.
http://bugs.winehq.org/show_bug.cgi?id=10051
--- Comment #12 from Luca Bennati lucak3@gmail.com 2009-08-12 13:46:46 --- Still valid in wine-1.1.27-126-gc92bb27
http://bugs.winehq.org/show_bug.cgi?id=10051
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #13 from butraxz@gmail.com 2012-05-17 15:02:09 CDT --- This bug has not been updated for three years. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
http://bugs.winehq.org/show_bug.cgi?id=10051
--- Comment #14 from Kyle ultimatedevr@gmail.com 2012-07-03 21:33:06 CDT --- (In reply to comment #13)
This bug has not been updated for three years. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
Just tested this with WINE v1.5.7 and SX-Key v3.3.0; same problem (though the partial solution by Juan Lang still works.)
http://bugs.winehq.org/show_bug.cgi?id=10051
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=10051
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware
https://bugs.winehq.org/show_bug.cgi?id=10051
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned? Status|REOPENED |NEW Severity|major |normal
--- Comment #15 from Ken Sharp imwellcushtymelike@gmail.com --- Does this still occur in Wine 1.7.44 or later?
https://bugs.winehq.org/show_bug.cgi?id=10051
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com Keywords|Abandoned? | URL|http://www.parallax.com/dl/ |https://www.parallax.com/do |sw/sx/Setup-SX-Key-Editor-v |wnloads/sx-key-editor-softw |3.2.3sm.exe |are
--- Comment #16 from Alex Henrie alexhenrie24@gmail.com --- Still a problem in SX-Key Editor 3.3.0 and Wine 2.15.
https://bugs.winehq.org/show_bug.cgi?id=10051
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Parallax SX Key IDE cannot |Multiple applications fail |detect serial port under |to enumerate serial ports |WINE |using setupapi (Parallax SX | |Key IDE, YQ8003 Colorful | |Bicycle Wheel Light | |Software) Component|setupapi |mountmgr.sys CC| |z.figura12@gmail.com
--- Comment #17 from Zebediah Figura z.figura12@gmail.com --- Refining summary and collecting duplicates.
https://bugs.winehq.org/show_bug.cgi?id=10051
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mail@joachim-breitner.de
--- Comment #18 from Zebediah Figura z.figura12@gmail.com --- *** Bug 44033 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=10051
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |heha@hrz.tu-chemnitz.de
--- Comment #19 from Zebediah Figura z.figura12@gmail.com --- *** Bug 37724 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=10051
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|mountmgr.sys |serial