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
This brings up a serial console on the USB device port of
the DNS-313 by:
- Activating the usbgadget feature
- Selecting the usbgadget-acm package
- Adding an inittab that opens a console at ttyGS0 which is
the device side of ttyACMn of a connected host
Cc: Chuanhong Guo
Signed-off-by: Linus W
Currently if a target wants to use acm or ncm gadget config,
they need to select both usbgadget and the config package
such as usbgadget-acm.
It's better if the target just select usbgadget-acm and get
all dependencies satisfied.
Adding a dependency using usbgadget+ fixes this.
Cc: Chuanhong Guo
The usbgadget package tries to mount and use configfs so it
needs to require the kernel module instead of implying it.
There should be a newline at the end of the file as well.
Cc: Chuanhong Guo
Signed-off-by: Linus Walleij
---
package/utils/usbgadget/Makefile | 4 ++--
1 file changed, 2 inser
The /etc/config/usbgadget file is a conffile, so specify
it as such.
Cc: Chuanhong Guo
Signed-off-by: Linus Walleij
---
package/utils/usbgadget/Makefile | 4
1 file changed, 4 insertions(+)
diff --git a/package/utils/usbgadget/Makefile b/package/utils/usbgadget/Makefile
index
65673e730f1
On Thu, Apr 3, 2025 at 2:51 PM Linus Walleij wrote:
>
> The /etc/config/usbgadget file is a conffile, so specify
> it as such.
>
> Cc: Chuanhong Guo
> Signed-off-by: Linus Walleij
Thanks for the fixes!
> ---
> package/utils/usbgadget/Makefile | 4
> 1 file changed, 4 insertions(+)
>
> dif
Hi!
On Thu, Apr 3, 2025 at 2:51 PM Linus Walleij wrote:
>
> Currently if a target wants to use acm or ncm gadget config,
> they need to select both usbgadget and the config package
> such as usbgadget-acm.
>
> It's better if the target just select usbgadget-acm and get
> all dependencies satisfie
Hi!
On Thu, Apr 3, 2025 at 2:51 PM Linus Walleij wrote:
>
> The usbgadget package tries to mount and use configfs so it
> needs to require the kernel module instead of implying it.
>
> There should be a newline at the end of the file as well.
>
> Cc: Chuanhong Guo
> Signed-off-by: Linus Walleij
Hi!
On Fri, Apr 4, 2025 at 9:51 AM Chuanhong Guo wrote:
>
> On Thu, Apr 3, 2025 at 2:51 PM Linus Walleij wrote:
> >
> > The /etc/config/usbgadget file is a conffile, so specify
> > it as such.
> >
> > Cc: Chuanhong Guo
> > Signed-off-by: Linus Walleij
>
> Thanks for the fixes!
Reviewed-by: Ch