[PATCH] sensors-detect : PCI bus is always required even if it might be missing on some platforms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkynova 99/71, 612 45, Brno, Czech Republic
IC: 27690016 

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux