• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update /dev/ttyAMA0 UART pinout
#12
(June-15th-2021, 11:24 AM)Armin@netPI Wrote: The question with "netFIELD Connect" gateway running our original netFIELD OS with Hilschers original SD card the answer is very very easy:

Code:
docker run -d --privileged --network=host --restart=always -e SSHPORT=22 -p 22:22/tcp hilschernetpi/netpi-raspbian

Since netFIELD Connect gateway is supporting 100% orginial Docker without any limits just using the flag "--privileged" is enough to map ALL devices from the host machine into the container automatically. This is a 1:1 relationship. This makes using devices on netFIELD Connect very very easy since there is no need to map discrete /DEV/... manually any more as with netPI.

So call the list command "ls /DEV/" on the host Linux  and then call the list command in the container "ls /DEV/" and you will receive both times the very same result and you will see all devices mapped in the container. This is all you need to do.

Thanks. its working.
Now I am able to work with my device from inside the container in a netfield connect device. 
Question remains how can I enable the same device on Netpi ? modifying config.txt in boot partition is not ehough.

Regards,

Roy
  Reply


Messages In This Thread
Update /dev/ttyAMA0 UART pinout - by AlexRegev - January-17th-2021, 07:41 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - January-17th-2021, 08:05 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 11:09 AM
RE: Update /dev/ttyAMA0 UART pinout - by AlexRegev - January-17th-2021, 10:56 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - January-18th-2021, 07:51 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - January-18th-2021, 11:22 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 11:24 AM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 12:03 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 11:38 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 11:42 AM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 11:49 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 12:03 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 12:19 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 12:10 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 12:35 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 01:20 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 01:59 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 02:00 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-16th-2021, 08:17 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-16th-2021, 12:28 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-16th-2021, 12:55 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-16th-2021, 02:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)