PINE64

Full Version: Pinebook serial info
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everyone,
I need help understanding the possibility of using the audio jack a serial connection. Specifically I want to know:
   1. How to enable this serial port
   2. What I can do with it

I've found at least 3 different ways to activate it: the guide pointed by the store (http://files.pine64.org/doc/pinebook/gui..._Guide.pdf), the pinebook_enable_uart.sh script (https://github.com/ayufan-pine64/linux-b...le_uart.sh) and toggling the switch inside the case.

Only the switch worked for me, and I was able to see the Pinebook boot logs and access a login shell. I was also able to open /dev/ttyS0 from the Pinebook and send characters to the other end, but I wasn't seeing anything I wrote from my other laptop (is it supposed to work like this? Only a login shell, not controllable thorugh other means?).

Now, if I had to open the case every time to switch back, I'm just going to keep the audio jack. I've eard on the Discord channel however that the soft switch should in fact work. Is that the case? Which method should I use then? None of what I've tried seems to work.
(11-18-2018, 09:52 AM)maldus Wrote: [ -> ]Hello everyone,
I need help understanding the possibility of using the audio jack a serial connection. Specifically I want to know:
   1. How to enable this serial port
   2. What I can do with it

I've found at least 3 different ways to activate it: the guide pointed by the store (http://files.pine64.org/doc/pinebook/gui..._Guide.pdf), the pinebook_enable_uart.sh script (https://github.com/ayufan-pine64/linux-b...le_uart.sh) and toggling the switch inside the case.

Only the switch worked for me, and I was able to see the Pinebook boot logs and access a login shell. I was also able to open /dev/ttyS0 from the Pinebook and send characters to the other end, but I wasn't seeing anything I wrote from my other laptop (is it supposed to work like this? Only a login shell, not controllable thorugh other means?).

Now, if I had to open the case every time to switch back, I'm just going to keep the audio jack. I've eard on the Discord channel however that the soft switch should in fact work. Is that the case? Which method should I use then? None of what I've tried seems to work.

I will check with hardware engineer on whether any change on the software method.