From: daniel.sangorrin@toshiba.co.jp (Daniel Sangorrin)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] B@D: mapping serial device to the VM for ser2net
Date: Tue, 5 Sep 2017 11:23:01 +0900 [thread overview]
Message-ID: <000601d325ed$e5eeddb0$b1cc9910$@toshiba.co.jp> (raw)
In-Reply-To: <8760cyu015.fsf@ctlt579.codethink.co.uk>
Hello Robert,
> -----Original Message-----
> From: cip-dev-bounces at lists.cip-project.org [mailto:cip-dev-bounces at lists.cip-project.org] On Behalf Of Robert Marshall
> Sent: Monday, September 04, 2017 9:22 PM
> To: cip dev
> Subject: Re: [cip-dev] B at D: mapping serial device to the VM for ser2net
>
> Daniel
>
> "Daniel Sangorrin" <daniel.sangorrin@toshiba.co.jp> writes:
>
> > 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
> >
>
> For the USB settings have you tried the config suggestions at the end of this page:
> https://wiki.linuxfoundation.org/civilinfrastructureplatform/beagleboneblackboard
> points 15-16 intended for windows but should also work with debian
>
> I don't remember changing my local ser2net.conf and wondered whether
> 8020 was a default (or is that what you're saying), but it's been quite
> a few months since I set it up!
Yes, I had already tried those instructions but I couldn't see any devices showing up on my Virtualbox manager.
I solved the problem with these instructions:
$ sudo apt install virtualbox-ext-pack
$ sudo adduser $USER vboxusers
Now I can see the USB devices as in the instructions. Thanks for your help.
Regards,
Daniel
>
> Robert
>
> _______________________________________________
> cip-dev mailing list
> cip-dev at lists.cip-project.org
> https://lists.cip-project.org/mailman/listinfo/cip-dev
prev parent reply other threads:[~2017-09-05 2:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000601d325ed$e5eeddb0$b1cc9910$@toshiba.co.jp' \
--to=daniel.sangorrin@toshiba.co.jp \
--cc=cip-dev@lists.cip-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox