Re: [Flightgear-devel] Re: CH Pro Yoke and Linux 2.6.3
On Mon, 2004-03-22 at 21:42, David Megginson wrote: Melchior FRANZ wrote: Does the js interface output anything (as in $ cat /dev/input/js0)? If yes, then you might be able to fix the problem by simply calibrating ($ jscal /dev/input/js0). Some people are convinced that USB joysticks don't need calibration under Linux, but that's wrong. And some of the sticks are so extremely uncalibrated that they don't do anything useful at all. The buttons don't respond either, and the yoke worked fine under the (patched) 2.4.* kernels. There's definitely a problem, still, with the Linux 2.6.* HID support. David, I just found this which might help : http://bugme.osdl.org/show_bug.cgi?id=2226 I'll try it out when I get home from work. - Simon. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Re: CH Pro Yoke and Linux 2.6.3
Simon Hollier wrote: I just found this which might help : http://bugme.osdl.org/show_bug.cgi?id=2226 I'll try it out when I get home from work. It works! For anyone not following the link, if I do cat /proc/bus/usb/devices *after* plugging in my CH Yoke and Rudder pedals, they start working (Kernel 2.6.4). They do not work until I enter the command. If I unplug them and plug them in again, I have to rerun the 'cat' command. I'm guessing that the CH devices don't get initialized fully by default, but that they do get initialized as a side-effect of listing the USB devices. It's probably just a missing line in the USB code somewhere. Thanks for the help, David ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Re: CH Pro Yoke and Linux 2.6.3
Simon Hollier wrote: I had a USB mouse that worked ( except for the wheel ), but not the CH yoke and pedals with 2.6.x. I compiled the USB code from modules into the kernel and that fixed all the strange problems. I've been trying to debug it, but I always end up flying circuits instead ; That sounds like a better use of your time. Did you try any joystick *other* than the CH ones before you compiled the USB stuff in? My first guess would be that you were forgetting to load a module, but the CH joysticks should not use any modules that other USB joysticks don't use. In my case, non-CH USB joysticks work, but the CH yoke and rudder pedals do not. All the best, David ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] Re: CH Pro Yoke and Linux 2.6.3
* David Megginson -- Tuesday 23 March 2004 00:03: usb 1-2.1: new low speed USB device using address 13 drivers/usb/input/hid-core.c: ctrl urb status -32 received input: USB HID v1.00 Joystick [CH PRODUCTS CH FLIGHT SIM YOKE USB ] on usb-:00:1f.2-2.1 Unlike stock (unpatched) 2.4.* kernels, this kernel does recognize the yoke -- that's a big improvement -- but it does not register any movement from the axes or buttons, either through jstest, plib's js_demo, or FlightGear itself. Does the js interface output anything (as in $ cat /dev/input/js0)? If yes, then you might be able to fix the problem by simply calibrating ($ jscal /dev/input/js0). Some people are convinced that USB joysticks don't need calibration under Linux, but that's wrong. And some of the sticks are so extremely uncalibrated that they don't do anything useful at all. m. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Re: CH Pro Yoke and Linux 2.6.3
Melchior FRANZ wrote: Does the js interface output anything (as in $ cat /dev/input/js0)? If yes, then you might be able to fix the problem by simply calibrating ($ jscal /dev/input/js0). Some people are convinced that USB joysticks don't need calibration under Linux, but that's wrong. And some of the sticks are so extremely uncalibrated that they don't do anything useful at all. The buttons don't respond either, and the yoke worked fine under the (patched) 2.4.* kernels. There's definitely a problem, still, with the Linux 2.6.* HID support. All the best, David ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Re: CH Pro Yoke and Linux 2.6.3
I Just modified my 2.4.21-199 kernel on SuSe 9.0, using a patch from David Megginson and Alex Perry (I assume that you guys were the authors, I actually had to dig the patch out a mailinglist web archive), last weekend. Patching the 2.4.21 kernel went pretty flawlessly, even though the patch was oriiginally designed for the 2.4.19 kernel. I just had to swap two lines of code and it worked. I've only briefly tried the 2.6.x series about two weeks ago, trying to figure out why my linux box kept locking-up about once a day. I didn't even get near trying the CH Y+P with the new kernel. I switched back to kernel 2.4.21 after giving up on the old hardware, replacing the old Athlon 500MHz with an Athlon XP +2400 . Before patching, I found similar problems as David's describing here for 2.6: Although both the Yoke and Pedals were listed as USB devices, only the yoke was properly recognized as a joystick. After applying the patch, both worked perfectly. I 'll try and create a true 2.4.21-suse patch over the weekend and contribute it back to the project. Because I had to chance the original patch just a tiny bit, I was wondering if it wouldn't be a good idea to add a special Patch section to the main FlightGear download page on the website where people can donload these for various kernel versions. I haven't even looked at the 2.6.x kernel sources, so I don't have a clue whether or not they would be patchable. Cheers, Durk On Tuesday 23 March 2004 03:42, David Megginson wrote: Melchior FRANZ wrote: Does the js interface output anything (as in $ cat /dev/input/js0)? If yes, then you might be able to fix the problem by simply calibrating ($ jscal /dev/input/js0). Some people are convinced that USB joysticks don't need calibration under Linux, but that's wrong. And some of the sticks are so extremely uncalibrated that they don't do anything useful at all. The buttons don't respond either, and the yoke worked fine under the (patched) 2.4.* kernels. There's definitely a problem, still, with the Linux 2.6.* HID support. All the best, David ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel