Quantcast
Channel: petrockblock » All Posts
Viewing all articles
Browse latest Browse all 952

Reply To: Autofire on the axis

$
0
0

OK… so monchote…. you sparked something in my brain with your talk of quirks. Or at least that patch you referenced.

While I has dealing with this months ago I remembered reading something about adding a quirk on boot. But I didn’t get it to work. Looking back now, it’s because I didn’t know what I was really doing then.

Anyway… So I figured out my vendor/product ids 1292/4745.

Which is when the spark happened. So you are allowed to add the following to the end of /boot/cmdline.txt

usbhid.quirks=0x1292:0x4745:0x040

The first two numbers are my vendor/product. The third is the quirk. Found here http://lxr.free-electrons.com/source/include/linux/hid.h#L313

So the 40 is for multi input.

So with my kernel and this above. I was seeing two controllers and they both worked.

You can find the vendor/product using
lsusb

returned this for me
Bus 001 Device 005: ID 1292:4745 Innomedia

So the next logical step was to try and use HID_QUIRK_NOGET with a virgin kernel and see if the directionals work. Replaced the 40 with the 8.

Unfortunately that didn’t work for me.

Hopefully for you compiling in the quirk will help.


Viewing all articles
Browse latest Browse all 952

Trending Articles