Thread (6 messages) flat view 6 messages, 2 authors, 2011-06-07

Re: HID joystick - Axis 11 non operational.

From: Antonio Ospite <hidden>
Date: 2011-06-03 14:15:19

On Wed, 1 Jun 2011 15:25:02 -0400
simon@mungewell.org wrote:
I have a strange bug, axis 11 does not appear to be working at all,
remains at -32768 all the time.

On the Sixaxis controller almost all the buttons are pressure sensitive,
and thus reported as axis as well as buttons. The 'faulty' axis is in the
middle of a descriptor group so I don't think the problem is with the
descriptor.

Hidraw0 logging shows that the gamepad is sending the correct data. Logs
from hidraw and jstest attached.

Axis 10 - Dpad-down
Axis 11 - Dpad-left
Axis 12 - L2 trigger
I confirm that the axis for Dpad-left (usage->code == 0x2f IINM) of the
Sixaxis looks like it is not working. I too can see the data on hidraw
device but not on the joystick or even the event device, so it may be
below the joystick layer.
This fault is seen with Sixaxis and 3rd party wired controller. Tested
with 3.0rc1 kernel.
Simon when you say "3rd party wired controller" do you mean still
Sixaxis compatible?
Is there any chance/place where userland could be misconfigured? Or where
should I look in the kernel?
I took a quick look at hid-input.c thinking that something about
event bits could be wrong but haven't found anything so far.

Regards,
   Antonio

-- 
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help