Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cammus C5 ToDo List #186

Open
spikerguy opened this issue Mar 5, 2024 · 1 comment
Open

Cammus C5 ToDo List #186

spikerguy opened this issue Mar 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@spikerguy
Copy link
Contributor

spikerguy commented Mar 5, 2024

Thanks for fixing steering wheel display for Cammus C5

I am documenting the feature that needs to be enabled for Cammus C5, I will try to look into this points but if anyone can guide me then I can try to do it on my own.

  1. Change rotation range.
  2. Change emulation/working modes. (Not sure if applicable)
  3. Change autocentering force strength.
  4. Change force feedback gain.
  5. Device configuration profiles.
  6. Hardware performance testing. (Cannot run test as all buttons are on a different USB device, wheel base is a single axis)

As this device is using modified upstream pidff driver from here there is set gain, autocenter available in the driver itself.

Is there a need for udev rule like other devices are using ?
Example:

# Cammus C5 Direct Drive Wheel
ACTION=="bind", SUBSYSTEM=="hid", ATTRS{idVendor}=="3416", ATTRS{idProduct}=="0301", DRIVER=="hid_simagic_ff", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain spring_level damper_level friction_level autocenter'"

Cheers

@berarma
Copy link
Owner

berarma commented Mar 5, 2024

  1. Change rotation range.

The RANGE has to be a setting available from the driver.

  1. Change emulation/working modes. (Not sure if applicable)

Only if the wheel has emulation modes made available by the driver.

  1. Change autocentering force strength.

Only if the driver has this setting.

  1. Change force feedback gain.

Only if the driver has this setting.

  1. Device configuration profiles.

This should work but with no settings it has no real use.

  1. Hardware performance testing. (Cannot run test as all buttons are on a different USB device, wheel base is a single axis)

I could change it so it accepts keys too.

As this device is using modified upstream pidff driver from here there is set gain, autocenter available in the driver itself.

Is there a need for udev rule like other devices are using ? Example:

# Cammus C5 Direct Drive Wheel
ACTION=="bind", SUBSYSTEM=="hid", ATTRS{idVendor}=="3416", ATTRS{idProduct}=="0301", DRIVER=="hid_simagic_ff", RUN+="/bin/sh -c 'cd %S%p; chmod 666 range gain spring_level damper_level friction_level autocenter'"

If Oversteer complains about permissions then yes. But I would put only the settings which are present. In this case, from your comment I guess it would be gain and autocenter.

# Cammus C5 Direct Drive Wheel
ACTION=="bind", SUBSYSTEM=="hid", ATTRS{idVendor}=="3416", ATTRS{idProduct}=="0301", DRIVER=="hid_simagic_ff", RUN+="/bin/sh -c 'cd %S%p; chmod 666 gain autocenter'"

@berarma berarma added the enhancement New feature or request label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants