/dev/ttyS0 - COM1 problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
stozher

/dev/ttyS0 - COM1 problem

Post by stozher »

Steen Loebger wrote:
Hello, I'm trying to run my weather station (Davis WMII) on wine 0-9-58
and OpenSuSe 10.3.
After installation of WeatherLink 5.7.1, I try to communicate via COM1
but the program can't find it and even not test with a loop plug in COM1.
Patch wine (see file below): wine regedit SerialComm.reg


I have changed the mode to 0777 for the serial devices in
/etc/udev/rules.d/50-udev-default.rules and rebooted.
OK!


/home/sel/.wine/dosdevices reveal that com1 is linked to /dev/ttyS0...
This is default for wine.

Also see in /var/lock for directory uucp (/var/lock/uucp).
Some software use this directory for locking COM port.

Patch file "SerialComm.reg":

REGEDIT4

[HKEY_LOCAL_MACHINE\Hardware\DeviceMap\SerialComm]
"Serial0"="COM1"
"Serial1"="COM2"
...
--
View this message in context: http://www.nabble.com/-dev-ttyS0---COM1 ... 22295.html
Sent from the Wine - Users mailing list archive at Nabble.com.
stozher

/dev/ttyS0 - COM1 problem

Post by stozher »

stozher wrote:
Patch wine (see file below): wine regedit SerialComm.reg
Console command of "regedit" (wine-0.9.59) didn't work with a
HKEY_LOCAL_MACHINE keys:
$ regedit SerialComm.reg <-- not work;
$ wine regedit.exe SerialComm.reg <-- not work.

Use only GUI version for imports:

$ regedit
Menu: Registry / Import Registry File...
--
View this message in context: http://www.nabble.com/-dev-ttyS0---COM1 ... 49325.html
Sent from the Wine - Users mailing list archive at Nabble.com.
Locked