简体   繁体   中英

C# Raspberry pi Linux serial port permission denied even as root

I am writing a program trying to communicate with serial ports of the raspberry pi. The program can find the device linked to the port. But when I want to open that port, it threw me an exception saying that the serial port can't be opened, permission denied. I logged as root(pi) and I think I added myself to "dialout". However nothing worked. What will be the problem of my situation? Hope there's any could help, thanks in advance.

如果我没记错的话,您必须是特定组的成员。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM