i feel like im going insane. im using `go.bug.st/serial` to access a usb oled display via `/dev/ttyACM0` and im able to open the fd if i run the binary as sudo, but just running the binary as my user on a raspi zero 2 w gives me the error `Serial port busy`. my user is in the dialout group and the permissions onn /dev/ttyACM0 are `-rw-rw-rw`. i genuinely dont understand why im able to open it with sudo and not as my user.
i installed go on the pi zero and threw the following code on there and built it and it works without issue, so i genuinely have no fucking clue whats going on.
package main
import (
"fmt"
"go.bug.st/serial"
)
func main() {
const FD = "/dev/ttyACM0"
mode := &serial.Mode{
Comment too long. Click here to view the full text.