ss7m / paleofetch

neofetch, but written in C
MIT License
167 stars 49 forks source link

unable to open product name file #55

Closed Titaniumtown closed 4 years ago

Titaniumtown commented 4 years ago

When I run paleofetch on my raspberry pi 4, running arch linux arm, I get the error: paleofetch: unable to open product name file

ss7m commented 4 years ago

Can you tell me if either of the files sys/firmware/devicetree/base/model or /tmp/sysinfo/model exist on your system?

In the meantime, removing the get_host line from config.h will stop it from crashing.

Titaniumtown commented 4 years ago

/sys/firmware/devicetree/base/model exists, but /tmp/sysinfo/model doesn't

Titaniumtown commented 4 years ago

cat /sys/firmware/devicetree/base/model: Raspberry Pi 4 Model B Rev 1.1

ss7m commented 4 years ago

I suppose that can be added as a fallback then.

ss7m commented 4 years ago

Latest commit should add the devicetree file as a fallback

Titaniumtown commented 4 years ago

It works now, thanks!