[lm-sensors] [PATCH] sensors-detect : PCI bus is always required even if it might be missing on some platforms
jcapik at redhat.com
Tue Mar 27 17:19:47 CEST 2012
I was trying to autodetect sensors on my ARM based device (PandaBoard).
This board doesn't have a PCI bus, but the sensors-detect script
always expect one and then fails with the following message:
/sys/bus/pci/devices: No such file or directory at ./sensors-detect.bak line 2895.
The attached patch should avoid dying and returns empty PCI device list instead.
Please, check it and eventually merge it to trunk.
Thanks in advance.
Red Hat Czech, s.r.o.
Software Engineer / BaseOS
Email: jcapik at redhat.com
Red Hat Czech s.r.o., Purkynova 99/71, 612 45, Brno, Czech Republic
More information about the lm-sensors