Greg Olah wrote: > I got Flightgear 0.9.10 up and running on my Ubuntu Linux (Edgy). > Everything is running nice and sweet...scenery, fgrun, etc. The only > problem is my CH Products yoke and pedals. I set the bindings of > joystick.xml to read the CH Products usb files. The problem is FG isn't > reading the axis on either the yoke or the pedals. It WILL read my > buttons - just no axis. > > I downloaded and ran jscalibrator and I can calibrate both the yoke and > pedals. I run js_demo, and it doesn't see the change in axis - but it > will pick up the buttons. If i try to run fgjs, the same happens - no > axis but ok with buttons. > > I am pretty sure its just a simple thing as connecting the bindings to > the correct device - but I am not sure what I need to do. > > BTW - here is a copy of my joystick.xml: > Quote: > > <?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 n="0" include="Input/Joysticks/CH/pro-yoke-usb.xml"/> > <js n="1" include="Input/Joysticks/CH/pro-pedals-usb.xml"/> > </PropertyList> > > > > Thanks A Lot Ahead of Time!! > >
> I don't know if this is a different flavour of a problem I have had since the changes to the kernel input layer that were made going back quite a while, perhaps close to one year ago. Nothing works after a reboot, no movement registered in js_demo, jstest sees them, but says all the controls and buttons are broken. I unplug and replug yoke then pedals so they remain as js0 and js1 respectively, then everything works. Looks like some kind of race condition during boot. I got a response from Greg Kroah-Hartmun who passed it on to the usb developers from whom there has been total silence. It's definitely a kernel problem, happens across all boxes, direct or via a hub, Mandriva and openSUSE. No other USB devices have problems. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus 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
