| 27 Jun 2023 |
@elvishjerricco:matrix.org | If you want a brute force solution, you could probably just import the all-hardware.nix module out of nixpkgs | 14:52:30 |
@linus:schreibt.jetzt | but if it's a yubikey or something there's no kernel-side driver for it | 14:52:50 |
@passion-fruit:matrix.org | In reply to @linus:schreibt.jetzt what kind of USB device? Plain ol USB 2.0. It's model comes up as "FlashDisk" and it's very old (I think it's only a gig in size). | 15:26:03 |
@passion-fruit:matrix.org | In reply to @oddlama:matrix.org my guess is on usb_storage Already loaded by hardware-configuration but thanks for the guess :) | 15:27:10 |
@passion-fruit:matrix.org | In reply to @elvishjerricco:matrix.org If you want a brute force solution, you could probably just import the all-hardware.nix module out of nixpkgs I could try that? is it possible to, if it works, narrow it down afterwards? | 15:28:11 |
@passion-fruit:matrix.org | In reply to @linus:schreibt.jetzt what kind of USB device? * Plain ol USB 2.0. It's model comes up as "FlashDisk" and it's very old (I think it's only a gig in size). (note: i have other flash drives connected too and they aren't detected either (some significantly more modern)) | 15:29:50 |
@elvishjerricco:matrix.org | Yea I guess you could copy the code out of the module and then bisect it by commenting out one half at a time | 15:29:57 |
oddlama | In reply to @passion-fruit:matrix.org I could try that? is it possible to, if it works, narrow it down afterwards? Does the stick show up in stage2? If so, just check lsmod for relevant modules. | 15:37:52 |
oddlama | If the device doesn't show up at all, you might be missing xhci_hcd xhci_pci or something like that | 15:38:51 |
@passion-fruit:matrix.org | In reply to @oddlama:matrix.org If the device doesn't show up at all, you might be missing xhci_hcd xhci_pci or something like that hmm i'm missing xhci_hcd but not the pci variant. could that perhaps be it? | 15:49:18 |
oddlama | Depends on which controller is in use for the usb port | 15:52:33 |
oddlama | sometimes xhci_hcd is pulled in as a dependencies, so not sure if that one is the missing link | 15:53:26 |