Issues running application on Ubuntu/R-Pi

Status
Not open for further replies.

beischel

Member
Joined
May 19, 2007
Messages
292
Reaction score
35
Location
Pierce Township, Ohio
Hello folks,

I have the P25RX application running on my R-Pi using Ubuntu Desktop. However, the application cannot seem to find the receiver. Just says discovering device. Please wait. Any insight as to what I need to do to get the application to find the unit?

Second, not the greatest at Linux. How do I make it so that clicking on the application will start the application? Right now I am staring from the command line.

Thanks for any assistance!
 

beischel

Member
Joined
May 19, 2007
Messages
292
Reaction score
35
Location
Pierce Township, Ohio
Maybe this will help. Just noticed this in the terminal window. It is constantly doing this andkeeps scrolling.

"found device on : ttyAMA0 USB-Based Serial Port USB-Based Serial Port USB-Based Serial Port closed
attempting to close locked port BlueTail-P1"
 

btt

Jew lover
Banned
Joined
Mar 11, 2020
Messages
2,585
Reaction score
2,825
Location
Wa State
Maybe this will help. Just noticed this in the terminal window. It is constantly doing this andkeeps scrolling.

"found device on : ttyAMA0 USB-Based Serial Port USB-Based Serial Port USB-Based Serial Port closed
attempting to close locked port BlueTail-P1"

Try adding this line to /etc/udev/rules.d/50-myusb.devices
KERNEL=="ttyAMA[0-9]*",MODE="0666"
 

beischel

Member
Joined
May 19, 2007
Messages
292
Reaction score
35
Location
Pierce Township, Ohio
OK, the 50-myusb.devices file did not exist so I created that file in the rules.d directory. Copied and pasted the line, saved the file, rebooted and still the application cannot discover the P25RX.
Anything else that I can try?
 

btt

Jew lover
Banned
Joined
Mar 11, 2020
Messages
2,585
Reaction score
2,825
Location
Wa State
before you start the BTConfig software try this command to change the permissions of the serial port:
sudo chmod 666 /dev/ttyAMA0
 

btt

Jew lover
Banned
Joined
Mar 11, 2020
Messages
2,585
Reaction score
2,825
Location
Wa State
That would work too. Run as root.
sudo java -jar BTConfig-xxx.exe
 
Status
Not open for further replies.
Top