used to work with Funfly dongle...

Installation and usage on Linux / Installation unter Linux
Post Reply
core
Posts: 20
Joined: 26 Dec 2014 15:23

used to work with Funfly dongle...

Post by core »

no airport, no heli, all black.

Code: Select all

java.lang.ArrayIndexOutOfBoundsException: 4
        at net.HeliX.d.f.b(Unknown Source)
        at net.HeliX.d.b.a(Unknown Source)
        at net.HeliX.d.f.e(Unknown Source)
        at net.HeliX.h.l.b.v(Unknown Source)
        at net.HeliX.i.d.a(Unknown Source)
        at net.HeliX.k.k.a(Unknown Source)
        at net.HeliX.k.g.update(Unknown Source)
        at net.HeliX.k.k.update(Unknown Source)
        at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
        at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)
        at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)
        at java.lang.Thread.run(Unknown Source)
^CAL lib: (EE) alc_cleanup: 1 device not closed

TXPPM runs without problem: (other than being a resource hog, and having low resolution)

Code: Select all

user@userbox64:~/DL/HELI-X5$ ./runHELI-X.sh                                                                                          
Set new path for the resources: /home/user/DL/HELI-5/resources/                                                                      
Set new path for the user files: /home/user/DL/HELI-X5/files/                                                                         
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/user/DL/HELI-X5/libjinput-linux.so which might have disabled stack guard. The VM will try to fix the stack guard now.                                                                                   
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.                          
Failed to open device (/dev/input/event18): Failed to open device /dev/input/event18 (13)                                     
Failed to open device (/dev/input/event17): Failed to open device /dev/input/event17 (13)
Failed to open device (/dev/input/event16): Failed to open device /dev/input/event16 (13)
Failed to open device (/dev/input/event15): Failed to open device /dev/input/event15 (13)
Failed to open device (/dev/input/event14): Failed to open device /dev/input/event14 (13)
Failed to open device (/dev/input/event13): Failed to open device /dev/input/event13 (13)
Failed to open device (/dev/input/event12): Failed to open device /dev/input/event12 (13)
Failed to open device (/dev/input/event11): Failed to open device /dev/input/event11 (13)
Failed to open device (/dev/input/event10): Failed to open device /dev/input/event10 (13)
Failed to open device (/dev/input/event9): Failed to open device /dev/input/event9 (13)
Failed to open device (/dev/input/event8): Failed to open device /dev/input/event8 (13)
Failed to open device (/dev/input/event7): Failed to open device /dev/input/event7 (13)
Failed to open device (/dev/input/event6): Failed to open device /dev/input/event6 (13)
Failed to open device (/dev/input/event5): Failed to open device /dev/input/event5 (13)
Failed to open device (/dev/input/event4): Failed to open device /dev/input/event4 (13)
Failed to open device (/dev/input/event2): Failed to open device /dev/input/event2 (13)
Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13)
Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13)
Linux plugin claims to have found 1 controllers
Controller found: Name: PPM Transmitter(PPM Transmitter)
Using Stick PPM Transmitter
Digital component found:0
Analog component found:x
Analog component found:y
Analog component found:x
Analog component found:y
Analog component found:x
Analog component found:y
Name conflict found for sticks. Using numbers.
Controller configuration file found: /home/user/DL/HELI-X5/files/controller/PPMTransmitter.xml
Controller configuration file /home/user/DL/HELI-X5/files/controller/PPMTransmitter.xml read
user@userbox64:~/DL/HELI-X5$ 

EDIT: I then renamed the controller.xlm files to something useless, and restarted. I then got a prompt to re-cal the controller and I could select an airport and a heli.

Code: Select all

user@userbox64:~/DL/HELI-X5$ ./runHELI-X.sh 
Set new path for the resources: /home/user/DL/HELI-X5/resources/
Set new path for the user files: /home/user/DL/HELI-X5/files/
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/user/DL/HELI-X5/libjinput-linux.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Failed to open device (/dev/input/event18): Failed to open device /dev/input/event18 (13)
Failed to open device (/dev/input/event17): Failed to open device /dev/input/event17 (13)
Failed to open device (/dev/input/event16): Failed to open device /dev/input/event16 (13)
Failed to open device (/dev/input/event15): Failed to open device /dev/input/event15 (13)
Failed to open device (/dev/input/event14): Failed to open device /dev/input/event14 (13)
Failed to open device (/dev/input/event13): Failed to open device /dev/input/event13 (13)
Failed to open device (/dev/input/event12): Failed to open device /dev/input/event12 (13)
Failed to open device (/dev/input/event11): Failed to open device /dev/input/event11 (13)
Failed to open device (/dev/input/event10): Failed to open device /dev/input/event10 (13)
Failed to open device (/dev/input/event9): Failed to open device /dev/input/event9 (13)
Failed to open device (/dev/input/event8): Failed to open device /dev/input/event8 (13)
Failed to open device (/dev/input/event7): Failed to open device /dev/input/event7 (13)
Failed to open device (/dev/input/event6): Failed to open device /dev/input/event6 (13)
Failed to open device (/dev/input/event5): Failed to open device /dev/input/event5 (13)
Failed to open device (/dev/input/event4): Failed to open device /dev/input/event4 (13)
Failed to open device (/dev/input/event2): Failed to open device /dev/input/event2 (13)
Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13)
Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13)

Linux plugin claims to have found 1 controllers
Controller found: Name:               SAILI Simulator --- XTR5.5+G2+FMS Controller(              SAILI Simulator --- XTR5.5+G2+FMS Controller)
Using Stick               SAILI Simulator --- XTR5.5+G2+FMS Controller
Digital component found:Trigger
Digital component found:Thumb
Digital component found:Thumb 2
Digital component found:Top
Analog component found:x
Analog component found:y
Analog component found:rz
Analog component found:slider
Controller configuration file found: /home/user/DL/HELI-X5/files/controller/SAILISimulator---XTR55G2FMSController.xml
Controller configuration file /home/user/DL/HELI-X5/files/controller/SAILISimulator---XTR55G2FMSController.xml read
Not available: SkyBox/Sportsfield/Sportsfield

BTW, the resolution of the Funfly dongle is 1:188, i.e. full scale is 16 bits (2^16), smallest step is ~334 counts, as reported by jstest-gtk.
Resolution with TXPPM is about the same, but has a very annoying ±166 count random jitter, on all channels, making hovering very challenging. This jitter makes for ±0.1° change in blade angle, pretty much as much as used for hovering.
Last edited by core on 04 Jan 2015 08:08, edited 2 times in total.
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: used to work with Funfly dongle...

Post by Michael »

Do this:

chmod 777 /dev/input/e*

Michael
core
Posts: 20
Joined: 26 Dec 2014 15:23

Re: used to work with Funfly dongle...

Post by core »

Thanks!
Post Reply