Please package the Saitek X52 MFD library

Bug #173829 reported by Emmet Hikory
2
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Wishlist
Unassigned

Bug Description

Please package the MFD manipulation library for the Saitek HOTAS joystick series.

Homepage: http://plasma.hasenleithner.at/x52pro/

License: LGPL, missing headers on some files

Ideally, should generate a library package although upstream isn't currently written that way: just an x52test binary would be a nice start, for scripting interface access.

Related branches

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Tested it successfully with my X-52; only problem was the Product ID. Apparently in the library a Product ID of 762 is hardcoded, while on my system lsusb reports it as 255 (in accordance with http://www.qbik.ch/usb/devices/showdescr.php?id=3962).
Perhaps recent models have a different product ID; in any case I sent an email to the author informing him about this.
Time permitting I can package this this week to produce a shared library, a pkgconfig file and an executable.

PS. License is LGPL.

Revision history for this message
Emmet Hikory (persia) wrote :

Thanks for the license correction and testing. 762 is the X52 Pro, which qbik reports working with this device (I also have 255). Given your results, I'll update the 255 qbik entry to report drivers working.

description: updated
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

A quick and dirty package has been uploaded to REVU:

http://revu.tauware.de/details.py?upid=940

Note that the two binary packages only contains the shared library (libx52pro0) and development files (libx52pro-dev).
You can test the shared library by compiling the x52test source file (included in the development package and installed in libx52pro0/examples) with (for instance):

gcc x52test.c `pkg-config libx52pro --libs --cflags` -o x52test

The resulting binary must be tested with su rights.
Note that this should work with either the x52 or the x52pro (source library has been patched to this effect).

Any feedback, comments or questions are more than welcome.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

The library has been accepted into the ubuntu archive:

https://launchpad.net/ubuntu/+source/x52pro

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.