x52output(1)
β¨ x52output(1) β¨
okay so bestie, you've wandered into the General Commands Manual and honestly? you're in the right place. this is the page for x52output, and it's giving command-line-frontend-for-a-whole-library energy. let's get into it π
π NAME π
x52output β command line frontend for the x52pro library π
π¦ SYNOPSIS π¦
x52output text 0 'First Line'
x52output text 1 'Second Line'
x52output text 2 'Third Line'
x52output bri 0 40
x52output bri 1 50
x52output led 1 1 # not available for old X52
x52output time 1 12 20
x52output date 7 10 17
x52output second 30 # YOKE only
x52output offset 0 1 0 90 # set 90 minutes offset on time display 2
πΈ DESCRIPTION πΈ
x52output is a command line frontend for the x52pro MFD library. it's made for debugging and/or scripting purposes, no cap. π«Ά
the x52pro MFD library gives you access to the display/LEDs of the following SAITEK pro flight devices:
- X52 Pro Flight Control System
- X52 Flight Control System
- X52 Pro Flight Yoke
and now for the main character moment β x52output has these sub-commands:
text line textβ Outputs a single line of text to one of the three lines on the x52/x52pro MFD.lineis a number from0to2, andtextis an alphanumeric text of length16. some graphical characters are also supported, but no work has currently been spent on charset compatibility, so likeβ¦ don't expect a whole aesthetic font situation. πbri mfd brightnessβ Sets the brightness of either the button LEDs (x52pro only) or the MFD.mfd=0selects the buttons andmfd=1selects the MFD.brightnessis a decimal value in the range from0to127.led led-idx colorβ Sets the led color of one of the x52pro buttons.led-idxis a value from1to19. the meaning of theled-idxvalues is specified in the next paragraph, keep scrolling bestie β¬οΈtime h24 hour minuteβ Sets the time shown on the MFD.h24=0displays the time in AM/PM notation,h24=1displays the time in 24 Hour notation.houris a value from0to24whileminuteis a value from0to60.date year month mdayβ Sets the date shown on the MFD.year,month, andmdayare just values from0to99. using this order will show asYY-MM-DDon the MFD, but it is possible to use the three values in any order preferred. your date, your rules β¨second secondβ Sets the second value shown on the Pro Flight Yoke MFD. can be a value from0to59.offset offsetβ Sets the time offset of the secondary and tertiary time display of the x52/x52pro MFD.idx=0selects the secondary display whileidx=1selects the tertiary display.neg=0sets a positive offset,neg=1sets a negative offset.offsetis in minutes from0to1023.
led-idx for the led sub-command can be one of the following values:
- LED(s) of Fire Button
- Red LED of A Button
- Green LED of A Button
- Red LED of B Button
- Green LED of B Button
- Red LED of D Button
- Green LED of D Button
- Red LED of E Button
- Green LED of E Button
- Red LED of T1 Switch
- Green LED of T1 Switch
- Red LED of T2 Switch
- Green LED of T2 Switch
- Red LED of T3 Switch
- Green LED of T3 Switch
- Red LED of Coolie Hat
- Green LED of Coolie Hat
- Red LED of i Button
- Green LED of i Button
okay so real talk π«Ά x52output needs write access to the raw x52 USB device. this package is supplied with udev rules for providing write access on the SAITEK MFD joysticks to the plugdev group members. if x52output fails, permission problems can be checked by means of running it with sudo.
ngl if it's not working, it's probably a permission vibe check. run it with sudo and see. π
π EXIT STATUS π
if the joystick/yoke is not found, x52output will return a status code of 1. in every other situation it will return a status code of 0. this includes malformed command lines. yes bestie, even when you fumble the syntax it's still gonna say 0. iconic behaviour honestly.
π BUGS π
x52output can currently control only a single SAITEK mfd device. if there are more than one devices attached to the system, the first will always be used. no choosing, no picking favourites, just β¨the first oneβ¨. periodt.
π AUTHOR π
Written by Eduard Hasenleithner <eduard@hasenleithner.at> π
and that's the whole page, bestie β this was x52output(1), page one of one of the General Commands Manual, and if you were wondering about the version and the date, they're not printed anywhere up in here, so just know this is x52output(1) and go slay your flight sim setup. mwah π
β¨
π¦ where this page comes from
- debian trixie: libx52pro0 0.2.0-2
- ubuntu questing: libx52pro0 0.2.0-2
- ubuntu resolute: libx52pro0 0.2.0-2build1
- ubuntu stonking: libx52pro0 0.2.0-2build1
- Copyright (C) 2007 Eduard Hasenleithner <eduard@hasenleithner.at>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms