Skip to content
View in the app

A better way to browse. Learn more.

Learn more

uart2 to ttyS2 (permission denied)

Featured Replies

Hello, With the new version for rockpi 4 (Buster Kernel 5.X). 

 

I put in my armbianEnv.txt: 

 

overlays=uart2
console=display

 

my ttyS2 has a very weird permission compared to other, (on the other hand I don't have this problem at all on a 4.X kernel)

 

crw-rw---- 1 root dialout 4, 64 Dec 23 14:00 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Dec 23 14:00 /dev/ttyS1
crw--w---- 1 root tty     4, 66 Dec 23 14:01 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 Dec 23 14:00 /dev/ttyS3
crw-rw---- 1 root dialout 4, 68 Dec 23 14:00 /dev/ttyS4
crw-rw---- 1 root dialout 4, 69 Dec 23 14:00 /dev/ttyS5
crw-rw---- 1 root dialout 4, 70 Dec 23 14:00 /dev/ttyS6
crw-rw---- 1 root dialout 4, 71 Dec 23 14:00 /dev/ttyS7

 

how do i get my uart2 to work properly?

 

Namely that I have already tested adding the tty groups to my user. made a chmod 660 on the S2 but it does not hold.

 

Tks ;)

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.