#87676
feederchain
Participant

I am using a genesis controller attached to a retrobit Genesis to USB adapter.

I think I figured it out. Or at least I found something that worked for me. I suppose I should spend some more time testing but I’ll post what I’ve done anyway. This does involve compiling the kernel. Which I had to do anyway to get my controller working.

See

Retrobit USB Genesis Adapter Driver Install?

Here is a link to the code that was put in, that I removed to make it work.

https://github.com/raspberrypi/linux/commit/79346d620e9de87912de73337f6df8b7f9a46888

In short, find the following lines


if (field->flags & HID_MAIN_ITEM_RELATIVE)
	map_rel(usage->hid & 0xf);
else
	map_abs_clear(usage->hid & 0xf);
break;

And remove them, and then recompile.

If you don’t want to compile, I can probably post my compiled package for you. It was created using Adafruit’s Kernel-o-Matic.

You may just not want the other change I made, which can be seen in the first link I posted.