{"id":16602730,"url":"https://github.com/bbidulock/lshwd","last_synced_at":"2026-05-28T01:02:49.234Z","repository":{"id":32608016,"uuid":"36193014","full_name":"bbidulock/lshwd","owner":"bbidulock","description":"Lists hardware and appropriate modules","archived":false,"fork":false,"pushed_at":"2015-05-24T21:09:11.000Z","size":408,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T08:45:14.507Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"maxbanton/cwh","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbidulock.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-24T20:56:11.000Z","updated_at":"2022-08-19T01:16:07.000Z","dependencies_parsed_at":"2022-07-12T14:22:25.476Z","dependency_job_id":null,"html_url":"https://github.com/bbidulock/lshwd","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbidulock%2Flshwd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbidulock%2Flshwd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbidulock%2Flshwd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbidulock%2Flshwd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbidulock","download_url":"https://codeload.github.com/bbidulock/lshwd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242692347,"owners_count":20170228,"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-12T00:23:33.134Z","updated_at":"2025-12-13T12:47:04.849Z","avatar_url":"https://github.com/bbidulock.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e about\nlshwd - lists hardware devices and their approp modules. currently supports pci\n,usb, pcmcia, and firewire devices. lshwd uses pcitable \u0026 usbtable files (can\nbe located at same directory or /usr/share/hwdata) for displaying extended\ndescription and module names. module names are then parsed for generic names\nand changes accordingly.\n\n\u003e purpose\nlshwd is a simple device lister with some very handy options. ideally, its\nfunctionality should be similiar to kudzu/hwsetup but without the lag. when used\nwith '-a' it should auto-load approp modules. lshwd is intended for anyone who\nwants to quickly check for his hardware specific modules without too much\nhastle, for quick live-cds auto-detection and configure, 1st time linux n00bs,\netc. lshwd tries to mimic the lsxxx tools family (lspci,lsusb) output when no\ncommandline is specified. using '-cc' option provides a more \"user-friendly\"\noutput.\n\n\u003e why\nhmm... out of bordem? mostly for knowledge :-)\nwhen i entered the linux world, i used hwd to identify my hardware and to direct\nme to which modules i should use - this all concept was very new to me. however,\nthe more i used hwd, the more i got frustrated - its performance time was ~22\nsec on my pc. this little anooyance was insignificant since hwd is not a\ndaily-use tool. however, once i considered making my own Arch-Live-CD, ~22 sec\ndelay at startup was too much to for me to bare... so i decided to code a new\nengine for hwd - and there u have it - lshwd.\n\n\u003e todo\n- improve mouse probe\n- add cpu detection (and sensors maybe?)\n- add hd info (ide/scsi/sata)\n\n\u003e usage\nlshwd [-a] [-c] [-cc] [-d] [-id] [-m] [-n] [-ox]\n  -a   auto-modprobe \n  -c   categorized output\n  -cc  colorized \u0026 categorized output\n  -d   display default description\n  -id  display hardware id\n  -m   machine readable format\n  -n   no duplicates\n  -ox  output X info to /tmp/xinfo (only gfx card section)\n\n\u003e changes\nversion 1.1.3\n+ added static usbhid module for usb mouse\n\nversion 1.1.2\n+ updated pcitable\n\nversion 1.1.1\n+ updated pcmciatable\n\nversion 1.1\n+ fixed sort_pci_list bug\n+ changed colors to fit Arch scheme\n\nversion 1.0\n+ fixed (yet again) mouse issue\n+ added devices coloring\n+ added hardware id's display\n+ added Cardbus pci check\n+ changed isLoaded modules procedure (syscall fails) \n+ added Arch package and PKGBUILD\n\nversion 1.0-rc1\n+ fixed mouse issue\n+ added comments to code\n+ added xinfo output (saved to /tmp/xinfo)\n+ added attached usb communication device \n+ minor bugs fixes\n\nversion 0.6\n+ added firewire support\n+ added X info for gfx cards\n+ fixed some minor display bugs\n+ fixed files permissions\n\nversion 0.5\n+ added pcmcia support\n+ added Makefile\n\nversion 0.4-2\n+ added usb mouse device (static)\n+ added mount to /proc/bus/usb\n\nversion 0.4-1\n+ fixed usb sorting bug and added usb check\n+ added autoload modules\n+ fixed compiler warnings (leftovers, etc)\n\nversion 0.4\n+ usb recoded, now using usblib\n+ changed usb class names (hopefully correct this time)\n+ minor bugs fixes and code cleaning (code size reduced) \n\nversion 0.3\n+ added usb devices detection\n+ changed and added some commandline options \n+ changed output formats\n\nversion 0.2\n+ changed default options\n+ added new output formats\n+ added new commandline options\n+ added psaux mouse detection\n+ tries to mimic lsxxx tools look-n-feel on default\n\nversion 0.1\n+ pci devices supported\n+ ansi output\n\n\u003e compiling\nyou must have latest pciutils \u0026 usbutils packages to compile lshwd properly.\nedit the Makefile if u wish, and execute make.\n\n\u003e files used\n/usr/share/hwdata/Cards\n/usr/share/hwdata/pcitable\n/usr/share/hwdata/usbtable\n/usr/share/hwdata/pcmciatable\n/usr/share/pci.ids (from pciutils package)\n/usr/share/usb.ids (from usbutils package)\n\nwe are keeping same file names and directory structure as kudzu/hwsetup, to\nminimize problems on distributions other than Arch linux. see contact info\nfor latest files versions.\n\n\u003e contact\nfor ideas, questions and bug reports, email to z4ziggy at bliss-solutions dot org\n\nfor latest cvs snapshot, check out http://www.bliss-solutions.org/archlinux/webpm/ \n(use guest/guest for user/pass)\n\nfor latest pcitable/usbtable/Cards, check out \nhttp://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/ldetect-lst/lst/\n\nfor latest pcmciatable, check out\nhttp://user-contributions.org/projects/hwd/wrk/4.5/usr/share/hwdata/pcmciatable\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbidulock%2Flshwd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbidulock%2Flshwd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbidulock%2Flshwd/lists"}