X axis is detected as Y axis, and Y axis is not working at all.
Build: MustardOS_RG35XX-H_2606.0_ANDROMEDA-db2a3bd0
On previous version (MustardOS_RG35XX-H_2601.1_FUNKY_JACARANDA-bc38efa0) it was working correctly.
I just tried with my rg35xxh and its working fine. But I only switched SD1 and the config was on SD2… So it was not a completely fresh install.
I don’t know where the old config comes into place, but during Andromeda installation i also did the input test and it was working fine there too.
In my case it behaves like this on installed system and also in the installer.
A reboot with the stick centered doesn’t fix it?
Could you re-flash funky jacaranda to test if the issue does not appear there too?
It really seems hardware related, as the 35H was extensively tested and no issue similar to this was ever reported.
If by flashing the old version it works, then it needs to be looked into by the devs, if it keeps doing the same thing, then it something hardware related to your device.
I always check two times before submitting issue, so already flashed Funky Jacaranda to check, and it works correctly on it.
I’d be happy to help devs find out the issue, I really enjoy tinkering with linux related stuff, just need a hint where to start ![]()
Edit:
Tried digging myself, connected by ssh, killed input daemon and inspected raw input device, before remapping. Left analog works, both X and Y axis:
ABS_Z: X axis
ABS_RX: Y axis
Then I found source of input daemon: frontend/input at main · MustardOS/frontend · GitHub
and modified devices/h700/mapping.h:
diff --git a/input/devices/h700/mapping.h b/input/devices/h700/mapping.h
index 277da3c0..d30b7d39 100755
--- a/input/devices/h700/mapping.h
+++ b/input/devices/h700/mapping.h
@@ -46,9 +46,9 @@ static inline unsigned short h700_map_abs(unsigned short source_code, int has_st
case ABS_Y:
return has_sticks ? ABS_X : ABS_CNT;
case ABS_Z:
- return has_sticks ? ABS_Y : ABS_CNT;
+ return has_sticks ? ABS_X : ABS_CNT;
case ABS_RX:
- return has_sticks ? ABS_CNT : ABS_X;
+ return has_sticks ? ABS_Y : ABS_X;
case ABS_RY:
return has_sticks ? ABS_RX : ABS_Y;
case ABS_RZ:
Then (cross)compiled and replaced muinput executable in my device. Now it works as intended. I guess this patch is nowhere near real solution, but proves that it’s not hardware failure and is some workaround for me now.
I have multiple 35H and so do a lot of the testing crew and over the course of many months (6?) this issue was not raised once.
Unfortunately the concern is that there are many devices out there with random quality control issues that we cannot realistically capture every single one.
It’s good to hear that you have solved your own issue however.
Is there any chance to have this fixed upstream? I’m ready to contribute if there is a will. My 35H is somewhat recent (about a month), so there may be more devices like that in the future.
Oh, and I have spare motherboard of 35H, (it originally arrived with broken wifi - it was a cause of replacement - it shouldn’t matter here) so I could check if it shows same issue - which could be a sign of new revision or something.
Changes here for this that and everything else will make things harder to maintain over time.
The changes you make here will then have to be tested across several other devices, content, and applications.
If it is working for you I would just keep that win in your pocket.