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.wall...@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.wall...@linaro.org>


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to