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

Linus Walleij linus.walleij at linaro.org
Sat Nov 11 14:02:19 PST 2023


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 at 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,
-- 
Linus Walleij <linus.walleij at linaro.org>




More information about the openwrt-devel mailing list