Open eduncan911 opened 7 months ago
Can you try unplugging and plugging the wheel with the computer on then running Oversteer?
Can you try unplugging and plugging the wheel with the computer on then running Oversteer?
Bingo! That worked! Oversteer launches in userspace now.
Any advice to triggering it on boot? (this is for the kiddos PC, hard to tell him custom stuff like this)
It's an issue with the udev rules. I want to fix it but I needed to confirm first.
The bug happens on my system as well. Unplugging and back also fixes it. FWIW this is a ubuntu 22.04 xfce with a Logitech G923 wheel.
$ uname -a
Linux bigboy 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Can you try unplugging and plugging the wheel with the computer on then running Oversteer?
One thing to note: Oversteer works with unplugin/plugging in as you suggested. However, once I select a saved Profile, I am no longer able to set the steering degrees from 900 to anything else. It's grayed out, not able to be changed. I can change other items at the bottom.
Not sure if that's a bug when profile switching, or related to this.
Can you try unplugging and plugging the wheel with the computer on then running Oversteer?
One thing to note: Oversteer works with unplugin/plugging in as you suggested. However, once I select a saved Profile, I am no longer able to set the steering degrees from 900 to anything else. It's grayed out, not able to be changed. I can change other items at the bottom.
Not sure if that's a bug when profile switching, or related to this.
I'm fixing the original issue but this is a different one. Could you run oversteer --debug
and paste the output to a new ticket when this happens?
Could you check if those issues are still present in the new master version?
Could you check if those issues are still present in the new master version?
Still a problem on Mint 21.3 - For other reasons, I need to replace the OS with something newer, probably xubuntu 24.04 so that could be a different situation for oversteer.
I've tried oversteer with ubuntu 24.04 and the news is mixed. The permissions at program launch is fixed. The problem with not being able to change (anything!) that @eduncan911 reported is confirmed. In games the wheel G923, is very heavy or stiff. Unusable. I'm going to boot back to Mint 21.3 - there are other problems with 24.04 unrelated to oversteer - I think they are unrelated.
I need to split issues. This one is about the permissions. Please, confirm if it's fixed or not. It shouldn't depend on the distribution, and if it is I won't be able to debug it.
For other issues please open new tickets.
It shouldn't depend on the distribution, and if it is I won't be able to debug it.
Sadly the distribution seems to matter on permissions. They do not work for me - Mint 21.3. What can I do to help?
It shouldn't depend on the distribution, and if it is I won't be able to debug it.
Sadly the distribution seems to matter on permissions. They do not work for me - Mint 21.3. What can I do to help?
The reason the permissions failed on boot in the first place was that the ramdisk used in the boot process contained the module for the wheel but not the udev rules. In my case it's initramfs. Thus the udev rules weren't loaded when they needed to be. At least that's the case I identified.
The fix consists in changing the udev rules should they run whenever they're loaded even if the events related to the loading of the module have happened already.
Something you can try if this doesn't work like intended is removing the ACTION conditions in the udev rules files. Although it shouldn't be needed for the current version in master.
Today I added a new commit with a minor fix. I don't think it fixes anything but I might be wrong. Maybe could explain why it works in your second install but didn't work in the first one.
Something you can try if this doesn't work like intended is removing the ACTION conditions in the udev rules files. Although it shouldn't be needed for the current version in master.
That worked! Thank you
# Match kernel name of device, rather than ATTRS{idProduct} and ATTRS{idVendor}
# so we can access the range file and leds directory. Set rw access to these
# files for everyone.
# Avoid blanket matching all Logitech devices, as that causes issues with mice,
# keyboards, and other non-wheel devices.
SUBSYSTEM=="hid", ATTRS{idVendor}=="046d" GOTO="logitech-rules"
GOTO="end"
Those are the first lines of the file /usr/local/lib/udev/rules.d/99-logitech-wheel-perms.rules after editing, I only fixed the one I use.
I'll file a new bug report about the profile problems that I have on this version and the newer os.
Looks like something may have broken with permissions? New install of a T248 with the hid-tmff2 on Pop-OS 22.04 LTS.
FFB works and oversteer launches, runs the test, etc.
Oversteer works when launched as Root, and saves/adjusts settings.
As with #106, i've tried copying the udev rules into
/lib/udev/rules.d/
and/etc/udev/rules.d/
, and rebooted.Still getting permissions issues.