This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RS485 USB - SignalK NMEA Serial input log
#3
(2020-03-30, 07:17 PM)Sailoog Wrote: I you do not you get data without using sudo you have a permission problem.

kplex or SK use the default user.

Dear Sailoog, thank you for your answer.
I think you're right. Tested it by de-assigning the serial port again, performing the command with and without sudo:


Code:
pi@openplotter:~ $ cat /dev/ttyUSB2
cat: /dev/ttyUSB2: Device or resource busy
pi@openplotter:~ $ sudo cat /dev/ttyUSB2
$SDDPT,,*57
$SDDBT,,f,,M,,F*28
$SDDPT,,*57
$SDDBT,,f,,M,,F*28
$SDDPT,,*57
$SDDBT,,f,,M,,F*28
$SDDPT,,*57
$SDDBT,,f,,M,,F*28


Do you have an idea of how I can solve this? I don't know what process is using the serial port even though it is not being assigned in OP.
I don't know how to give the "extra" permission to the default user.

Hope you can help me out.
Reply


Messages In This Thread
RE: RS485 USB - SignalK NMEA Serial input log - by jamos.tan@gmail.com - 2020-03-31, 09:11 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)