Reading ttyUSB Through Wine Error

Questions about Wine on Linux
Post Reply
heap
Newbie
Newbie
Posts: 1
Joined: Mon Nov 19, 2018 4:10 am

Reading ttyUSB Through Wine Error

Post by heap » Mon Nov 19, 2018 4:20 am

Hello,

I am trying to run the PeakTech DMM Tool with a PeakTech 3430 multimeter. The device is connected to my USB port and maps to /dev/ttyUSB1, which I linked to ~/.wine-dmm/dosdevices/com6. When running the software and trying to connect to COM6, the application fails to read data from it. The followin error message appears:

Code: Select all

0052:fixme:comm:set_queue_size insize 4096 outsize 2048 unimplemented stub
However, when running it with WINEDEBUG="+comm", there are more messages:

Code: Select all

0009:fixme:mscoree:parse_startup useLegacyV2RuntimeActivationPolicy=L"true" not implemented
0009:fixme:gdiplus:resample_bitmap_pixel Unimplemented interpolation 6
0009:trace:comm:GetCommState handle 0x12c, ptr 0x1033968
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_GET_BAUD_RATE (nil) 0 0x32e7bc 4 0x32e744
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_GET_LINE_CONTROL (nil) 0 0x32e7b9 3 0x32e744
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_GET_HANDFLOW (nil) 0 0x32e7cc 16 0x32e744
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_GET_CHARS (nil) 0 0x32e7c6 6 0x32e744
0009:trace:comm:GetCommState OK
0009:trace:comm:dump_dcb bytesize=8 baudrate=38400 fParity=0 Parity=0 stopbits=1
0009:trace:comm:dump_dcb ~IXON ~IXOFF
0009:trace:comm:dump_dcb fOutxCtsFlow=0 fRtsControl=1
0009:trace:comm:dump_dcb fOutxDsrFlow=0 fDtrControl=1
0009:trace:comm:dump_dcb ~CRTSCTS
0009:trace:comm:SetCommState handle 0x12c, ptr 0x1033968
0009:trace:comm:dump_dcb bytesize=8 baudrate=19230 fParity=0 Parity=0 stopbits=1
0009:trace:comm:dump_dcb ~IXON ~IXOFF
0009:trace:comm:dump_dcb fOutxCtsFlow=0 fRtsControl=1
0009:trace:comm:dump_dcb fOutxDsrFlow=0 fDtrControl=1
0009:trace:comm:dump_dcb ~CRTSCTS
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_SET_BAUD_RATE 0x32e7bc 4 (nil) 0 0x32e754
0009:warn:comm:set_baud_rate You (or a program acting at your behest) have specified
a non-standard baud rate 19230.  Wine will set the rate to 19230,
which is as close as we can get by our present understanding of your
hardware. I hope you know what you are doing.  Any disruption Wine
has caused to your linux system can be undone with setserial
(see man setserial). If you have incapacitated a Hayes type modem,
reset it and it will probably recover.
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_SET_LINE_CONTROL 0x32e7b9 3 (nil) 0 0x32e754
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_SET_HANDFLOW 0x32e7cc 16 (nil) 0 0x32e754
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_SET_CHARS 0x32e7c6 6 (nil) 0 0x32e754
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_PURGE 0x32e8b4 4 (nil) 0 0x32e824
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_SET_QUEUE_SIZE 0x32e874 8 (nil) 0 0x32e814
0009:fixme:comm:set_queue_size insize 4096 outsize 2048 unimplemented stub
0009:trace:comm:SetCommTimeouts (0x12c, 0x1033990)
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_SET_TIMEOUTS 0x32e858 20 (nil) 0 0x32e7f4
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_SET_DTR (nil) 0 (nil) 0 0x32e7b4
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_CLR_RTS (nil) 0 (nil) 0 0x32e7b4
0009:trace:comm:io_control 0x12c IOCTL_SERIAL_GET_COMMSTATUS (nil) 0 0x32e9b8 20 0x32e954
0009:trace:comm:ClearCommError => status 0,0, in 0, out 0, eof 0, wait 0
So, is this just not supported (unimplemented) or is there anything I can do to make this work?

Thank you!

Post Reply