new user here running flightgear 2016.4.4 on Linux
Device is Saitek Switch Panel.
When I plug it into the usb port i can see from dmesg:
[ 2419.534516] input: HOLTEK Saitek Pro Flight Switch Panel as /devices/pci0000:00/0000:00:1c.5/0000:04:00.0/usb5/5-1/5-1.4/5-1.4:1.0/0003:06A3:0D67.0005/input/input23
[ 2419.534712] hid-generic 0003:06A3:0D67.0005: input,hidraw3: USB HID v1.00 Device [HOLTEK Saitek Pro Flight Switch Panel] on usb-0000:04:00.0-1.4/input0
> lsusb |grep Saitek
Bus 005 Device 009: ID 06a3:0d67 Saitek PLC Pro Flight Switch Panel
I needed to be in the "input" group, so testing with my user and evtest was working,
I could see events for every button I was pressing.
So the peripheral with linux and my user is working properly.
I created the file $HOME/.fgfs/Input/Joysticks/Switch-Panel.xml that starts with:
<?xml version="1.0"?>
<!--
************************************************************************
* Setup for Saitek Switch Panel
*
* Marco
************************************************************************
-->
<PropertyList>
<name>HOLTEK Saitek Pro Flight Switch Panel</name>
<name>Saitek Pro Flight Switch Panel</name>
<name>Saitek PLC Pro Flight Switch Panel</name>
<debug-events type="bool">true</debug-events>
...
when i run Flightgear with --log-level=bulk --log-class=input
i see the following log that makes me think the config file is loaded:
...
Initializing joystick bindings
Scanning Path "/home/marco/.fgfs/Input/Joysticks" for input devices
Reading device file Path "/home/marco/.fgfs/Input/Joysticks/Switch-Panel.xml"
Scanning Path "/usr/share/flightgear/Input/Joysticks" for input devices
...
but then, to my surprise, i see
name=HDA Intel PCH Line Out Side, node=/dev/input/event8
No configuration found for device HDA Intel PCH Line Out Side
name=<null>, node=<null>
name=HOLTEK Saitek Pro Flight Switch Panel, node=/dev/input/event19
No configuration found for device HOLTEK Saitek Pro Flight Switch Panel
name=<null>, node=<null>
And I'm at loss, can somebody please help me here?