For a look back, I include my original post and Andrew Morton's reply.
Posting to this group didn't get any response.
I found a workaround, I unplug and replug the devices and it all works.
-----------------------------------------------------------------------
http://readlist.com/lists/vger.kernel.org/linux-kernel/23/117018.html
Subject: Re: 2.6.12-rc5/2.6.12-rc5-git8 USB problems
Group: Linux-kernel
From: Andrew Morton
Date: 4 Jun 2005
Sid Boyce <sboyce> wrote:
>
> Everything works OK on 2.6.12-rc4. The joysticks are seen by lsusb and
> the joystick test programs, but the controls do nothing in 2.6.12-rc5
> and 2.6.12-rc5-git8.
> # js_demo
> Joystick test program.
> ~~~~~~~~~~~~~~~~~~~~~~
> Joystick 0: "CH PRODUCTS CH FLIGHT SIM YOKE USB "
> Joystick 1: "CH PRODUCTS CH PRO PEDALS USB "
>
> # jscal /dev/js0
> Joystick has 7 axes and 13 buttons.
> Correction for axis 0 is broken line, precision is 0.
> Coeficients are: 127, 127, 5534751, 5534751
> Correction for axis 1 is broken line, precision is 0.
> Coeficients are: 127, 127, 5534751, 5534751
> Correction for axis 2 is broken line, precision is 0.
> Coeficients are: 127, 127, 5534751, 5534751
> Correction for axis 3 is broken line, precision is 0.
> Coeficients are: 127, 127, 5534751, 5534751
> Correction for axis 4 is broken line, precision is 0.
> Coeficients are: 127, 127, 5534751, 5534751
> Correction for axis 5 is broken line, precision is 0.
> Coeficients are: 0, 0, 536870912, 536870912
> Correction for axis 6 is broken line, precision is 0.
> Coeficients are: 0, 0, 536870912, 536870912
>
The consensus from Dmitry and Vojtech is that this could be either USB or
an input layer problem, but nothing changed in [UO]HCI or HID between the
two mentioned versions.
So this is more likely a recent regression in the USB code. Could someone
please grab it while it's fresh?
---------------------------------------------------------------------------
Re: [Linux-usb-users] Joystick controls inoperable - CH Pro ducts Yoke
and Pedals
Lauri Koponen
Thu, 07 Sep 2006 16:25:15 -0700
Sid Boyce <sboyce <at> blueyonder.co.uk> writes:
>
> Sid Boyce wrote:
> > On the odd occasion recently they have worked. Kernel 2.6.17-rc4-git9
> > now, but in much earlier kernels everything worked, may be up to
2.6.14
> > would be my best guess.
> > # CONFIG_INPUT_JOYSTICK is not set
> > Turned the above off after seeing the problem in case it was
looking for
> > analog.
> After a power on or reboot, unplugging and replugging the Yoke and
> Pedals results in them working normally, probably a timing issue.
> Regards
> Sid.
Hi.
I have this very same problem with CH CS568 and CH Pro Pedals.
I don't have really anything to add. As you said replugging the
device helps, but it's rather annoying.
Seems like every CH USB device suffers from this under later linux 2.6
kernels,
----------------------------------------------------------------------------------
Right up until now - kernel 2.6.23-rc3 and on many hardware boxes since.
# jscal /dev/input/js0
Joystick has 7 axes and 12 buttons.
Correction for axis 0 is broken line, precision is 0.
Coeficients are: 112, 142, 5534751, 5534751
Correction for axis 1 is broken line, precision is 0.
Coeficients are: 112, 142, 5534751, 5534751
Correction for axis 2 is broken line, precision is 0.
Coeficients are: 112, 142, 5534751, 5534751
Correction for axis 3 is broken line, precision is 0.
Coeficients are: 112, 142, 5534751, 5534751
Correction for axis 4 is broken line, precision is 0.
Coeficients are: 112, 142, 5534751, 5534751
Correction for axis 5 is broken line, precision is 0.
Coeficients are: 0, 0, 536870912, 536870912
Correction for axis 6 is broken line, precision is 0.
Coeficients are: 0, 0, 536870912, 536870912
Replugging devices
===================
# jscal /dev/input/js0
Joystick has 7 axes and 12 buttons.
Correction for axis 0 is broken line, precision is 0.
Coeficients are: 112, 142, 5534751, 5534751
Correction for axis 1 is broken line, precision is 0.
Coeficients are: 112, 142, 5534751, 5534751
Correction for axis 2 is broken line, precision is 0.
Coeficients are: 112, 142, 5534751, 5534751
Correction for axis 3 is broken line, precision is 0.
Coeficients are: 112, 142, 5534751, 5534751
Correction for axis 4 is broken line, precision is 0.
Coeficients are: 112, 142, 5534751, 5534751
Correction for axis 5 is broken line, precision is 0.
Coeficients are: 0, 0, 536870912, 536870912
Correction for axis 6 is broken line, precision is 0.
Coeficients are: 0, 0, 536870912, 536870912
# js_demo
Joystick test program.
~~~~~~~~~~~~~~~~~~~~~~
Joystick 0: "CH PRODUCTS CH FLIGHT SIM YOKE USB "
Joystick 1: "CH PRODUCTS CH PRO PEDALS USB "
Joystick 2 not detected
Joystick 3 not detected
Joystick 4 not detected
Joystick 5 not detected
Joystick 6 not detected
Joystick 7 not detected
+--------------------JS.0----------------------+--------------------JS.1----------------------+
| Btns Ax:0 Ax:1 Ax:2 Ax:3 Ax:4 Ax:5 Ax:6 | Btns Ax:0 Ax:1 Ax:2
|
+----------------------------------------------+----------------------------------------------+
| 0000 +0.1 +0.0 -1.0 -1.0 -1.0 +0.0 +0.0 . | 0000 -1.0 -1.0 -0.2 .
. . . . |
js_demo before replugging, all axes were stuck at zero.
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel