jackhumbert / FreeTheWheel

Logitech driving wheel enabler based on Feral Interactive's FreeTheWheel
GNU General Public License v2.0
41 stars 18 forks source link

Fail to open device #6

Open cristian5th opened 4 years ago

cristian5th commented 4 years ago

Hello.

It would seem that this utility stopped working with Catalina. I'm getting an error when trying to open the device:

Logitech Driving Force GT Native mode enabled. ERROR: OpenDevice failed with result: e00002c5

Can this be a permissions issue? Any ideas on how to solve it?

simonaagren99 commented 4 years ago

Did you find a solution?

I have the same problem...

cristian5th commented 4 years ago

Hi @simonaagren99

No solution for me. I ended switching to Windows for gaming and the Driving Force GT works perfectly there.

Regards.

verberktstan commented 4 years ago

I have exactly the same problem on Catalina. Worked fine on Mojave before.

Can't figure out why IOHIDDeviceOpen doesn't return kIOReturnSuccess. I'd guess it's a permission problem.. I tried adding FreeTheWheel and Terminal to "Input monitoring" under Security & Privacy > Privacy but that didn't fix it.

@jackhumbert Any ideas how to fix this?

verberktstan commented 4 years ago

@cristian5th @simonaagren99 I found out that it works for me if i don't check (and return) the IOReturn but allways return the kIOReturnSuccess. I changed the Error check in this fork.

Now it works for me again on Catalina with the Driving Force GT wheel! :D

Probably a good idea to improve the error checking here.. Add more cases (more info here: https://github.com/obaby/IOKit/blob/master/IOReturn.h)

cristian5th commented 4 years ago

Great! Thank you @verberktstan ! You can propose the pull request with your solution.

akaExxy commented 4 years ago

Hey, i am very confused and i have tried entering all the codes into terminal, i am very new to this type of stuff and my g27 still does not seem to work, i am getting the same error message every time "ERROR: OpenDevice failed with result: e00002c5"

verberktstan commented 4 years ago

Hi @akaExxy

If you still get this error, try downloading this improved version: https://github.com/verberktstan/FreeTheWheel

Does it work for you?

akaExxy commented 4 years ago

@verberktstan Hi, Yes it has worked for me! Thank you for your help!

dkgrieshammer commented 4 years ago

Hi @akaExxy

If you still get this error, try downloading this improved version: https://github.com/verberktstan/FreeTheWheel

Does it work for you?

Just tried, sadly the same error; any ideas would be very much appreciated :)



Logitech G29 Native mode enabled.
Calibrated 900 degree wheel movement. (VendorID/DeviceID c24f046d)
Logitech G29 Native mode enabled.
WARNING: SendCommand failed with result: e0005000
Calibrated 900 degree wheel movement. (VendorID/DeviceID c24f046d)

Done.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Prozess beendet]
motochino commented 4 years ago

Hello I have the deiving force gt and with MacOs Catalina the same error "e00002c5" continues to appear any new solution?

ricardosobral commented 4 years ago

Anyone has been able to use this for F1 2020 on Mac with Stadia? The steering wheel doesn't seem to be recognised.

verberktstan commented 4 years ago

Hi @akaExxy If you still get this error, try downloading this improved version: https://github.com/verberktstan/FreeTheWheel Does it work for you?

Just tried, sadly the same error; any ideas would be very much appreciated :)


Logitech G29 Native mode enabled.
Calibrated 900 degree wheel movement. (VendorID/DeviceID c24f046d)
Logitech G29 Native mode enabled.
WARNING: SendCommand failed with result: e0005000
Calibrated 900 degree wheel movement. (VendorID/DeviceID c24f046d)

Done.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Prozess beendet]

You only get a warning, no error. For me the controller actually works after running this. On catalina with the DFGT it works. I get the same message that you posted and the 900* angle works..

verberktstan commented 4 years ago

@ricardosobral This script doesn't make your wheel recognizable, it unlocks the 900* steering. I've only tested it on osx Catalina with the Logitech Driving Force GT (it is recognized even if i dont run the script). Works with the Live For Speed simulator, don't know about F1 2020.

ancow-hue commented 3 years ago

Can anyone confirm whether this works with force feedback, specifically on Catalina? Using a Driving Force GT and have installed the old kext, but doesn't seem to be working.

Also, many thanks for this - aside from FF everything is working great.

eskilb commented 3 years ago

I've been using ftw for years. Recently updated to macOS Big Sur, nothing works with my G27 any longer. Please make an update!