[lm-sensors] [PATCH] sensors-detect : PCI bus is always required even if it might be missing on some platforms
Jaromir Capik
jcapik at redhat.com
Tue Mar 27 17:19:47 CEST 2012
Hello guys.
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.
Regards,
Jaromir Capik.
--
Red Hat Czech, s.r.o.
Software Engineer / BaseOS
Email: jcapik at redhat.com
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkynova 99/71, 612 45, Brno, Czech Republic
IC: 27690016
More information about the lm-sensors
mailing list