View: 9990|Reply: 5

Trying to send some data(string) using UART of Orange pi pc plus..?

[Copy link]

1

threads

2

posts

17

credits

Novice

Rank: 1

credits
17
Published in 2016-11-8 14:55:14 | Show all floors |Read mode
hello,

I am having Orange pi pc plus , trying to read UART pins  getting error message that "You dont have read/write permission".
So what I have to do to get read/write permission.

Thanks,

4

threads

32

posts

723

credits

Senior member

Rank: 4

credits
723
Published in 2016-11-8 19:54:07 | Show all floors
How exactly are you trying to access UART? To access UART with Linux, the user under which the process is running must belong to the dialout group so that might be a good starting point. The command to add some user to the dialout group is:

  1. gpasswd -a user_name dialout
Copy code

1

threads

2

posts

17

credits

Novice

Rank: 1

credits
17
 Author| Published in 2016-11-8 20:57:26 | Show all floors
chupo_cro replied at 2016-11-8 19:54
How exactly are you trying to access UART? To access UART with Linux, the user under which the proce ...

Thanks for your reply chupo_cro,


Passing string of data to rx pin of UART and want to read this rx pin using android application, but facing issues.
according to your reply run the command but it gives "gpasswd not found".

4

threads

32

posts

723

credits

Senior member

Rank: 4

credits
723
Published in 2016-11-8 21:39:33 | Show all floors
I am not sure how exactly Android application interacts with Linux kernel. Instead of gpasswd you can try usermod -aG dialout user_name but you have to be careful to use rhe right switch as explained here. Because with the wrong usermod command you could remove the user from the groups it already belongs to. But you might first try the setenforce command as shown in this article.

I am also interested in RS232 communication using Orange Pi PC + Android but still did not have time to try if it works.

1

threads

301

posts

1217

credits

Gold member

Rank: 6Rank: 6

credits
1217
Published in 2023-8-12 21:53:10 | Show all floors
That is a good write-up When i viewed on account of write about the item. Really it is what exactly I need to to discover trust with foreseeable future you might go on intended for giving a really fantastic write-up.        LINK ALTERNATIF ALOHA4D

1

threads

301

posts

1217

credits

Gold member

Rank: 6Rank: 6

credits
1217
Published in 2023-8-13 16:34:33 | Show all floors
Kudos meant for giving you newly released tweets regarding the headache, That i will enjoy look over even more.        small pistol primers in stock now
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list