berarma / oversteer

Steering Wheel Manager for GNU/Linux
GNU General Public License v3.0
623 stars 60 forks source link

G920 Steering #78

Closed Neutrovertido closed 3 years ago

Neutrovertido commented 3 years ago

Oversteer only detects steering to the left but not to the right. When viewing the steering in the program I noticed something wrong, when the wheel is fully centered it appears like this: image

When completely to the left: image

When completely to the right it stays just like when centered, and I am using the full 900 degrees of rotation: image

Reconnecting the wheel or restarting don't fix the issue.

berarma commented 3 years ago

This is weird, I haven't done any related changes and there's other G920 users out there.

Which Oversteer version are you using? You should be using the latest release or the master branch.

If the issue persists, please, use evtest to read events from the wheel. Move the wheel full left and full right and copy/paste the last lines after each full motion to see which values are read from the wheel.

Neutrovertido commented 3 years ago

I'm using the master branch. The issue persists.

Full left

Event: time 1634217162.432054, -------------- SYN_REPORT ------------
Event: time 1634217162.434086, type 3 (EV_ABS), code 0 (ABS_X), value 0
Event: time 1634217162.434086, -------------- SYN_REPORT ------------

Full right

Event: time 1634217222.716542, -------------- SYN_REPORT ------------
Event: time 1634217222.718452, type 3 (EV_ABS), code 0 (ABS_X), value 65535
Event: time 1634217222.718452, -------------- SYN_REPORT ------------
berarma commented 3 years ago

Do you have a 32bits system?

Neutrovertido commented 3 years ago

Do you have a 32bits system?

No, I use Pop!_OS 21.04, 64 bits

berarma commented 3 years ago

Please, test the latest master commit. I think it's fixed.

Kim1642 commented 3 years ago

same issue here, is there an arch package yet?

Neutrovertido commented 3 years ago

Please, test the latest master commit. I think it's fixed.

Yes, I can confirm it is fixed. It's fully functional now.

same issue here, is there an arch package yet?

@Kim1642 not sure about the arch package, but you can still build the package yourself (it's not hard, just follow the instructions)

berarma commented 3 years ago

same issue here, is there an arch package yet?

It's in the Readme. If you're asking for the version with the fix, I'll make a new release as soon as I can and I guess the packagers will update.

Anyway, this fix doesn't change the way the wheel works, it's only an error displaying the wheel position in Oversteer. Everything else will work fine.