Zero H2+ OTG as device (not getty)

Recommended Posts


my 1st post :rolleyes: here.

I have serial over OTG between Win10 PC and Zero working, fine as long as I use it for console login. (serial-getty@/dev/ttyGS0.

If I stop the getty service, No usb/com port is opened @ PC side, when I plug it. I still see the /dev/ttyGS0 on the PI (stty -F/dev/ttyGS0) but apparently the device is not opened to the external world. I would expect that any send command to the device would open it,


e.g. ls > /dev/ttyGS0,


but nothing opens at the Win10 PC. What does getty do, so that the PC discovers the new usb serial connection and what do I have to do to achieve a device opening on the PC, not using getty on the PI? Obviously, I can only use putty on the PC, if a device to open exists!




Edited by Hans Kurscheidt
Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?

This topic is now closed to further replies.