Craig Benbow wrote:
> I'm having trouble getting my USB CH yoke working and I'm not sure which
> joystick.xml file is being used.  Correct me please but I thought the
> Joysticks.xml file needs to include a reference to the actual joystick
> file to use, in this case that woud be pro-yoke-usb.xml.  If I have that
> right then any changes I make to that file should be used by the program
> right?
> 
> The joysticks file is thus:
> 
> <?xml version="1.0"?>
> <!--
>     To override or add "named" joystick drivers list them in
>     <js-named> entries with paths relative to the directory where
>     the joysticks.xml file resides (first example). Such "named"
>     drivers are only picked up if one of their <name>s matches
>     the joystick hardware (see output of the js_demo application).
>     These drivers have precedence over already existing drivers
>     with the same <name>. (You can also add a <name>default</name>
>     entry to the driver to make it the default choice.)
> 
>     The second example shows how to load a driver directly to
>     position 0. This will then be used for the first joystick on
>     your system and FlightGear will not overwrite it.
> -->
> 
> <PropertyList>
> <!--
>     <js-named include="Input/Joysticks/Local/X45-modified.xml"/>
> 
>     <js n="0" include="Input/Joysticks/Local/joystick_0.xml"/>
> -->
>     <js-named include="Input/Joysticks/CH/pro-yoke-usb.xml"/>
> 
> <!--
>     <js-named/> dummy to keep SimGear happy
>             -->
> </PropertyList>
> 
> If thats all OK it should work right but its not.  Me thinks me has this
> wrong but I can't figure what is wrong!
> 
> I tried using fgjs but it never creates a complete file for some reason
> all I got in js0.xml was:
> 
> <?xml version="1.0" ?>
> 
> <PropertyList>
> 
>  <name>CH PRODUCTS CH FLIGHT SIM YOKE USB </name>
> 
> Then I looked for fgfsrc files and they don't exist either.  Any ideas
> anyone?
> 
> Craig
> 
> 
> 
> 

I see a problem with the yoke and pedals in SuSE 10.1 where the controls 
do not work initially. I have to remove and replug them in order to get 
them to work in fgfs, js_demo or jstest. As they work as expected, I can 
assume it's the pro-*.xml files being used. Looking in /sys/bus/usb/ I 
can see references to the CH Yoke and Pedals.

# less /dev/.udev/db/[EMAIL PROTECTED]@usbdev2.6
N:bus/usb/002/006
M:189:133

# less /dev/.udev/db/[EMAIL PROTECTED]@usbdev2.7
N:bus/usb/002/007
M:189:134

# lsusb
Bus 002 Device 007: ID 068e:00f2 CH Products, Inc. Flight Sim Pedals
Bus 002 Device 006: ID 068e:00ff CH Products, Inc. Flight Sim Yoke

As an indication, js_demo shows up everything, but pressing buttons etc. 
result in no change in the initial figures.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support 
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to