Connect device with com-to-usb

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
pavelsshtanko
Newbie
Newbie
Posts: 2
Joined: Fri Apr 28, 2023 4:08 am

Connect device with com-to-usb

Post by pavelsshtanko »

I have an acquiring device running on a comport (com-to-usb device)
I can't figure out how to connect it to wine
performed such actions:

ln -s /dev/ttyACM1 ~/.wine/dosdevices/com34

I prescribe in ~/.wine/system.reg the display of this port for Windows programs:

[Hardware\\Devicemap\\Serialcomm]
"Device\\Serial0"="COM34"

Where did "Device\\USBSER000" come from? Connected the desired device via USB to the Windows machine. In the registry (HKLM\SERIALCOMM) I found an entry how Windows "understands" this device, there was just "Device\\USBSER000".

Does not work, what am I doing wrong? Help please!
wine 8 stable version
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Connect device with com-to-usb

Post by jkfloris »

Does it make a difference if you create an entry in HKEY_LOCAL_MACHINE\Software\Wine\Ports ?

Code: Select all

wine reg add 'HKLM\Software\Wine\Ports' /v com34 /d /dev/ttyACM1
https://wiki.winehq.org/Wine_User%27s_G ... llel_Ports
pavelsshtanko
Newbie
Newbie
Posts: 2
Joined: Fri Apr 28, 2023 4:08 am

Re: Connect device with com-to-usb

Post by pavelsshtanko »

I tried to record as you suggested.
still doesn't work.

listing debug:

Code: Select all

Running wine- LoadParm.exe (Working directory : /home/mp-slave/.PlayOnLinux/wineprefix/mp_slave2/drive_c/sc552)
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
002c:fixme:ver:GetCurrentPackageId (0066FEA4 00000000): stub
0024:fixme:heap:RtlSetHeapInformation handle 00000000, info_class 1, info 00000000, size 0 stub!
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
0024:fixme:comm:set_queue_size insize 200000 outsize 850 unimplemented stub
0024:fixme:comm:set_queue_size insize 200000 outsize 850 unimplemented stub
003c:fixme:ver:GetCurrentPackageId (0068FEA4 00000000): stub
Last edited by pavelsshtanko on Fri May 19, 2023 1:09 am, edited 1 time in total.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Connect device with com-to-usb

Post by jkfloris »

Maybe the mountmgr debug channel will give more information

Code: Select all

WINEDEBUG=+mountmgr wine program.exe
Locked