http://bugs.winehq.org/show_bug.cgi?id=9902
Summary: ports not found by certain apps - fixme:setupapi:SetupDiClassGuidsFromNameExA Product: Wine Version: 0.9.46. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: graylion@sm-wg.net
Several apps do not find ports (parallel or serial)
see here:
http://www.winehq.org/pipermail/wine-users/2007-May/027318.html
also
SOBvMAX - http://appdb.winehq.org/objectManager.php?sClass=version&iId=9331&iT...
has a port allocation program - SOB_PORTS.exe that cannot see the com ports and the console gives the message shown in the subject.
http://bugs.winehq.org/show_bug.cgi?id=9902
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Summary|ports not found by certain |ports not found by certain |apps - |applications |fixme:setupapi:SetupDiClassG| |uidsFromNameExA |
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2007-10-05 08:53:38 --- Don't put fixmes in the summary. Attach complete terminal output not just one line.
http://bugs.winehq.org/show_bug.cgi?id=9902
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com Component|wine-advapi32 |wine-setupapi
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2007-10-05 10:15:13 --- I'm changing the componenet to setupapi as it's at least related, but the real component should be explorer.
Explorer's hal.c should be extended to create new devices for all the ports it finds, using SetupDiCreateDeviceInfo followed by SetupDiRegisterDeviceInfo. For some devices it should also call SetupDiCreateDeviceInterface to register a particular interface.
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #3 from Bernhard Rohrer graylion@sm-wg.net 2007-10-05 10:43:41 --- whole out is:
graylion@lionscage:~/.wine/drive_c/Program Files/SOBvMAX$ wine SOB_PORTS.exe fixme:setupapi:SetupDiClassGuidsFromNameExA fixme:setupapi:SetupDiClassGuidsFromNameExA fixme:setupapi:SetupDiClassGuidsFromNameExA fixme:setupapi:SetupDiClassGuidsFromNameExA graylion@lionscage:~/.wine/drive_c/Program Files/SOBvMAX$
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2007-10-16 10:28:08 --- Created an attachment (id=8607) --> (http://bugs.winehq.org/attachment.cgi?id=8607) reg file to work around problem
Can you run the attached reg file and see if it works around the problem? Change the SymbolicLink value to the DOS name of the com port you want to use. You'll need an up to date git, some fixes got in after 0.9.47.
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #5 from Bernhard Rohrer graylion@sm-wg.net 2007-10-16 17:04:23 --- sorry, will try with 0.9.47 but will give compiling a git a miss. should have an update tomorrow or so.
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #6 from Juan Lang juan_lang@yahoo.com 2007-10-16 17:49:50 --- Don't bother with 0.9.47 - like I said, there were some fixes post that release. Wait till 0.9.48 instead, and please update then. If it fails with this reg hack applied with 0.9.48, please post a +setupapi log here.
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #7 from Bernhard Rohrer graylion@sm-wg.net 2007-10-16 17:53:43 --- cheers, will do
http://bugs.winehq.org/show_bug.cgi?id=9902
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8607 is|0 |1 obsolete| |
--- Comment #8 from Juan Lang juan_lang@yahoo.com 2007-10-24 12:49:48 --- Created an attachment (id=8744) --> (http://bugs.winehq.org/attachment.cgi?id=8744) Better reg fix
Hi Bernhard, I haven't quite figured this one out. If I run SOB_PORTS.exe, it shows an empty list of com ports. But if I click on the "Show all" checkbox, it shows COM1 and more. Is that sufficient?
This reg file makes the registry slightly more correct, so please use it when trying 0.9.48.
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #9 from Bernhard Rohrer graylion@sm-wg.net 2007-10-25 05:59:48 --- Hi Juan
that sounds good. I'll try with .48 as soon as I have it. I'll soon also have a GPS to test with.
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #10 from Bernhard Rohrer graylion@sm-wg.net 2007-10-25 06:04:32 --- oh, to make that clear. in 0.9.46 I could click "show all" as often as i wanted with no result whatsoever.
http://bugs.winehq.org/show_bug.cgi?id=9902
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8744 is|0 |1 obsolete| |
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2007-10-25 10:17:31 --- Created an attachment (id=8760) --> (http://bugs.winehq.org/attachment.cgi?id=8760) Yet better reg fix
Okay, thanks. I've fixed a bug that prevented the COM port from showing up in the first dialog. Additionally, it needs this reg file (adjust to whatever COM port you want to use.)
If you see an error "Access denied [5]" in the Status column, be sure to change permissions on the actual COM port (/dev/ttyS0 for me.)
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #12 from Bernhard Rohrer graylion@sm-wg.net 2007-10-29 09:47:20 --- when do we get the .deb for ubuntu? I am noticing that 0.9.48 is out :)
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #13 from Juan Lang juan_lang@yahoo.com 2007-10-29 14:47:09 --- No idea, you might bug Scott Ritchie (the package maintainer.)
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #14 from Bernhard Rohrer graylion@sm-wg.net 2007-10-31 08:39:04 --- ok, didit
result: SOB_PORTS see the port and gets the data alright
SOB-MAX doesn't get any data :(
how do we go about testing this?
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #15 from Juan Lang juan_lang@yahoo.com 2007-10-31 19:43:00 --- Hm. I don't know. You might try asking on wine-users, some people there have more experience working with serial ports in Wine than I do.
http://bugs.winehq.org/show_bug.cgi?id=9902
Forrest Samuels forrest@alumni.ncsu.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |forrest@alumni.ncsu.edu
--- Comment #16 from Forrest Samuels forrest@alumni.ncsu.edu 2008-01-12 21:52:23 --- I am having the same problems in another application, EasyGPS. The registry fix works in adding COM1. Getting this fixed without having to import registry keys would make EasyGPS go from a Gold to a Platinum rating.
I've found a Freeware library that EasyGPS (and I imagine a lot of other applications use) to query the available COM ports. It is EnumSerialPorts (http://www.naughter.com/enumser.html) and has 7 different methods to find the available COM ports. The download also includes an application, EnumSer.exe that tests and shows the output for all the functions (making it really easy to test). I think we should be returning a list of ports for each of these functions as they are a common set of APIs that are likely used by many appliations.
EasyGPS in particular is using the CEnumerateSerial::UsingSetupAPI2 function which returns nothing currently.
This could also be the same as bug 2898 and with helpful info in bug 4633.
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #17 from Forrest Samuels forrest@alumni.ncsu.edu 2008-01-12 22:01:50 --- Created an attachment (id=10209) --> (http://bugs.winehq.org/attachment.cgi?id=10209) Windows XP Registry Export for COM1
Export of HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\ACPI\PNP0501 on Windows XP for system with only 1 serial port.
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #18 from Forrest Samuels forrest@alumni.ncsu.edu 2008-01-12 23:14:04 --- Created an attachment (id=10210) --> (http://bugs.winehq.org/attachment.cgi?id=10210) Updated Registry File Fix (com 1 - 5)
This is based off attachment 8760 but updated to include some additional keys found in the registry on Windows XP. This also creates com1 - com5 instead of just com1.
http://bugs.winehq.org/show_bug.cgi?id=9902
Forrest Samuels forrest@alumni.ncsu.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #10210|application/x-extension-reg |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=9902
Forrest Samuels forrest@alumni.ncsu.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #19 from Forrest Samuels forrest@alumni.ncsu.edu 2008-04-07 13:14:15 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=9902
Hans Gatu hans.gatu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans.gatu@gmail.com
--- Comment #20 from Hans Gatu hans.gatu@gmail.com 2008-06-03 01:59:26 --- I am using Wine 1.0-rc2 with Absolute Linux 12.1 (Slackware 12.1) on a PentiumII 300MHz. I installed the Velleman PCS500 Digital PC Oscilloscope that uses the parallel port but when I start the application it says that it can not find the parallel port so it runs only in demo mode.
According to: http://www.lafraze.net/nbernard/doc/misc_tips/velleman.html it could be done configuring old versions of Wine but ./wine/config is not there any longer when using the recent versions of Wine.
Can it be done that Wine 1.0 will be able to detect the parallel port?
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #21 from Austin English austinenglish@gmail.com 2008-06-03 11:21:37 --- http://www.winehq.org/site/docs/wineusr-guide/misc-things-to-configure#AEN40...
http://bugs.winehq.org/show_bug.cgi?id=9902
Marco Trevisan (Treviño) trevi55@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |trevi55@gmail.com
--- Comment #22 from Marco Trevisan (Treviño) trevi55@gmail.com 2008-07-13 13:20:16 --- I'd like to sync my cellphone with some windows software that uses COM ports to talk with it.
The problem is that also if I symlink my virtual serial ports in $WINEPREFIX/dosdevices the softwares I'm using doesn't see them. They simply see no com ports available in my computer.
I've tried p2ktools (in AT mode), Mobile PhoneTools and others... No one sees an available com port in my PC.
http://bugs.winehq.org/show_bug.cgi?id=9902
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tstellar@gmail.com
--- Comment #23 from Tom Stellard tstellar@gmail.com 2008-09-14 09:21:10 --- I am using Wine 1.1.4, and I am having a similar problem with Samsung PC Studio v3.1.3.GK2. I have created a symbolic link to /dev/ttyUSB1 in .wine/dos_devices, but the application does not detect any serial ports when I try and connect my phone. I have also tried all the registry fixes attached to this bug, but they did not work for me. I would post a debug log, but I am not sure which debug channel to use.
http://bugs.winehq.org/show_bug.cgi?id=9902
Shane Kennedy sbkenn@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sbkenn@gmail.com
--- Comment #24 from Shane Kennedy sbkenn@gmail.com 2008-11-28 19:04:20 --- works for some apps, but still not SOB. App "advanced serial port monitor" shows data, but SOB indicates invalid data
http://bugs.winehq.org/show_bug.cgi?id=9902
Mike Antees mike_antees@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike_antees@yahoo.com
--- Comment #25 from Mike Antees mike_antees@yahoo.com 2009-01-01 21:08:25 --- Still no luck with me either....
From my terminal I started the gpsd daemon (I tried a few parms like read only
and run in the background, but in the end I risked my GPS for the greater good): sudo gpsd /dev/ttyUSB0
I then created a symbolic link and created a com port5: sudo ln -sb /dev/ttyUSB0 /dev/ttyS4
I then did some checking to ensure the links are correct, the permissions are OK and the gpsd daemon is running: ~$ ls -l /dev/ttyS4
lrwxrwxrwx 1 root root 12 2008-12-30 14:34 /dev/ttyS4 -> /dev/ttyUSB0 ~$ ls -l /dev/ttyUSB0
crw-rw-rw- 1 root dialout 188, 0 2008-12-30 15:42 /dev/ttyUSB0 ~$ ps -ef|grep gpsd nobody 17117 1 1 14:50 ? 00:00:36 gpsd -n /dev/ttyUSB0
Now when I use the application SOB_ports.exe and test it on COM port 5 I see it finds the GPS sentence JUST ONCE ONLY, and not again. I then can see it does not display it on the SOBvMAX NMEA data panel at all.
I then checked the gpsd daemon using a utility called xgps that comes with the gpsd daemon. I wanted to know if its a tty setting or failure of the GPS device: ~$ /usr/bin/xgps localhost::/dev/ttyS4
The xgps software which shows all is working OK. It works not only from COM port5 but also from /dev/ttyUSB0.
I did a further test using a facility called gpspipe to test the ports again. It proves the GPS and ports are working correctly. ~$ gpspipe -r -s /dev/ttyS4 GPSD,R=1 $GPGGA,044631,3346.6348,S,15115.6338,E,2,09,0.80,14.00,M,20.191,M,,*63 $GPRMC,044631,A,3346.6348,S,15115.6338,E,0.0000,0.000,301208,,*38 $GPGSA,A,3,23,19,06,13,07,08,28,25,03,,,,0.0,0.8,1.2*35 $PGRME,0.00,M,0.00,M,0.00,M*1E $GPGGA,044632,3346.6349,S,15115.6344,E,2,09,0.80,13.60,M,20.191,M,,*6B $GPRMC,044632,A,3346.6349,S,15115.6344,E,0.3342,80.789,301208,,*09 $GPGSA,A,3,23,19,06,13,07,08,28,25,03,,,,0.0,0.8,1.2*35 $PGRME,0.00,M,0.00,M,0.00,M*1E ^C I then did another test using the ~/.vine/dosdevices/ttyS4 thinking that the problem may still be in the Wine/Linux boundary.
I also played around with the Hardware Control off/on from within SOBvMAX, but no good.
Of interest to me was that from within SOB I could switch on its logging function and it logged NMEA sentences fine...., but the SOB_PORTS.exe program which assigned the com port to SOB (mentioned by an earlier tester) only shows 1 NMEA sentence and then no more, while it continues to log.
Baffled... Mike
http://bugs.winehq.org/show_bug.cgi?id=9902
--- Comment #26 from Austin English austinenglish@gmail.com 2009-07-08 15:01:24 --- Is this still an issue in current (1.1.25 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=9902
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED
--- Comment #27 from Austin English austinenglish@gmail.com 2010-04-29 18:19:58 --- No response in over 6 months, and no download available. Marking abandoned.
If this is still an issue in current (1.1.43 or newer) wine, and you can provide the needed information, feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=9902
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #28 from Austin English austinenglish@gmail.com 2010-04-29 18:27:29 --- Closing.