Jump to content

uart2 to ttyS2 (permission denied)


Rocket69

Recommended Posts

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 ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines