Hilscher Community Forum
USB Port Mapping - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: USB Port Mapping (/thread-754.html)



USB Port Mapping - DSongra - August-24th-2021

Dear Armin,

Hope you are doing well!

I am working on Modbus RTU node red in our NetPi RTE Gateway using RS485 to USB converter, but not able to mapped the USB port in node red docker container, as we have already done this successfully in last year (thread-653) I have referred this same.

I am getting error while creating the Docker Container if I add "/dev/ttyUSB0" in Devices attached screenshot for your reference.


Br,
Devendra


RE: USB Port Mapping - Armin@netPI - August-24th-2021

Well you need to know to which physical device the USB converter is mapped to. Then you can map it right

To get out to which physical device it is mapped to take $30 consumer raspberry pi or an open netFIELD Connect gateway. Then establish a terminal connection to the used device.

In the terminal session call the command first of all


Code:
ls /dev/

This command lists all available physical devices in the OS. 

After that insert the USB converter into this device and call again

Code:
ls /dev/

You will recognize that a new device was created next to all the other existing ones. Remember this name of this new device. This device will be exactly the same device as it will be mapped in netPI later.


RE: USB Port Mapping - DSongra - August-24th-2021

Dear Armin,

I have checked, but not showing USB port info, node red created through the Docker only not from console. Please find attached screenshot.

USB converter connect and removed and connect back again try the same few times, but still same response.


Br,
Devendra


RE: USB Port Mapping - Armin@netPI - August-24th-2021

No I said you need to use consumer Raspberry Pi for this test or netFIELD Connect gateway. I did not say using netPI for this test! The USB test is NOT possible on netPI.