psieg / Lightpack

Lightpack and Prismatik open repository
GNU General Public License v3.0
1.57k stars 188 forks source link

When serial port is opened DTR line stays low. #545

Open conkerkh opened 2 years ago

conkerkh commented 2 years ago

Usually when you communicate over a serial port terminal will raise the DTR line high in order to indicate it is ready to receive data. This is useful for example on a CDC device in order to detect that the terminal is listening I would suggest handling the DTR line in the Adalight driver code.

Ekristoffe commented 1 year ago

I would like to add, I had no idea why my Adalight system wasn't working after a reboot. With this help I know that I have to switch the DTR to on at every boot with mode COM6 DTR=on. Now I need to find a way to have it work at each boot / restart ...