How can I find Arduino's UART COM port in MAC / Linux - uart

I'm using Arduino DUE with a Windows 7 machine.
In Windows, I can check the list of ports(COM & LPT) at the "Device Manager".
What about in MAC OSX or Linux (Ubuntu)?
-Best regards

You should find the device by using
dmesg | grep tty
after plugging it in.

Related

STM32 USB connection problem on windows 7

I have a board based on stm32f103cb with a USB connection in CDC device mode to connect with PC.
On windows 10 this board is recognized as a virtual com port but in windows 7 it is not.
I used Keil IDE and CMSIS library to configure the project.
One pin is defined as output to connect USB D+ pin via a resistor to 3.3V.
I installed STM32 USB Virtual COM port driver Win7 but anyway it is not working.
Windows 7 throws error code 29.
Any ideas or info very much appreciated.

Remote access to a Jetson Nano

I am trying to remotely access a Jetson Nano from my mac. So far I have done the following:
I installed microsoft Remote Desktop on my mac
I connected the nano with my mac through the Micro-usb Port
In network I could see the connection "linux for Tegra" where my nano would be 192.168.55.1
With this I still cannot remote access the nano
So I open a terminal and typed
>ssh username#192.168.55.1
and I could access the nano terminal.
So I think now, I have to do
>sudo apt install xrdp
in order to be able to remotely access the GUI.
However, the nano does not have internet connection.
Is there a way that it can use the internet connection of my mac to do this?
(I am reading a tutorial on Rasppi with windows and apparently this is possible)
One of the approaches is to install X server for mac and then use ssh -Y username#192.168.55.1. You will get the command line shell first but you can type in commands like gedit - they windows will show up on the host.
192.168.55.1 is the same network as any other. All tools supposed to work over TCP/IP should work with it as well.
USB is a Serial connection by default.
On windows use a putty based tool.
For example start with MobaXterm > New session > Serial #11500
Login
Password
It won't forward internet by default.
Best simple way is to plug in your phone as USB network sharing and plug in to the laptop via micro-USB.
For Linux, Ubuntu, use a serial ("COM" related stuff) tool.
If you want to do ssh through USB it will require custom editing of networking file.
By default Nano is using a bridge called L4TBRO on 192.168.55.1, laptop is client in .100.
DNS server is on Nano's side.
You would have to create a new interface but using your laptop as DCHP and DNS servers.
Note that usb can power the Jetson Nano for continuous execution on a recent laptop. Some recommends not to and it may crash if you run a compilation on all cores. (if it crashes, just disable 2 cores via nvpmodel -m 1)

connect camera to virtual machine VMware Workstation 14

I have a paid version of VMware Workstation 14.
I mostly use a few VM's running simultaneously.
I tried to create a VM for editing, including some editing SW (like Adobe's SW). Everything went smooth, until I tried to connect the camera (DSLR) to the VM in order to control it via the PC. But, then the connected camera didn't appear on the VM. It appears only in the host computer.
Is it possible?
If not, does Hyper-V will be more suitable for this (I prefer to find a solution based on VMware, due to it supports well of Linux distro)?
Host PC: Win 10 PRO
VM: Windows 10 PRO
I have a VMWare Workstation 15 Pro on my Windows 10 (Host). I have attached an image showing the 2 easy steps:
VMWare Workstation(15 Pro): Connect Integrated Webcam To Running Guest OS
Power up your Guest OS in VMWare Workstation
Below the Guest OS screen, you will see a bar with hardware shortcuts for the Guest OS
On the bar's right there are icons for "Hard Disk", "Network Adapter", "Mouse"...
Find "Integrated Webcam" > "Connect (Disconnect from Host)"
This will disconnect the integrated cam of your device from your Host OS and connect it to the Guest OS. If you have multiple Guest OS running, you can simply follow the above steps to change the integrated-cam connection to any OS from previously connected Host or Guest OS.
Have you tried looking in the settings of the VM for the setting to connect/disconnect USB devices?
Example:
VM > Removable Devices > Device Name > Connect (Disconnect from host)
Additional information is available in the docs: https://docs.vmware.com/en/VMware-Workstation-Pro/14.0/com.vmware.ws.using.doc/GUID-E003456F-EB94-4B53-9082-293D9617CB5A.html

Configuring SSH over USB on ARM AM335x running angstrom linux 3.2.0

I have a AM335X ARM processor on a custom board. I am running angstrom linux 3.2.0 on it.
My build environment is a 64 bit laptop running Ubuntu 12.0.4.
I was hoping (I am a newbie), someone could explain what I need to do to configure the board (and host desktop) to run SSH over USB.
Any help would be greatly appreciated
It depends whether you have OTG port or not. If yes, you should configure it to emulate a network device. Connect your board to your laptop and you should see a new networking device (usb0 or something like this). Configure IP addresses for both host usb0 and one on your board and you're done having an extra IP subnet, where you can ping, SSH etc.

Program to read values from USB in linux

So, I need to read data coming in from the USB port. Normally I do this with Realterm when I am on a Windows computer. But now I am on a linux computer and would like to do the same thing. What is a good replacement?
Thanks
Use libusb - see http://www.libusb.org/
It comes with lots of functions/source/samples for USB and allows reading/writing etc.
It is licensed under LGPL 2.1
realterm is a windows terminal emulator. Here is the SuperUser thread that got closed on the same subject.