Jump to content

Recommended Posts

Posted

Надо с СОМа в файл записывать все что приходит

вот если вручную то работает

Цитата:

[root@Altlinux cron.hourly]# cu -l /dev/ttyS0 -s 19200 -d -e

cu: fconn_open: Opening port /dev/ttyS0 (speed 19200)

cu: fconn_set: Changing setting to 2, 2, 2

Connected.

!" #$%&'()*+,-./01QRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxy z{|}

cu: Got termination signal

cu: Exit status 0

cu: fconn_close: Closing connection

а если автоматически из cron.* то вот нифига

Цитата:

cu: fconn_open: Opening port /dev/ttyS0 (speed 19200)

cu: fconn_set: Changing setting to 2, 2, 2

cu: End of file on terminal

cu: Signal 9

cu: child: Got signal 9

cu: fconn_close: Closing connection

MadMadMad подскажите чайнику

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...