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

Joystick interfaces disabled when invalid driver selected #183

Open
wberrier opened this issue Jul 3, 2020 · 0 comments
Open

Joystick interfaces disabled when invalid driver selected #183

wberrier opened this issue Jul 3, 2020 · 0 comments

Comments

@wberrier
Copy link

wberrier commented Jul 3, 2020

My settings file looked like this:

<settings version="2">
    <setting id="driver_linux">1</setting>
    <setting id="driver_sdl" default="true">1</setting>
</settings>

I'm not sure how it got into that state (I've used this addon and settings for years through multiple upgrades). With the above config, I saw this in the kodi log:

2020-07-03 13:51:59.201 T:140146413371840   DEBUG: CAddonSettings[peripheral.joystick]: loading setting definitions
2020-07-03 13:51:59.201 T:140146413371840   DEBUG: CAddonSettings[peripheral.joystick]: loading setting values
2020-07-03 13:51:59.201 T:140146413371840   DEBUG: CSettingsManager: requested setting (driver_sdl) was not found.
2020-07-03 13:51:59.201 T:140146413371840   DEBUG: CAddonSettings[peripheral.joystick]: failed to find definition for setting driver_sdl. Creating a setting on-the-fly...
2020-07-03 13:51:59.201 T:140146413371840    INFO: AddOnLog: Joystick Support: Enabling joystick interface "udev"
2020-07-03 13:51:59.201 T:140146413371840    INFO: AddOnLog: Joystick Support: Disabling joystick interface "udev"

It tries and fails with the sdl log, then goes to udev (which I had selected in the gui menu) and immediately disables it. (NOTE: I was able to repeat these same results when choosing the "Linux" driver from the gui as well).

I noticed on a fresh config I had:

<settings version="2">
    <setting id="driver_linux" default="true">0</setting>
</settings>

Once I used that config, it started working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant