Linuxslate.com Forums
http://linuxslate.com/cgi-bin/forum/YaBB.pl Mobile Linux Devices >> General News >> Turtle Beach VelocityOne Flight Control and Linux http://linuxslate.com/cgi-bin/forum/YaBB.pl?num=1641243248 Message started by Administrator on Jan 3rd, 2022, 3:54pm |
Title: Turtle Beach VelocityOne Flight Control and Linux Post by Administrator on Jan 3rd, 2022, 3:54pm I purchased a Turtle Beach VelocityOne Flight Controller with the hope of using it with Linux and Flight Gear. I was prepared to do some axis and button assignment, and I have gotten various USB controllers working with FlightGear (fgfs) in the past. In fact, I only purchased the VelocityOne since my CH Products Flight Yoke has several physical issues due to years of use from myself and the previous owner. Note: for reasons well beyond mere mortals, Google Search is currently returning a "printable" version of this thread. The correct URL for this page is: http://linuxslate.com/cgi-bin/forum/YaBB.pl?num=1641243248 Major Update. This post was pre-mature. Out of the box, the VelocityOne Flight Controller was not regonized by my Linux PC (Ubuntu 20.04). I got no display or lights, However; when connected to a Windows 10 PC, the display (FMD) became active, and I was able to switch the unit from XBOX to PC mode using the FMD. It was then recognized as 2 standard USB HID devices and sound devices by Linux. Please see the 2nd and 3rd posts. Note that as of this writing, it is likely that if the unit is set back to XBOX via the FMD, it will need to be connected to a Windows PC to allow it to be set back to PC mode. It is reported as follows in lsusb -v Code:
Here is a grab of syslog when it is connected. Code:
|
Title: Re: Turtle Beach VelocityOne Flight Control and Li Post by Administrator on Jan 3rd, 2022, 4:25pm Once set to PC mode (See previous post), the VelocityOne Flight Control is recognized in Linux. Using jstest-gtk, the VelocityOne Flight Control appears as 2 joysticks -- The Yoke and the Throttle Quadrant -- as indicated below: http://linuxslate.com/screenshot_jstest-gtk.png Other notes/comments:
Update: Sorry for this being a little dis-jointed, but I am actually posting as I work on this to get it out there, and possibly to get some fixes in the next Turtle Beach firmware. The main problem I am having right now is that both the Yoke and the Throttle Quadrant have the same vendor and model identification. udevadm info /dev/input/js0 or udevadm info /dev/input/js1 both return: ID_VENDOR=Turtle_Beach ID_MODEL=VelocityOne_Flight Note that in the jstest-gtk screen shot above, they are both identified as Turtle Beach VelocityOne Flight. They are both identified the same way in the Flightgear Joystick Configureation screen. Just setting up one at a time doesn't work, because it seems that even with the USB-C-to-C cable between them removed, Linux still sees both devices -- of course the throttle quadrant doesn't work. I am trying to fix this with a udev rule, but I have not been successful yet. The easiest solution (for the user) would be for Turtle Beach to fix the fact that both HID devices have the same model indication. For example if the firmware was changed so that the Yoke had ID_MODEL=VelocityOne_Yoke, and the Throttle Quadrant had ID_MODEL=VelocityOne_Thrt, this issue would be eliminated. That said -- with a combination of manual editing of XML files and the Flightgear Joystick Configureation menu, I have gotten it to work. In addition to the Velocity One Flight Controller, I was also using my Thrustmaster rudder pedals. I was able to fly the twin engined P-61 Blackwidow around the feild very nicely, with working individual throttle controls, and a working pitch trim wheel. I have to say that while I stand by my above comment that the throttles should be a little stiffer, the overall feel of the VelocityOne yoke is excellent, and much nicer than the CH Products yoke. Specific configurations, with suggested XML files will be posted in another reply soon. One last note for now: The right hat switch is not recognized due to limits of the Linux HID drivers. It is unlikely that this will be remedied any time soon. Other than that, all axis and switches on both the Yoke and Throttle Quadrant are recognized by jstest-gtk. To join in this conversation, please request an account using the email address at the top of this page. Configuration files for Flight Gear will be covered in the next post. |
Title: Re: Turtle Beach VelocityOne Flight Control and Li Post by Administrator on Jan 5th, 2022, 9:36pm Success! I now have the Turtle Beach VelocityOne Flight Control Yoke and Throttle Quadrant, along with my Thrustmaster T-Rudder working in FlightGear. Steps to make it work: 1. Connect the VelocityOne Flight Control to a Windows 10 PC (or XBOX), and use the FMD to Select PC as the Input Mode. The VelocityOne Flight Control will then work on a Linux PC. 2. Back up your installations version of /usr/share/games/flightgear/joysticks.xml. For examle: Code:
3. In FlightGear, add the following lines to /usr/share/games/flightgear/joysticks.xml. These line must be added just before the </PropertyList> tag: Code:
So with my Thrustmaster T-Rudder included, my /usr/share/games/flightgear/joysticks.xml looks like this: Code:
(Substitue username, and fgfs path for your installation of FlightGear.) You can point to /user/share/games/flightgear/Input/Joysticks/, but then you need to be root every time you want to edit the configuration files. 4. Create the Files Turtle-Beach-VelocityOne-Flight-0.xml and Turtle-Beach-VelocityOne-Flight-1.xml in your .fgfs folder, or in /user/share/games/flightgear/Input/Joysticks/. Be sure the path specified in /user/share/games/flightgear/joystick.xml is the correct path to the referenced files. 5. Edit the Turtle-Beach-VelocityOne-Flight-0.xml and Turtle-Beach-VelocityOne-Flight-1.xml files to set up the VelocityOne Flight Control as desired. Notes:
Credit to these threads for getting me pointed in the right direction: https://forum.flightgear.org/viewtopic.php?f=24&t=30438 https://forum.flightgear.org/viewtopic.php?f=6&t=454&hilit=Proper+joystick+selection+and+less+weirdness I will post my Turtle-Beach-VelocityOne-Flight-0.xml and Turtle-Beach-VelocityOne-Flight-1.xml files once they are a bit more mature. |
Title: Re: Turtle Beach VelocityOne Flight Control and Li Post by Administrator on Jan 9th, 2022, 3:15pm XML Files for Turtle Beach VelocityOne Flight Linked below are my current XML files that I am using with the Turtle Beach VelocityOne Flight Controller and Flightgear. The files are set up for a Twin-engine aircraft. Propeller Pitch/Engine Mixture controls are not implemented as of this posting. Specifically, I have been using this with the P-61 Blackwidow (https://www.flightgear.org/download/aircraft-v2-10/). (Scroll to "Northrop"), but it should be suitable for most twin engine aircraft. Axis/Buttons Definitions (See XML files for specifics):
No LED's assigned, or currently functional as previously mentioned. Click Here to download a .zip containing both needed XML files. (http://linuxslate.com/files/Turtle-Beach-VelocityOne-Flight.zip) Other Misc Notes:
|
Linuxslate.com Forums » Powered by YaBB 2.1! YaBB © 2000-2005. All Rights Reserved. |