rocasa / ttylog

Print everything to stdout that comes from a serial device.
GNU General Public License v2.0
30 stars 18 forks source link

Get constantly repeating message 'vboxnetctl' #2

Closed fedulovivan closed 6 years ago

fedulovivan commented 8 years ago

Installed on osx with brew bash-3.2$ brew install ttylog Trying to redirect serial device data to file bash-3.2$ ttylog -b 115200 -d /dev/cu.wchusbserial1410 -f > test.txt Get the following data in test file (head also shows binary file warning):

bash-3.2$ head -n 20 test.txt
stdin
stdout
stderr
�
I
afsc_type5
io8logtemp
vboxnetctl
vboxnetctl
vboxnetctl
...

Btw, screen command produces expected results:

bash-3.2$ screen /dev/cu.wchusbserial1410 115200
20/4/2016 01:48:58;6.00;94
20/4/2016 01:48:58;6.00;94
jame commented 8 years ago

Some questions:

fedulovivan commented 8 years ago

I tried that with ttylog version 0.25, OSX 10.10.5 right on MBP, without any virtualisation. cu.wchusbserial1410 is Chinese 'usb to serial' adapter.

jame commented 8 years ago

Ah, I see what was at least an aspect of the problem you've been seeing: there was an issue with the v0.25 version of ttylog where the modem_device string was being truncated. That was corrected in version v0.26, which was released in June of 2015. I would have thought that newer version would have been picked up by brew... Please try the newer version if you have not already done so and let me know how it goes.

jame commented 8 years ago

Note that the release archive is available at https://sourceforge.net/projects/ttylog/files/ttylog/0.26/.

jame commented 6 years ago

Since there was no further followup from him, assuming that the issue was resolved.