{"id":15441699,"url":"https://github.com/mudler/go-kdetect","last_synced_at":"2025-04-19T19:40:32.863Z","repository":{"id":65695918,"uuid":"391899646","full_name":"mudler/go-kdetect","owner":"mudler","description":"golang kernel driver detector","archived":false,"fork":false,"pushed_at":"2021-08-02T13:02:24.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-12T08:51:19.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mudler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-02T10:07:00.000Z","updated_at":"2024-02-20T23:09:14.000Z","dependencies_parsed_at":"2023-02-05T00:35:17.787Z","dependency_job_id":null,"html_url":"https://github.com/mudler/go-kdetect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fgo-kdetect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fgo-kdetect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fgo-kdetect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fgo-kdetect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudler","download_url":"https://codeload.github.com/mudler/go-kdetect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231260790,"owners_count":18349461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T19:22:14.529Z","updated_at":"2024-12-26T19:07:02.291Z","avatar_url":"https://github.com/mudler.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-kdetect\n\nA small and simple library to report kernel modules that are detected in a running system.\n\nIt uses [go-udev](github.com/pilebones/go-udev) to detect the system devices and parses the kernel alias file to derive the drivers to load.\n\n## Usage\n\n\n```golang\npackage main\n\n\nimport (\n    \"github.com/mudler/go-kdetect\"\n    \"fmt\"\n)\n\nfunc main() {\n    drivers, err := kdetect.ProbeKernelModules(\"/lib/modules/5.11.15-1-default/modules.alias\")\n    if err != nil {\n        // Handle err\n    }\n\n    // drivers is a []string\n    fmt.Println(drivers)\n    // [acpi_cpufreq pcc_cpufreq tiny_power_button button ac processor_aggregator int3402_thermal video fjes dell_smo8800 smo8800 int3403_thermal ec battery thermal skl_uncore nouveau pcieport i915 proc_thermal xhci_hcd pcmcia hub hid_generic logitech-djreceiver usbhid hid_logitech_hidpp logitech-hidpp-device usb uvcvideo btusb intel_pch_thermal des_generic i2c_designware idma64 intel-lpss hid-multitouch i2c_hid mei_wdt mei_hdcp mei_me serial sr_mod sd ahci iwlwifi rtsx_pci_sdmmc rtsx_pci int3403 thermal snd_hda_codec_realtek snd_soc_hdac_hdmi snd_hda_codec_hdmi snd_hda_intel dummy ee1004 iTCO_wdt i801_smbus int3402 thermal acpi-wmi mxm_wmi intel_pmc_core intel-hid int3400 thermal tpm_tis acpi-fan intel_wmi_thunderbolt intel-wmi-thunderbolt wmi_bmof wmi-bmof dell_wmi_descriptor dell-wmi-descriptor dell_wmi dell-wmi dell_smbios dell-smbios coretemp dcdbas dell-laptop efi-framebuffer efi_pstore atkbd psmouse i8042 intel_rapl_msr kgdboc pcspkr reg-dummy serial8250 snd-soc-dummy vboxdrv system alarmtimer rtc_cmos i8042 kbd i8042 aux intel_rapl_common processor]\n\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudler%2Fgo-kdetect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudler%2Fgo-kdetect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudler%2Fgo-kdetect/lists"}