Skip to content

Commit

Permalink
Revert "octoprint: add patch to try to fix USB reset"
Browse files Browse the repository at this point in the history
This reverts commit cebd076.

This didn't fix the bug.
  • Loading branch information
lopsided98 committed Aug 13, 2024
1 parent 1adf655 commit 7ca0db8
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions machines/octoprint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,11 @@ in {
};
};

# This patch could maybe fix the USB reset issue?
# Bug reference: https://lore.kernel.org/lkml/ZMrFb7H1ynwwBSCA@Dell-Inspiron-15/T/#t
boot.kernelPatches = [ {
name = "arm64-dts-amlogic-gxbb-odroidc2-fix-invalid-reset-gpio-property";
patch = pkgs.fetchpatch {
url = "https://github.com/torvalds/linux/commit/e822ce43968daf9da4368617d2c948c22ccf93f9.patch";
hash = "sha256-D7sL1wmCcJ5+co+NXZsjUOt+2TqQr3DmvFLRNxf0Dws=";
};
} ];
# This driver controls the onboard USB hub reset line, but somehow this
# doesn't work right. As soon as this driver is loaded, all the USB devices
# disconnect.
# See: https://lore.kernel.org/lkml/ZMrFb7H1ynwwBSCA@Dell-Inspiron-15/T/#t
boot.blacklistedKernelModules = [ "onboard-usb-dev" ];

hardware.enableRedistributableFirmware = true;
local.networking = {
Expand Down

0 comments on commit 7ca0db8

Please sign in to comment.