linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Fwd: issue with Mad Catz joystick ?
       [not found] ` <CAHkp7MAsieivQuZQ5aTKDTXWM=9bP1BK8Yqy5SLWeK1dr+2pzQ@mail.gmail.com>
@ 2015-05-08 21:39   ` Christoph Fritz
  2015-05-09  8:54     ` Guillaume Apostoly
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Fritz @ 2015-05-08 21:39 UTC (permalink / raw)
  To: Guillaume APOSTOLY; +Cc: linux-usb, linux-input

Hi Guillaume

On Tue, 2015-05-05 at 08:09 +0200, Guillaume APOSTOLY wrote:
> I have the first PS3 version of the MadCatz Arcade Stick and I am trying to
> use it on my raspberry pi (with a raspbian distribution).
> The joystick is "detected", it shows up if I do "lsusb" and even if I do a
> "jstest /dev/input/js0" but the display of jstest is like frozen and
> pressing the buttons has no effect.
> Oddly enough, it worked once (not the first time) after a reboot.

Can you make sure this PS3 device is in an overall working condition? If
so, you need to come up with a quirk to make it work for Linux.

> I have tested modification of the voltage of the USB, tried to power it
> with a Y cable in case this was the issue, I have investigated the usb
> layer (the stick being known on the web to use OHCI but I think this is a
> wrong lead).
> Yesterday, I also added a part to xpad.c with the appropriate device ID,
> hoping that it will make it work somehow better, as currently only the xbox
> version is declared, and recompiled the kernel but this changes nothing :

As you noted, your device is for PlayStation 3 -- why do you think the
xbox driver is appropriate? It's not!

have fun
  -- chf


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: issue with Mad Catz joystick ?
  2015-05-08 21:39   ` Fwd: issue with Mad Catz joystick ? Christoph Fritz
@ 2015-05-09  8:54     ` Guillaume Apostoly
  2015-05-09 17:21       ` Christoph Fritz
  0 siblings, 1 reply; 3+ messages in thread
From: Guillaume Apostoly @ 2015-05-09  8:54 UTC (permalink / raw)
  To: chf.fritz-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hi,
Yes it's on working conditions (and i have two of them), I looked into the xpad driver because 1) it was handling the ps3 pad at the beginning 2) because I found reference to the xbox version of my pad in it, so I stupidly tried just to had the UUID of mine in the code.
The issues I have to investigate further is that I don't understand how the kernel decide which module is loaded for the joypad, if I modprobe other joystick related modules I don't see how to know if module A or B is handling it. 
All I know is jstest "kind of" work with it but does not.
If you could point me to some leads that could be cool, I can give you external root access to it if you want.

Best regards


> Le 8 mai 2015 à 23:39, Christoph Fritz <chf.fritz-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> a écrit :
> 
> Hi Guillaume
> 
>> On Tue, 2015-05-05 at 08:09 +0200, Guillaume APOSTOLY wrote:
>> I have the first PS3 version of the MadCatz Arcade Stick and I am trying to
>> use it on my raspberry pi (with a raspbian distribution).
>> The joystick is "detected", it shows up if I do "lsusb" and even if I do a
>> "jstest /dev/input/js0" but the display of jstest is like frozen and
>> pressing the buttons has no effect.
>> Oddly enough, it worked once (not the first time) after a reboot.
> 
> Can you make sure this PS3 device is in an overall working condition? If
> so, you need to come up with a quirk to make it work for Linux.
> 
>> I have tested modification of the voltage of the USB, tried to power it
>> with a Y cable in case this was the issue, I have investigated the usb
>> layer (the stick being known on the web to use OHCI but I think this is a
>> wrong lead).
>> Yesterday, I also added a part to xpad.c with the appropriate device ID,
>> hoping that it will make it work somehow better, as currently only the xbox
>> version is declared, and recompiled the kernel but this changes nothing :
> 
> As you noted, your device is for PlayStation 3 -- why do you think the
> xbox driver is appropriate? It's not!
> 
> have fun
>  -- chf
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: issue with Mad Catz joystick ?
  2015-05-09  8:54     ` Guillaume Apostoly
@ 2015-05-09 17:21       ` Christoph Fritz
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Fritz @ 2015-05-09 17:21 UTC (permalink / raw)
  To: Guillaume Apostoly; +Cc: linux-usb@vger.kernel.org, linux-input@vger.kernel.org

On Sat, 2015-05-09 at 10:54 +0200, Guillaume Apostoly wrote:
> The issues I have to investigate further is that I don't understand
> how the kernel decide which module is loaded for the joypad, if I
> modprobe other joystick related modules I don't see how to know if
> module A or B is handling it.

Depends on USB VID/PID or USB Descriptor. If you want to read more about
USB, e.g. look at: www.usb.org
As far as I know, PS3 controllers come with a HID descriptor, so the
generic hid driver binds this. It's quirks get organized by
drivers/hid/usbhid/hid-quirks.c

> All I know is jstest "kind of" work with it but does not.
> If you could point me to some leads that could be cool, I can give you
> external root access to it if you want.

No, I don't want that! :)

bye
 -- chf


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-09 17:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAHkp7MAbgJZ0bkDCG=WYWgJa2=y0rqFVRSjDL6jbtVQpp--==A@mail.gmail.com>
     [not found] ` <CAHkp7MAsieivQuZQ5aTKDTXWM=9bP1BK8Yqy5SLWeK1dr+2pzQ@mail.gmail.com>
2015-05-08 21:39   ` Fwd: issue with Mad Catz joystick ? Christoph Fritz
2015-05-09  8:54     ` Guillaume Apostoly
2015-05-09 17:21       ` Christoph Fritz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).