running Drivegui under Linux

您所在的位置:网站首页 drivegui running Drivegui under Linux

running Drivegui under Linux

2024-05-12 14:31| 来源: 网络整理| 查看: 265

Hello,

I am tring to run Drivegui configuration software under Linux Debian 10 by "https://www.kollmorgen.com/en-us/developer-network/does-setup-software-work-debian-linux-operating-system/".

I installed Drivegui under wine software

"# wine --version wine-6.0.1"

and it is running till I want to connect to drive via RS232 com port build in pc motherboard.

when I listed

" root@debian:/home/user/.wine/dosdevices# ls -l "

return is

"

root@debian:/home/user/.wine/dosdevices# ls -l total 0 lrwxrwxrwx 1 user user 10 Sep  3 12:57 c: -> ../drive_c lrwxrwxrwx 1 user user 10 Sep 14 15:30 com1 -> /dev/ttyS0 -rw-r--r-- 1 user user  0 Sep 14 15:26 com10 lrwxrwxrwx 1 user user 10 Sep 14 15:30 com2 -> /dev/ttyS1 lrwxrwxrwx 1 user user 10 Sep 14 15:30 com3 -> /dev/ttyS2 lrwxrwxrwx 1 user user 10 Sep 14 15:30 com4 -> /dev/ttyS3 lrwxrwxrwx 1 user user 23 Sep  3 13:00 d: -> '/media/user/myUSB

lrwxrwxrwx 1 user user  9 Sep  3 12:57 d:: -> /dev/sdb1 lrwxrwxrwx 1 user user  8 Sep  3 12:57 e:: -> /dev/sdb lrwxrwxrwx 1 user user  8 Sep  3 12:57 f:: -> /dev/sr0 lrwxrwxrwx 1 user user  1 Sep  3 12:57 z: -> /

"

there is row with wine com ports link

"lrwxrwxrwx 1 user user 10 Sep 14 15:30 com1 -> /dev/ttyS0"

that means, when I run windows Drivegui in Linux under wine, everything what is sending from Drivegui to COM1 will be sending to "/dev/ttyS0" by default in Linux.

here I am setting baud rate to "38400" as was default option on Windows machine and it worked well.

"root@debian:/# stty -F /dev/ttyS0 38400"

Here I am check again the speed and it is setted to "38400" "root@debian:/# stty -F /dev/ttyS0 -a speed 38400 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 100; time = 2; -parenb -parodd -cmspar cs8 -hupcl -cstopb cread clocal -crtscts -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 -isig -icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc"

But I still getting error message with communication error like when we have wrong post or speed setted...

What I should try fix for correct working Drivegui under Linux please?

Thanks for any response.

Regards Slav



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3