Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
joystick issue: change a button into a axes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Thu Nov 21, 2013 10:22 pm    Post subject: joystick issue: change a button into a axes Reply with quote

Hello.

From end to end ...
- http://www.hobbyking.com/hobbyking/store/__8991__Turnigy_9X_9Ch_Transmitter_w_Module_8ch_Receiver_Mode_1_v2_Firmware_.html
connected to
- http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=13597
- detected with the default Linux driver joystick
- used by RC simulator games-simulation/crrcsim

lsusb
Code:
Bus 003 Device 003: ID 0b9b:4012 Dipl.-Ing. Stefan Kunde Reflex RC-controller Interface


syslog
Code:
Nov 21 23:15:46 uranus kernel: usb 3-3: new low speed USB device using ohci_hcd and address 4
Nov 21 23:15:46 uranus kernel: usbip 3-3:1.0: this device 3-3 is not in match_busid table. skip!
Nov 21 23:15:46 uranus kernel: generic-usb 0003:0B9B:4012.000D: claimed by neither input, hiddev nor hidraw
Nov 21 23:15:46 uranus kernel: usbip 3-3:1.1: this device 3-3 is not in match_busid table. skip!
Nov 21 23:15:46 uranus kernel: input:               SAILI Simulator --- XTR5.5+G2+FMS Controller as /devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.1/input/input11
Nov 21 23:15:46 uranus kernel: generic-usb 0003:0B9B:4012.000E: input: USB HID v1.11 Joystick [              SAILI Simulator --- XTR5.5+G2+FMS Controller] on usb-0000:00:12.0-3/input1


jstest
Code:
Croot@uranus:~ jstest /dev/input/js1
Driver version is 2.1.0.
Joystick (              SAILI Simulator --- XTR5.5+G2+FMS Controller) has 4 axes (X, Y, Rz, Throttle)
and 4 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn).
Testing ... (interrupt to exit)


The radio is configured to send a potar in virtual channel 5. At software level channel 5 is said to be a switch.

Q: is it possible to tweak the driver so that channel 5 becomes a proportionnal axes instead of a switch ? Or is this already decided in the firmware of the dongle and engraved in marble ?

Flightgear can handle over 16 buttons. But Crrcsim can handle 8 axes, and I definitely need 5.
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Nov 21, 2013 11:54 pm    Post subject: Reply with quote

Why don't you contact Turnigy directly and ask them about their firmware :?: Since they built it, they would know
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Fri Nov 22, 2013 12:00 am    Post subject: Reply with quote

I was asking if that could be customised at the driver level ...

And Turnigy is the manufacturer of the radio only; not of the USB dongle ...
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Fri Nov 22, 2013 12:06 am    Post subject: Reply with quote

In that case contact the manufacturer of the dongle...
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
catphish
n00b
n00b


Joined: 05 Apr 2003
Posts: 33

PostPosted: Sat May 23, 2015 4:44 pm    Post subject: Reply with quote

In case anyone else runs into this, I believe the solution is to use the tool here to reconfigure the USB dongle's firmware: http://www.mftech.de/software_en.htm

Unfortunately this doesn't seem to work on Windows 8 or Wine so I haven't been able to test myself.
_________________
This post was skilfully delivered by Charlie Smurthwaite
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum