Skip to content

Generating report fails on Thinkpad X1 Carbon Gen5 #166

@gorschu

Description

@gorschu

Describe the bug

When trying to generate a JSON report on a - rather old - Thinkpad Carbon X1 facter dies almost instantly with

2024/12/16 17:30:54 root.go:120: failed to scan: failed to scan hardware: failed to read input devices: failed to annotate with udev data: failed to parse bus: rmi does not belong to Bus values

Passing in something minimal like --hardware cpu does not seem to change behavior.

To Reproduce

sudo nix run --option experimental-features "nix-command flakes" nixpkgs#nixos-facter -- --log-level=debug -o facter.json

Expected behavior

A facter.json report is being generated.

System information

  • Thinkpad X1 Carbon Gen5
  • NixOS BUILD_ID="25.05.20241213.3566ab7"

Additional context

Running the same command on my Thinkpad P14s Gen2 on the same software stack works just fine and produces a facter.json report.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions