Application hangs in Fedora 9

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
tristanlee85
Site Admin
Posts: 533
Joined: Tue Dec 28, 2004 11:33 pm
Location: Grove City, OH - USA
Contact:

Application hangs in Fedora 9

Post by tristanlee85 »

My laptop with XP died, so I am trying to get TS to work using my serial port on Fedora 9. First off, it looks like I have to run the application as root or I don't have permission to use the serial port. Here is the output:

Code: Select all

Jar Name:TunerStudioMS.jar
Experimental:  JNI_OnLoad called.
check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL
check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL
check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL
check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL
check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL
check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL
check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL
check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL
So, I run it as root and I get this:

Code: Select all

[root@localhost TunerStudioMS_v0.988.5]# ./TunerStudio.sh 
Jar Name:TunerStudioMS.jar
Experimental:  JNI_OnLoad called.
That's all that happens. The splash screen displays and that is it. I need to forcefully kill Java to get it to go away.

As for my Java info:

Code: Select all

[root@localhost TunerStudioMS_v0.988.5]# java -version
java version "1.6.0"
OpenJDK  Runtime Environment (build 1.6.0-b09)
OpenJDK Server VM (build 1.6.0-b09, mixed mode)
1997 Turbo Saturn

MS3 v0.22
TunerStudio v[insert_current_version_here]
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Application hangs in Fedora 9

Post by LT401Vette »

I see 2 things....

Switch your JRE to Sun Java. I have run using OpenJava on Fedora, but I think there are a few quirks still.

On the 1st problem... Lock files.
For Fedora you need to add your user to the lock group. Debian Linux's such as Ubuntu use the uucp group for lock file permissions, but I think for Fedora it is lock. Maybe add to both to be sure :)
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
tristanlee85
Site Admin
Posts: 533
Joined: Tue Dec 28, 2004 11:33 pm
Location: Grove City, OH - USA
Contact:

Re: Application hangs in Fedora 9

Post by tristanlee85 »

Cool, thanks. I'll give it a shot.
1997 Turbo Saturn

MS3 v0.22
TunerStudio v[insert_current_version_here]
tristanlee85
Site Admin
Posts: 533
Joined: Tue Dec 28, 2004 11:33 pm
Location: Grove City, OH - USA
Contact:

Re: Application hangs in Fedora 9

Post by tristanlee85 »

Well, I added myself to the 'lock' and 'uucp' groups and I no longer get the errors. Also, I downloaded the newest JDK and pointed my paths to it rather than to the OpenJDK stuff. However, I did this on the new Fedora 11. So, the application started up fine with OpenJDK (not hanging like in Fedora 9), but I noticed I only had 3 look and feel options. Once java was switched to JDK6u4, I have 4 look and feel options.

Once I purchase a USB adapter, hopefully I can get it all to work right.

Thanks, Phil!
1997 Turbo Saturn

MS3 v0.22
TunerStudio v[insert_current_version_here]
Post Reply