Skip to content

schenlap/XSchenFly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XSchenFly

Use cockpit hardware devices on Linuc and Mac for X-Plane 12 Toliss Airbus. It combines the functionality of https://github.com/schenlap/winwing_mcdu and https://github.com/schenlap/winwing_fcu and adds new devices. You only have to start one script now to get all supported devices working.

Status

All buttons, leds and lcd displays work the same way as in X-Plane.
Tested with:

  • XP12 under linux (debian trixie)
  • XP12 under MacOs (Sequoia 15.0.1)
  • Toliss A319, A320Neo, A321Neo, A339, A340-600

Supported Hardware:

  • Rowsfire A107: mostly supported
    • APU GEN button - I did not find the correct dataref yet
    • APU Bleed Fault indication - I did not find the correct dataref yet
    • APU Fire Button - I did not find the correct dataref yet
    • Special features for not used buttons
      • IR1-3 switches: autobrakes (min, med, max) can be set
      • ADIRS ON BAT switch: master warning can be cleared
  • Winwing MCDU: fully supported
    • Special features for not used buttons
      • blank button1: Toliss ISCS screen
      • blank button2: call cabine
  • Winwing FCU: fully supported
  • Winwing EFIS-R: fully supported
  • Winwing EFIS-L: fully supported
  • Wingflex RMP: is on todo list

A107 image

fcu demo image

Change brightness with the two brightness knobs in the cockpit. fcu demo image

mcdu demo image

For Discussions use https://forums.x-plane.org/forums/topic/324813-winwing-mcdu-on-x-plane-for-mac-studio-and-linux/

Installation

Debian based system

  1. clone the repo where you want
  2. copy udev/71-winwing.rules to /etc/udev/rules.d
    sudo cp udev/71-winwing.rules /etc/udev/rules.d/
  3. install dependencies (on debian based systems)
    sudo aptitide install python3-hid python3-serial libhidapi-hidraw0 python3-websockets
  4. start script (with udev rule no sudo needed): python3 ./XSchenFly.py when X-Plane with Toliss aircraft is loaded.

MAC-OS

  1. clone the repo where you want
  2. change into the directory cd XSchenFly
  3. install homebrew
  4. install dependencies python3 -m pip install hid python3 -m pip install requests python3 -m pip install websockets python3 -m pip install serial
  5. brew install hidapi
  6. let hid find hidapi: ln -s /opt/homebrew/lib/libhidapi.dylib .
  7. start script with: python3 ./XSchenFly.py when X-Plane with Toliss aircraft is loaded.

Configuration of rowsfire devices (mobiflight)

  1. on first start you will see something like:
   find mobiflight devices:
   /dev/ttyUSB0: None 6790:29987
testing /dev/ttyUSB0 - USB Serial
   received serial number: SN-08B-DB1
   Not using mobiflight device SN-08B-DB1, expected SN-XXX-XXX
 [A107] No compatible rawsfire device found, quit

because it does not know which serial number it should use.

  1. Change MOBIFLIGHT_SERIAL = "SN-XXX-XXX" in devices/rawsfire_a107.py to MOBIFLIGHT_SERIAL = "SN-08B-DB1" (use your serial that was printed under Not using mobiflight device SN-08B-DB1)

Use

  1. start X-Plane
  2. enable incoming traffic in settings / network (at the very bottom of the page)
  3. load Toliss A319
  4. start script as written above
  5. enjoy flying (and report bugs :-) )

developer documentation

See documention for developers. TODO

Notes

Use at your own risk. Updates to the winwing devices can make the script incompatible. TODO: The data sent in the USB protocol by SimApp Pro has not yet been fully implemented, only to the extent that it currently works.

Next steps

  • bring all devices to websockets communication

Contact

memo_5_@gmx.at (without the two underscores!) or as pm in https://forums.x-plane.org, user memo5.

Sponsoring

To sponsor you can buy_me_a_coffee http://buymeacoffee.com/schenlap

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Languages