usb0 as a simple serial program interface

27 views
Skip to first unread message

ashwal...@googlemail.com

unread,
May 13, 2017, 8:30:17 PM5/13/17
to BeagleBoard
I'm using BBB can I change usb0 (client mode usb ) to show my product CLI interface rather then linux console?

walter harms

unread,
May 15, 2017, 3:44:49 AM5/15/17
to beagl...@googlegroups.com


Am 13.05.2017 21:00, schrieb ashwal.harel via BeagleBoard:
> I'm using BBB can I change usb0 (client mode usb ) to show my product CLI
> interface rather then linux console?
>

yes,
there are basically 2 ways.
1. with password.
create an useraccount and use .profile to start you program

2. redirect, run via inittab (systemd) e.g top >/dev/tty10

Note: do not forget to disable all interaction with your program
otherwise a malevolent user can easily access your box.

re,
wh
Reply all
Reply to author
Forward
0 new messages