Hmm, this correlates with my observation of G25. I tried to analyze what happens when you switch the pedals from combined to separate in the logitech software, but i could not see any specific USB traffic. So this also seems to be a "software-only" switch in the Logitech driver, not in the actual device.
To be honest adding that flag was my first guess without really understanding what it does. Because it is also set for the basic Logitech wheel
Hmm, i did not try the pedals at all yet I assumed they should be automatically separated in native mode. Why do you think this requires kernel-side changes? Is this not a property of the DFP device itself if it reports combined/separate axes?
Wooho, great work! I just integrated your patch into LTWC and it is working fine. I added also support for setting ranges < 200 degree (but it seems the range calculation is not really correct here, e.g. setting a range of 100 results in effective ~50-60 degrees)
And even more good news:
There is a really simple kernel patch necessary to fix the "parse failed" kernel errors. The DFP needs the flag "LG_NOGET" added - thats all
I got the DFP yesterday, only had time for a quick check - I can fully reproduce the trouble reported by MadCatX. Now i am trying to understand how the hid-drivers in kernel work :-)
Edit: By the way i am surprised that the DFP has a kind of hardware rotation limitation? It seems there is a mechanical limit at 200 degrees that you can clearly hear when being (de)activated. Is this true?
Small *bump* - Beginning of next week i should finally have a (slightly broken) DFP in my hands (thanks to Ebay :tilt. So there is hope i can probably sort out the problems reported by MadCatX...
MadCatX, maybe you could log the USB traffic when setting different wheel ranges from the Logitech control panel? I am sure we can find the correct formula when we have a few more samples.
I would do that myself, but still have no access to DFP wheel here (still working on it - with some luck next week...)
Thanks for the info MadCatX
Indeed this looks like a kernel issue. Which kernel are you running? Are the patches from slim.one for G25/DFP support already included?
If yes we probably need to get engaged in kernel hacking. Maybe some of the "quirks"-flags from lg-ff.c need to be set...
@slim.one: As you are probably already more into kernel hacking Any idea?
Definitely good idea, will do this in the next update
Problem is i do not know (yet) how the Logitech driver recognizes that a connected wheel is in reality not a DF but a G27 in restricted mode. It must query some other parameter besides PID and VID (and i assume/hope it does NOT rely just on the name string reported by the device... ). With this knowledge the --wheel parameter could be obsolete again and the whole process could be very well automated.
...Or maybe i did not fully understand your point
dmesg output would be welcome And if you have the possibility to create a USB traffic log when the device is plugged in on Windows and e.g. wheelrange is set to different values it would be even better. Regarding USB analyzer tool i do not yet have an opinion - Most tools i saw sofar are quite expensive but offer some trial mode.
I will do this myself when i get hands on a DFP but it is not confirmed yet if/when i get it
This would be awesome But i think it will take some more time untill the CLI is kind of stable...
Nice find i will integrate this into LTWheelConf asap.
Nice to hear the autocenter works on DFP also, thanks for testing
Are you referring to the problems with setting wheel range on DFP? With some luck I'll have a DFP available here for testing within the next week. I am confident to get it running when i can have a detailed look at the usb traffic
Hmm, looks like i should go check the autoconf tools and have a proper ./configure command to prevent trouble like this. I hate it
*Bump*
There is now a "native" implementation of autocenter settings which does not rely on kernel 2.6.39 anymore and as a bonus allows finer control of behaviour by also providing a setting for the rampspeed.
MadCatX: I am very curious if this also works on your DFP, as i only have a G25 here. Could you give a try to the latest version if the autocenter and rampspeed settings work on your side?
In case it is not working the old implementation is still available through parameter "--altautocenter".
This is for anybody who wants to use his Logitech wheel to its full potential on Linux. For example running LFS through wine
Based on discussion and code in this thread and some more info in the vdrift forums i created a tool to configure the wheels correctly on linux.
From the Readme:
The code is GPL'ed and hosted on github: https://github.com/TripleSpeeder/LTWheelConf
Currently there are no binaries provided, but it is really easy to build. Just download & extract the sources and type "make"
With this tool and the latest kernel 2.6.39 LFS runs perfectly with all features also on Linux (through wine)
Edit:
-> Developed & tested on Arch linux x86_64
-> I only have a G25, so i could not test if it really works with DFP/G27
Last edited by MikeB, .
Reason : changing autocenter does not rely on kernel 2.6.39 anymore :-)
Separate axes works fine with the G25 here. But i have the same problem of disappearing input device after setting native mode. But this can be fixed by reloading of some usb modules:
If you do this after setting the wheel to native mode/full range it is available again in dev/input. I tried to put this into the udev ruleset so it happens automatically after plugging it in, but didn't get it to work yet...
Also the autocenter issue i did not try to fix yet - maybe i find some time to build a patched kernel, or i'll just wait for 2.6.39 to be released
But there is another issue: I need to recalibrate axes everytime LFS window loses focus and whenever i change FF setting, which is quite annoying.
Any idea how to prevent this?
Did you already get feedback if the patch will make it into the 2.6.39?
Edit: Just noted that current Wine release available for my distro (Arch linux) is alread 1.3.18. Does this mean that no more patches are necessare there?
Sorry guys, currently i have absolutely no time to care for TeamStats. I know that the update is not working for quite some time now, but had no chance to sit down and figure it out.
Probably i will take the site down, because with obsolete data it does not make sense at all. Rather be offline than display wrong data...
Couldn't say it better. I laughed my ass of reading this, on the other hand there's a quite feeling of sadness. Anyway, whatever the future might bring with LFS - This is one of the best threads in a long time :smileyrai
Come on, what is this about? Do you have a website or anything else? Some description of the whole thing? Being at work i can not connect to the server
Agreed that it may be unrealistic as hell. But nevertheless it would be awesome if you can literally "feel" when the wheels stop turning. I imagine it would work like this:
Apply brakes -> pedal vibrates
wheel starts slipping -> decrease vibration
wheel completely stops -> stop vibration
This way you could "balance" on the maximum brake force just by feel in the foot! When you sense a decrease of vibration you just release the pressure a little bit until the vibration comes back at full volume.
I see only one issue here - You have 4 wheels, each one having a separate grip level at any given situation. I am not sure this could be handled well with only one way of feedback. Think of the rear inner wheel, sometimes not spinning at all because it just has no contact to tarmac during braking/turning in...?
Ahh, thanks for the info
Regarding the session (practice/qualy/race) type: I think I already found where it is stored (somewhere later in mpr file).
Maybe this would be useful to include in the officially documented mpr header?