[GH-ISSUE #4605] supertuxkart: cannot see controller without netlink #2721

Closed
opened 2026-05-05 09:23:08 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @jose1711 on GitHub (Oct 14, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4605

If I want to be able to configure/use my SN30pro+ controller (wired mode) in supertuxkart I need to add netlink to

2164412bb5/etc/profile-m-z/supertuxkart.profile (L46)

This is probably xpad driver specific issue.

Originally created by @jose1711 on GitHub (Oct 14, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4605 If I want to be able to configure/use my SN30pro+ controller (wired mode) in `supertuxkart` I need to add `netlink` to https://github.com/netblue30/firejail/blob/2164412bb54087b1c540893acf5384ef9bf03f1d/etc/profile-m-z/supertuxkart.profile#L46 This is probably `xpad` driver specific issue.
Author
Owner

@jose1711 commented on GitHub (Oct 22, 2021):

FWIW the game also crashes on changing resolutions if netlink is not added to the list. Wonder if anyone else can confirm (ideally running a non-Arch distro).

<!-- gh-comment-id:949418139 --> @jose1711 commented on GitHub (Oct 22, 2021): FWIW the game also crashes on changing resolutions if `netlink` is not added to the list. Wonder if anyone else can confirm (ideally running a non-Arch distro).
Author
Owner

@jose1711 commented on GitHub (Oct 27, 2021):

Also it's not just about xbox360 controller, it also affects my SNES-like DPAD.

<!-- gh-comment-id:952986981 --> @jose1711 commented on GitHub (Oct 27, 2021): Also it's not just about xbox360 controller, it also affects my SNES-like DPAD.
Author
Owner

@netblue30 commented on GitHub (Jan 21, 2022):

Fixed, thanks!

<!-- gh-comment-id:1018599442 --> @netblue30 commented on GitHub (Jan 21, 2022): Fixed, thanks!
Author
Owner

@rusty-snake commented on GitHub (Jan 21, 2022):

  • supertuxkart.profile still lacks protocol netlink
  • 39654d0166 add a lot of duplicated code
<!-- gh-comment-id:1018604762 --> @rusty-snake commented on GitHub (Jan 21, 2022): - supertuxkart.profile still lacks `protocol netlink` - 39654d01661ea9310b9b886a572ee24b1e4c9cfb add a lot of duplicated code
Author
Owner

@netblue30 commented on GitHub (Jan 22, 2022):

Something went very very wrong there!

I added it to supertuxkart. Do you need it for any other games?

<!-- gh-comment-id:1019355976 --> @netblue30 commented on GitHub (Jan 22, 2022): Something went very very wrong there! I added it to supertuxkart. Do you need it for any other games?
Author
Owner

@kmk3 commented on GitHub (Jan 25, 2022):

@netblue30 commented on Jan 22:

Something went very very wrong there!

Please consider using git revert to revert commits whenever feasible, as it
undoes every change at once and also makes it clear in the log that the
original commit was reverted.

For example, in this case, git revert 8b92ac3eb would have been a clean
revert.

And if there were multiple commits to be reverted, the one thing to keep in
mind is that they have to be reverted in the opposite (topological) order that
they were committed. For example, given the following commits:

$ git log -n 4 --oneline --graph
* C bar 3
* B bar 2
* A bar 1
* X foo

To revert commits A, B and C, one would do:

git revert C
git revert B
git revert A

I added it to supertuxkart.

Can this be closed then?

<!-- gh-comment-id:1021439707 --> @kmk3 commented on GitHub (Jan 25, 2022): @netblue30 commented [on Jan 22](https://github.com/netblue30/firejail/issues/4605#issuecomment-1019355976): > Something went very very wrong there! Please consider using `git revert` to revert commits whenever feasible, as it undoes every change at once and also makes it clear in the log that the original commit was reverted. For example, in this case, `git revert 8b92ac3eb` would have been a clean revert. And if there were multiple commits to be reverted, the one thing to keep in mind is that they have to be reverted in the opposite (topological) order that they were committed. For example, given the following commits: ```console $ git log -n 4 --oneline --graph * C bar 3 * B bar 2 * A bar 1 * X foo ``` To revert commits A, B and C, one would do: ```sh git revert C git revert B git revert A ``` > I added it to supertuxkart. Can this be closed then?
Author
Owner

@rusty-snake commented on GitHub (Jan 25, 2022):

Can this be closed then?

I think so.

<!-- gh-comment-id:1021445722 --> @rusty-snake commented on GitHub (Jan 25, 2022): > Can this be closed then? I think so.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2721
No description provided.