mbox series

[0/2] Enable USB serial console on the D-Link DNS-313

Message ID 20231111-dns313-usb-serial-v1-0-6402033bcdfb@linaro.org
Headers show
Series Enable USB serial console on the D-Link DNS-313 | expand

Message

Linus Walleij Nov. 11, 2023, 10:02 p.m. UTC
This patch set makes it possible to plug in a USB cable
into the device USB B receptacle on the DNS-313 and
it will appear as /dev/ttyACM0 on the host and there will
be a serial console on it, at 115200 baud.

This is useful for users who don't like to solder in
their device to get a serial console.

The custom inittab is a bit ugly, but I've seen that this
seems to be what other devices do, other ideas welcome.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (2):
      kernel: usb: Autoprobe g_serial
      gemini: Activate serial USB console on the DNS-313

 package/kernel/linux/modules/usb.mk        | 2 +-
 target/linux/gemini/Makefile               | 2 +-
 target/linux/gemini/base-files/etc/inittab | 4 ++++
 target/linux/gemini/image/Makefile         | 2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)
---
base-commit: b7cf706539eb3a788441c8a8debaa8c36e5c54cf
change-id: 20231111-dns313-usb-serial-b9ac47e3a27e

Best regards,