# \#serial

**URL:** https://forums.balena.io/tag/serial/25.md

[Latest](https://forums.balena.io/latest.md) · [Categories](https://forums.balena.io/categories.md) · [Tags](https://forums.balena.io/tags.md)

---

## [Enable authenticated shell through serial console in production mode](https://forums.balena.io/t/enable-authenticated-shell-through-serial-console-in-production-mode/372422)

<div class="topic-metadata">

**Author:** [@jrj-d](https://forums.balena.io/u/jrj-d)\
**Replies:** 2\
**Last updated:** [November 14, 2024, 4:07pm UTC](https://forums.balena.io/t/enable-authenticated-shell-through-serial-console-in-production-mode/372422 "2024-11-14T16:07:15Z")

</div>

Hello, I’m using the stock “Compulab IOTDIN-iMX8P 1G-8G DRAM” image and I’d like to be able to open a shell through the DBG USB port in a secure manner. This brings me two questions: Is it possible to enable the seri…

---

## [Enable serial console in a production device](https://forums.balena.io/t/enable-serial-console-in-a-production-device/372467)

<div class="topic-metadata">

**Author:** [@berkayg](https://forums.balena.io/u/berkayg)\
**Replies:** 3\
**Last updated:** [November 14, 2024, 1:44pm UTC](https://forums.balena.io/t/enable-serial-console-in-a-production-device/372467 "2024-11-14T13:44:43Z")

</div>

Hello, I am using a CTI photon nano board with a Jetson Nano. I would like to enable serial console in a production image. I have tried using Using balenaOS 4.0.9 with 4.9.299-l4t-r32.7.3 Supervisor version: 14.12.1 m…

---

## [rpi4 Serial Issues](https://forums.balena.io/t/rpi4-serial-issues/368237)

<div class="topic-metadata">

**Author:** [@mattyg](https://forums.balena.io/u/mattyg)\
**Replies:** 8\
**Last updated:** [August 23, 2023, 12:47am UTC](https://forums.balena.io/t/rpi4-serial-issues/368237 "2023-08-23T00:47:36Z")

</div>

I have been having some troubles getting the TX/RX pins on the rasberry pi4 to behave as the documentation suggests they ought to. I have read the docs, and seen a number of somewhat conflicting reports as to the right …

---

## [USB issues with xHCI ring expansion failures](https://forums.balena.io/t/usb-issues-with-xhci-ring-expansion-failures/368145)

<div class="topic-metadata">

**Author:** [@TomK](https://forums.balena.io/u/TomK)\
**Replies:** 13\
**Last updated:** [August 4, 2023, 8:16am UTC](https://forums.balena.io/t/usb-issues-with-xhci-ring-expansion-failures/368145 "2023-08-04T08:16:10Z")

</div>

Hey folks, I’ve encountered an issue which generates several kernel errors and sporadic crashes, following long-running processes with serial I/O and an Arducam, and only after updating balenaOS on several RPi 4 devices…

---

## [Enable rs485 mode on iot-gate-imx8](https://forums.balena.io/t/enable-rs485-mode-on-iot-gate-imx8/299229)

<div class="topic-metadata">

**Author:** [@MaxFerretti78](https://forums.balena.io/u/MaxFerretti78)\
**Replies:** 18\
**Last updated:** [November 24, 2022, 9:05am UTC](https://forums.balena.io/t/enable-rs485-mode-on-iot-gate-imx8/299229 "2022-11-24T09:05:32Z")

</div>

Hello, we are testing a project on a CompuLab iot-gate-imx8 device and we need to access the onboard serial to comunicate using Modbus protocol. The onboard serial can be set on 232 or 485 mode, but we cannot find a wa…

---

## [Container can´t access /dev/ttyAMA0](https://forums.balena.io/t/container-can-t-access-dev-ttyama0/350392)

<div class="topic-metadata">

**Author:** [@Mawiguk0](https://forums.balena.io/u/Mawiguk0)\
**Replies:** 5\
**Last updated:** [August 19, 2022, 2:35pm UTC](https://forums.balena.io/t/container-can-t-access-dev-ttyama0/350392 "2022-08-19T14:35:41Z")

</div>

Hi there, our Application does need access to /dev/ttyAMA0 to use Bluetooth in our Stack. On our pre-balena raspbian with docker installed the container can easily access the interface with the --devices flag: docker r…

---

## [Enable the serial console on a production device](https://forums.balena.io/t/enable-the-serial-console-on-a-production-device/31794)

<div class="topic-metadata">

**Author:** [@tacLog](https://forums.balena.io/u/tacLog)\
**Replies:** 10\
**Last updated:** [May 27, 2022, 11:33am UTC](https://forums.balena.io/t/enable-the-serial-console-on-a-production-device/31794 "2022-05-27T11:33:57Z")

</div>

Talks about how to disable serial on a dev device. I have long wanted to be able to do this but been unable. Is there a way to enable serial support on a production device? Usecase, I have a signed agreement saying I…

---

## [Container can´t access serial Interface to establish BLE Device Resets.](https://forums.balena.io/t/container-can-t-access-serial-interface-to-establish-ble-device-resets/350442)

<div class="topic-metadata">

**Author:** [@Markus.Kohn.GWA](https://forums.balena.io/u/Markus.Kohn.GWA)\
**Replies:** 14\
**Last updated:** [April 6, 2022, 12:53pm UTC](https://forums.balena.io/t/container-can-t-access-serial-interface-to-establish-ble-device-resets/350442 "2022-04-06T12:53:38Z")

</div>

Hi there, We are currently evaluating BalenaCloud for our new Device/ Fleet Management. Now we need to dockerize our Application, which itself is easy to dockerize but we got a balena specific problem where you might be…

---

## [UART Failure after upgrading to 2.71.3+rev1 from 2.50.1+rev1 on Variscite IMX8M](https://forums.balena.io/t/uart-failure-after-upgrading-to-2-71-3-rev1-from-2-50-1-rev1-on-variscite-imx8m/275528)

<div class="topic-metadata">

**Author:** [@anathan84](https://forums.balena.io/u/anathan84)\
**Replies:** 67\
**Last updated:** [December 22, 2021, 1:49pm UTC](https://forums.balena.io/t/uart-failure-after-upgrading-to-2-71-3-rev1-from-2-50-1-rev1-on-variscite-imx8m/275528 "2021-12-22T13:49:02Z")

</div>

We recently upgraded our lab devices to 2.71.3+rev1 (after recommendations from this thread https://forums.balena.io/t/chronyc-config-is-bad-if-device-comes-online-without-internet/190941/56). Unfortunately this has cau…

---

## [Serial port on development balena](https://forums.balena.io/t/serial-port-on-development-balena/334194)

<div class="topic-metadata">

**Author:** [@nmaas87](https://forums.balena.io/u/nmaas87)\
**Replies:** 2\
**Last updated:** [July 5, 2021, 3:39pm UTC](https://forums.balena.io/t/serial-port-on-development-balena/334194 "2021-07-05T15:39:49Z")

</div>

Short question, I am using balenaOS 2.75.0+rev1 (development image) on an RPi 4 in local development mode. I coupled a GPS module to the UART, as I wanted to try to implement a GPS NTP server with PPS. However, I did o…

---

## [Disable console over Serial in Dev on RPi3?](https://forums.balena.io/t/disable-console-over-serial-in-dev-on-rpi3/1412)

<div class="topic-metadata">

**Author:** [@jared](https://forums.balena.io/u/jared)\
**Replies:** 34\
**Last updated:** [June 9, 2021, 1:12pm UTC](https://forums.balena.io/t/disable-console-over-serial-in-dev-on-rpi3/1412 "2021-06-09T13:12:18Z")

</div>

I am working on a Raspberry Pi3 and using a serial connection over GPIOs 6, 8, and 10 to communicate with a hardware board using G-codes. In prod, this is working fine, but the dev OS seems to offer a console over these …

---

## [Move or disable boot messages on UART](https://forums.balena.io/t/move-or-disable-boot-messages-on-uart/243116)

<div class="topic-metadata">

**Author:** [@bblankenship](https://forums.balena.io/u/bblankenship)\
**Replies:** 3\
**Last updated:** [January 27, 2021, 2:10am UTC](https://forums.balena.io/t/move-or-disable-boot-messages-on-uart/243116 "2021-01-27T02:10:45Z")

</div>

Hi all! I’ve seen a few posts on this topic, but none of them provided quite what I want, so here’s a new post. Background: I have a device connected to the Pi4’s UART pins (14, 15). When the Pi boots, uBoot messages/Li…

---

## [Serial device not available at Container deploy](https://forums.balena.io/t/serial-device-not-available-at-container-deploy/226432)

<div class="topic-metadata">

**Author:** [@SuperUser](https://forums.balena.io/u/SuperUser)\
**Replies:** 3\
**Last updated:** [December 21, 2020, 10:47am UTC](https://forums.balena.io/t/serial-device-not-available-at-container-deploy/226432 "2020-12-21T10:47:27Z")

</div>

My Dockerfile runs a script at RUN time, when the container is deployed. Here this script reads values from Serial devices passed from HostOS. I get the following error: \[Errno 2\] could not open port /dev/ttyWCH0. No su…

---

## [Communicating over UART0 with HCI uart BLE dongle (cross post)](https://forums.balena.io/t/communicating-over-uart0-with-hci-uart-ble-dongle-cross-post/193535)

<div class="topic-metadata">

**Author:** [@mdcraver](https://forums.balena.io/u/mdcraver)\
**Replies:** 6\
**Last updated:** [October 8, 2020, 8:09pm UTC](https://forums.balena.io/t/communicating-over-uart0-with-hci-uart-ble-dongle-cross-post/193535 "2020-10-08T20:09:42Z")

</div>

(this is a cross post from Communicating over UART0 with HCI uart BLE dongle since I originally, mistakenly, posted it on Balena Cloud) I am trying to use the BluePy Scanner on a Raspberry Pi 3 B+ with a nRF52840-Dongl…

---

## [Communicating over UART0 with HCI uart BLE dongle](https://forums.balena.io/t/communicating-over-uart0-with-hci-uart-ble-dongle/191651)

<div class="topic-metadata">

**Author:** [@mdcraver](https://forums.balena.io/u/mdcraver)\
**Replies:** 4\
**Last updated:** [September 24, 2020, 12:54pm UTC](https://forums.balena.io/t/communicating-over-uart0-with-hci-uart-ble-dongle/191651 "2020-09-24T12:54:56Z")

</div>

I am trying to use the BluePy Scanner on a Raspberry Pi 3 B+ with a nRF52840-Dongle programmed as a Bluetooth: HCI-uart. I am able to get the Bluepy Scanner code to work with the onboard BLE, but I am so far unable to g…

---

## [Serial Debug Access](https://forums.balena.io/t/serial-debug-access/129888)

<div class="topic-metadata">

**Author:** [@dstewart](https://forums.balena.io/u/dstewart)\
**Replies:** 5\
**Last updated:** [June 9, 2020, 11:13pm UTC](https://forums.balena.io/t/serial-debug-access/129888 "2020-06-09T23:13:47Z")

</div>

Hello, I am testing Ethernet, Wi-Fi, and cellular connectivity on a Balena Fin to make sure connectivity is maintained when one of these interfaces goes down. To simplify debugging, I would like to access the console, …

---

## [Serial on Pi Zero](https://forums.balena.io/t/serial-on-pi-zero/62260)

<div class="topic-metadata">

**Author:** [@jvdvyver](https://forums.balena.io/u/jvdvyver)\
**Replies:** 2\
**Last updated:** [February 10, 2020, 9:55am UTC](https://forums.balena.io/t/serial-on-pi-zero/62260 "2020-02-10T09:55:39Z")

</div>

I started with a production version of the operating system image. Then after flashing the image, mounted the sd card. Edited the config.txt in resin-boot partition. Added enable\_uart=1 Then inserted into pi Zero Bu…

---

## [USB serial throughput issues / dropped bytes / failed reads](https://forums.balena.io/t/usb-serial-throughput-issues-dropped-bytes-failed-reads/38288)

<div class="topic-metadata">

**Author:** [@branchespark](https://forums.balena.io/u/branchespark)\
**Replies:** 9\
**Last updated:** [October 22, 2019, 9:59am UTC](https://forums.balena.io/t/usb-serial-throughput-issues-dropped-bytes-failed-reads/38288 "2019-10-22T09:59:01Z")

</div>

Hello. We have a project that has a couple of containers that both need access to two specific (and present at boot) USB serial devices (by SiLabs and NXP). The devices are listed in /dev/tty\*. While the devices are av…

---

## [Read from serial modbus device](https://forums.balena.io/t/read-from-serial-modbus-device/32680)

<div class="topic-metadata">

**Author:** [@eczajkowski](https://forums.balena.io/u/eczajkowski)\
**Replies:** 13\
**Last updated:** [October 16, 2019, 1:20pm UTC](https://forums.balena.io/t/read-from-serial-modbus-device/32680 "2019-10-16T13:20:40Z")

</div>

I am trying to read from a serial modbus device. The modbus device was installed and connected to a Pi in my fleet that is not readily accessible. So I am trying to do this via the ssh console in BalenaCloud. Not ideal, …

---

## [Serial port on Beaglebone](https://forums.balena.io/t/serial-port-on-beaglebone/926)

<div class="topic-metadata">

**Author:** [@yithkai](https://forums.balena.io/u/yithkai)\
**Replies:** 14\
**Last updated:** [January 23, 2019, 2:09pm UTC](https://forums.balena.io/t/serial-port-on-beaglebone/926 "2019-01-23T14:09:20Z")

</div>

Can someone explain how to get the serial ports to work on a beaglebone with the nodeJS resinOS image? I figure the solution is to add something to my Dockerfile. What is it? My confusion is below: I have no problems…

---

## [Sharing docker-compose between Pi2 and Pi3, and accessing serial port](https://forums.balena.io/t/sharing-docker-compose-between-pi2-and-pi3-and-accessing-serial-port/3406)

<div class="topic-metadata">

**Author:** [@leighghunt](https://forums.balena.io/u/leighghunt)\
**Replies:** 1\
**Last updated:** [June 28, 2018, 11:01am UTC](https://forums.balena.io/t/sharing-docker-compose-between-pi2-and-pi3-and-accessing-serial-port/3406 "2018-06-28T11:01:38Z")

</div>

Hi all, I’ve got an application that’s communicating with hardware over the serial port. I’ve got two Resinio Starter type Applications, based on the RPi 2 and RPi 3 respectively. I’m able to get both working independ…

---

## [RPi writing but not receiving from UART serial](https://forums.balena.io/t/rpi-writing-but-not-receiving-from-uart-serial/2312)

<div class="topic-metadata">

**Author:** [@grantyoung](https://forums.balena.io/u/grantyoung)\
**Replies:** 5\
**Last updated:** [February 19, 2018, 1:15pm UTC](https://forums.balena.io/t/rpi-writing-but-not-receiving-from-uart-serial/2312 "2018-02-19T13:15:31Z")

</div>

Hi there. I’ve followed the various directions (e.g. Disable console over Serial in Dev on RPi3? and https://github.com/resin-io-playground/rpi3-uart/blob/master/main.js), and I’m able to receive messages transmitted fr…

---

## [Serial Data (\`/dev/ttyACMx\`) works unreliably on ResinOS - No problems on Raspbian host](https://forums.balena.io/t/serial-data-dev-ttyacmx-works-unreliably-on-resinos-no-problems-on-raspbian-host/1450)

<div class="topic-metadata">

**Author:** [@che](https://forums.balena.io/u/che)\
**Replies:** 4\
**Last updated:** [July 28, 2017, 9:46am UTC](https://forums.balena.io/t/serial-data-dev-ttyacmx-works-unreliably-on-resinos-no-problems-on-raspbian-host/1450 "2017-07-28T09:46:34Z")

</div>

Our setup can be described as follows: Two measurement devices are connected to a Raspberry 3 via USB Serial connection Serial devices run at 1000000 baud A NodeJS based application is able to read out serial data fro…
