public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [cip-dev] B@D: mapping serial device to the VM for ser2net
@ 2017-09-04  8:42 Daniel Sangorrin
  2017-09-04 12:21 ` Robert Marshall
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Sangorrin @ 2017-09-04  8:42 UTC (permalink / raw)
  To: cip-dev

Hi,

I'm trying to setup ser2net for LAVA to access the serial port output of the 
Renesas iwg20m board via local telnet from within the B at D virtual machine.

I managed to get it working by using the Serial port settings window at
the Oracle VM Virtualbox Manager (GUI). In particular, I used port mode 'Host Device'
and '/dev/ttyUSB1' for the Path/Address (the device file name on the host).

That maps the host's /dev/ttyUSB1 to the VM's /dev/ttyS0, so I also had
to modify the /etc/ser2net.conf file and specify that port 2000 is supposed
to use a 115200 baud rate.

Although works fine (telnet localhost 2000), I see that you guys are using the 
port 8020 for /dev/ttyUSB0 by default so I was wondering if there is a better strategy. 
# I have also tried using the "USB" settings in the Virtualbox Manager (after installing 
# the extension pack), but I haven't figured out how to it works yet

Thanks,
Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-05  2:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-04  8:42 [cip-dev] B@D: mapping serial device to the VM for ser2net Daniel Sangorrin
2017-09-04 12:21 ` Robert Marshall
2017-09-05  2:23   ` Daniel Sangorrin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox