No controller (again)

Installation and usage on Linux / Installation unter Linux
Jean Chabanaud
Posts: 1
Joined: 20 Nov 2008 23:13

Re: No controller (again)

Post by Jean Chabanaud »

So i got something running

but the java is falling on the joystick input
I got on dmesg:
**********************************************************************************************
[19554.619609] usb 1-8: configuration #1 chosen from 1 choice
[19554.641588] input: MUltiplex RC-Joystick as /devices/pci0000:00/0000:00:02.0/usb1/1-8/1-8:1.0/input/input9
[19554.671899] input,hidraw1: USB HID v1.00 Joystick [MUltiplex RC-Joystick] on usb-0000:00:02.0-8

and this on
***********************************************************************************************
ls -lsah /dev/input/
total 0
0 drwxr-xr-x 4 root root 300 2008-11-20 22:42 .
0 drwxr-xr-x 12 root root 14K 2008-11-20 22:42 ..
0 drwxr-xr-x 2 root root 120 2008-11-20 22:42 by-id
0 drwxr-xr-x 2 root root 160 2008-11-20 22:42 by-path
0 crw-rw-rw- 1 root jean 13, 64 2008-11-20 14:08 event0
0 crw-rw-rw- 1 root jean 13, 65 2008-11-20 14:08 event1
0 crw-rw-rw- 1 root jean 13, 66 2008-11-20 14:08 event2
0 crw-rw-rw- 1 root jean 13, 67 2008-11-20 14:08 event3
0 crw-rw-rw- 1 root jean 13, 68 2008-11-20 14:08 event4
0 crw-rw-rw- 1 root jean 13, 69 2008-11-20 14:08 event5
0 crw-rw-rw- 1 root root 13, 70 2008-11-20 22:42 event6
0 crw-rw-rw- 1 root plugdev 13, 0 2008-11-20 22:42 js0
0 crw-rw---- 1 root root 13, 63 2008-11-20 14:08 mice
0 crw-rw---- 1 root root 13, 32 2008-11-20 14:08 mouse0
0 crw-rw---- 1 root root 13, 33 2008-11-20 14:08 mouse1

and on the start-up
********************************************************************************************
sudo /home/jean/Bureau/HELI-X/runHELI-X.sh
java.lang.UnsatisfiedLinkError: net.java.games.input.LinuxJoystickDevice.nGetAxisMap(J)[B
at net.java.games.input.LinuxJoystickDevice.nGetAxisMap(Native Method)
at net.java.games.input.LinuxJoystickDevice.getDeviceAxisMap(LinuxJoystickDevice.java:200)
at net.java.games.input.LinuxJoystickDevice.<init>(LinuxJoystickDevice.java:70)
at net.java.games.input.LinuxEnvironmentPlugin.enumerateJoystickControllers(LinuxEnvironmentPlugin.java:406)
at net.java.games.input.LinuxEnvironmentPlugin.enumerateControllers(LinuxEnvironmentPlugin.java:233)
at net.java.games.input.LinuxEnvironmentPlugin.<init>(LinuxEnvironmentPlugin.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:157)
at ch.ntb.HeliX.controller.FlightController.<init>(FlightController.java:86)
at ch.ntb.HeliX.simulation.Simulation.initController(Simulation.java:164)
at ch.ntb.HeliX.application.Application.<init>(Application.java:153)
at ch.ntb.HeliX.application.Application$1.run(Application.java:757)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

next are the logs
*************************************************************************
more files/log.txt
Application started
3D Environment created
Using openGLLayer JOGL_AWT
Found 11 display modes
Trying to open xml File files/Application/ViewSettings.xml
Using display mode 800x600x?x?
Scenegraph created
Listener Volume: 1.0
Trying to open xml File files/Application/SoundSettings.xml
Listener Volume: 0.8
Sound configuration read
Trying to open xml File files/Application/CameraSettings.xml
View initialized
Trying to open xml File files/Application/EnvironmentSettings.xml
Environment initialized
Loading: net.java.games.input.LinuxEnvironmentPlugin
No Joystick found
Trying to open xml File files/Application/ApplicationSettings.xml


Perhaps
the usb connector is not right
information need and thank's for the job you do
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: No controller (again)

Post by Michael »

Hello Jean,

do you have a 32-Bit or a 64-Bit system?

If you have a 64-Bit system, please look in the prior postings in the thread. It might by, that the jinput lib has to be updated....

Michael
Post Reply