kein Joystick

Installation and usage on Linux / Installation unter Linux
mh75
Posts: 11
Joined: 30 Jul 2009 20:52

Re: kein Joystick

Post by mh75 »

Hallo Rainer

Code: Select all

Bus 003 Device 004: ID 0402:0402 ALi Corp.


diese Zeile taucht auf, wenn das usb interface angesteckt ist.
Sonst nix!

Gruß Markus
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: kein Joystick

Post by Michael »

Hallo,

ich bin noch hier dran:

Failed to open device (/dev/input/event4): Failed to open device /dev/input/event4 (13)

Darum versuch mal folgendes:

sudo chmod 777 /dev/input/e*

Dann tippe

ls -l /dev/input

Und zeige uns die Ausgabe.

Dann starte HELI-X. Wenn es nicht geht, zeige uns das Logfile.

Michael
mh75
Posts: 11
Joined: 30 Jul 2009 20:52

Re: kein Joystick

Post by mh75 »

Hallo Michael.

hat leider nicht funktioniert.
ergebniss von ls -l /dev/input

Code: Select all

rwxr-xr-x  2 root root    140 2009-08-08 08:56 by-id
drwxr-xr-x  2 root root    160 2009-08-08 08:56 by-path
crwxrwxrwx  1 root root 13, 64 2009-08-08 10:56 event0
crwxrwxrwx  1 root root 13, 65 2009-08-08 10:56 event1
crwxrwxrwx+ 1 root root 13, 66 2009-08-08 10:56 event2
crwxrwxrwx+ 1 root root 13, 67 2009-08-08 08:56 event3
crwxrwxrwx  1 root root 13, 68 2009-08-08 08:56 event4
crwxrwxrwx  1 root root 13, 69 2009-08-08 08:56 event5
crwxrwxrwx+ 1 root root 13, 70 2009-08-08 08:56 event6
crw-r-----  1 root root 13, 63 2009-08-08 10:56 mice
crw-r-----  1 root root 13, 32 2009-08-08 10:56 mouse0
crw-r-----  1 root root 13, 33 2009-08-08 08:56 mouse1
crw-r-----  1 root root 13, 34 2009-08-08 08:56 mouse2

log file von Heli-x

Code: Select all

Set new path for the resources: /home/markus/heli/HELI-X/resources/
Set new path for the user files: /home/markus/heli/HELI-X/files/
Using openGLLayer JOGL_AWT
Found 59 display modes
Failed to open device (/dev/input/event7): Failed to open device /dev/input/event7 (13)

Linux plugin claims to have found 6 controllers
No Joystick found
linux logfile:

Code: Select all

Aug  8 09:02:34 polarstation kernel: [  373.148012] usb 6-1: new low speed USB device using uhci_hcd and address 2
Aug  8 09:02:34 polarstation kernel: [  373.303307] usb 6-1: configuration #1 chosen from 1 choice
Aug  8 09:02:34 polarstation kernel: [  373.341075] input: HID 0402:0402 as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/input/input7
Aug  8 09:02:34 polarstation kernel: [  373.344989] generic-usb 0003:0402:0402.0004: input,hidraw3: USB HID v1.00 Joystick [HID 0402:0402] on usb-0000:00:1d.0-1/input0
Aug  8 09:04:46 polarstation kernel: [  505.592227] usb 6-1: USB disconnect, address 2

So, das wars.

Gruß Markus
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: kein Joystick

Post by Michael »

Da sind wir doch schon mal ein Stück weiter.

Zuvor gab es ja viele Fehlermeldungen "Unable to open device", jetzt nur noch eine für event7. Das ist auch bei der Liste aus dem ls-Befehl nicht dabei. Offnebar wurde es neu erzeugt und hat wohl noch die falschen Rechte.

Also bitte aus diese Situation:

ls ...
sudo chmod ...
ls ...
HELI-X starten
Was sagt das Logfile
Eventuell noch einmal wiederholen ab den ersten ls ...

Michael
mh75
Posts: 11
Joined: 30 Jul 2009 20:52

Re: kein Joystick

Post by mh75 »

hallo,

leider noch nicht besser!

Code: Select all

drwxr-xr-x  2 root root    180 2009-08-08 14:01 by-id
drwxr-xr-x  2 root root    200 2009-08-08 14:01 by-path
crwxrwxrwx  1 root root 13, 64 2009-08-08 10:56 event0
crwxrwxrwx  1 root root 13, 65 2009-08-08 10:56 event1
crwxrwxrwx+ 1 root root 13, 66 2009-08-08 10:56 event2
crwxrwxrwx+ 1 root root 13, 67 2009-08-08 08:56 event3
crwxrwxrwx  1 root root 13, 68 2009-08-08 08:56 event4
crwxrwxrwx  1 root root 13, 69 2009-08-08 08:56 event5
crwxrwxrwx+ 1 root root 13, 70 2009-08-08 08:56 event6
crwxrwxrwx  1 root root 13, 71 2009-08-08 14:01 event7
crw-r--r--  1 root root 13,  0 2009-08-08 14:01 js0
crw-r-----  1 root root 13, 63 2009-08-08 10:56 mice
crw-r-----  1 root root 13, 32 2009-08-08 10:56 mouse0
crw-r-----  1 root root 13, 33 2009-08-08 08:56 mouse1
crw-r-----  1 root root 13, 34 2009-08-08 08:56 mouse2

linux:

Code: Select all

Aug  8 13:57:51 polarstation kernel: [ 2191.984009] usb 3-1: new low speed USB device using uhci_hcd and address 2
Aug  8 13:57:51 polarstation kernel: [ 2192.138306] usb 3-1: configuration #1 chosen from 1 choice
Aug  8 13:57:51 polarstation kernel: [ 2192.158077] input: HID 0402:0402 as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/input/input8
Aug  8 13:57:51 polarstation kernel: [ 2192.164668] generic-usb 0003:0402:0402.0005: input,hidraw3: USB HID v1.00 Joystick [HID 0402:0402] on usb-0000:00:1a.0-1/input0
Aug  8 14:01:05 polarstation kernel: [ 2385.680050] usb 3-1: USB disconnect, address 2
Aug  8 14:01:14 polarstation pulseaudio[6379]: pid.c: Stale PID file, overwriting.
Aug  8 14:01:58 polarstation kernel: [ 2439.440013] usb 3-1: new low speed USB device using uhci_hcd and address 3
Aug  8 14:01:58 polarstation kernel: [ 2439.594292] usb 3-1: configuration #1 chosen from 1 choice
Aug  8 14:01:58 polarstation kernel: [ 2439.626078] input: HID 0402:0402 as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/input/input9
Aug  8 14:01:58 polarstation kernel: [ 2439.632357] generic-usb 0003:0402:0402.0006: input,hidraw3: USB HID v1.00 Joystick [HID 0402:0402] on usb-0000:00:1a.0-1/input0

Gruß Markus
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: kein Joystick

Post by Michael »

... mich interessiert jetzt eher das Logfile von HELI-X, worüber sie sich beschwert.

Michael
mh75
Posts: 11
Joined: 30 Jul 2009 20:52

Re: kein Joystick

Post by mh75 »

sorry...


da isse...

Code: Select all

Set new path for the resources: /home/markus/heli/HELI-X/resources/
Set new path for the user files: /home/markus/heli/HELI-X/files/
Using openGLLayer JOGL_AWT
Found 59 display modes
Linux plugin claims to have found 6 controllers
No Joystick found
Gruß Markus
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: kein Joystick

Post by Michael »

Damit sind die Fehlermeldungen von HELI-X weg. Trotzdem erkennt er die Hardware nicht als Joystick. Es ist denkbar, dass der Controller als etwas anderes erkannt wird. Versuch mal, mit den JoytickAnalyzer die Sache zu durchleuchten:

viewtopic.php?f=5&t=48&p=195&hilit=joys ... lyzer#p195

Gruss

Michael
User avatar
RainerS
Posts: 46
Joined: 15 Jun 2009 09:44
Location: Oftersheim
Contact:

Re: kein Joystick

Post by RainerS »

Hallo,
ich glaube, dein USB Interface erzeugt den /dev/input/js0 eingang.

Man müsste jetzt mal einen Symlink darauf erzeugen, da Heli_x scheinbar die nicht abfragt, oder Michael?

Symlink erzeugen mit:
sudo ln -s /dev/input/js0 /dev/input/event8

ggf. die Rechte von js0 noch ändern

sudo chmod 777 /dev/input/js0
und
sudo chmod 777 /dev/input/e*

Probiere das mal.

Gruß
Rainer
NT, TRex 250, Logo 500 3D V-Stabi
Mein Verein: http://www.msv-plankstadt.de
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: kein Joystick

Post by Michael »

Bei Markus läuft auch der JoystickAnalyzer nicht. Komische Sache.

Michael
Post Reply