can't open com1

Questions about Wine on Linux
Locked
kombi
Newbie
Newbie
Posts: 3
Joined: Thu Nov 09, 2023 5:31 pm

can't open com1

Post by kombi »

Your highnesses!

When plugging in a pretty standard USB device (an opto coupler), running
dmesg -wH
nicely gives me:
[ +0.000183] usb 3-9: FTDI USB Serial Device converter now attached to ttyUSB0
which looks all fine. Also
ls -lh ~/.wine/dosdevices
com1 -> /dev/ttyUSB0
looks good! Wine regedit has
HKEY_LOCAL_MACHINE/Software/Wine/Ports
com1 REG_SZ /dev/ttyUSB0
and
minicom -s
9600 8N1
HOWEVER, I still get "cannot open com1"

What is there left to try or test?

Cheers,
kombi
kombi
Newbie
Newbie
Posts: 3
Joined: Thu Nov 09, 2023 5:31 pm

Re: can't open com1

Post by kombi »

I forgot to add:
cat /etc/group

Code: Select all

sys:x:3:kombi
adm:x:4:syslog,kombi
tty:x:5:kombi
kmem:x:15:
dialout:x:20:kombi
fax:x:21:
voice:x:22:
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: can't open com1

Post by jkfloris »

HOWEVER, I still get "cannot open com1"
When do you get this message?
You may get more information about what is going wrong if you start the program with the comm debug channel.

Code: Select all

WINEDEBUG=+comm wine program.exe
kombi
Newbie
Newbie
Posts: 3
Joined: Thu Nov 09, 2023 5:31 pm

Re: can't open com1

Post by kombi »

Message appears when the program tries to connect to ttyUSB0

With WINEDEBUG=+comm wine [.exe file] the program does not start: https://pastebin.com/Amhpv1sj
Locked