- Subject: [PATCH] sensors-detect : PCI bus is always required even if it might be missing on some platforms
- From: Jaromir Capik <jcapik@xxxxxxxxxx>
- Date: Tue, 27 Mar 2012 11:19:47 -0400 (EDT)
- In-reply-to: <ede58801-16fb-4530-ae83-54ea51b793e8@zmail15.collab.prod.int.phx2.redhat.com>
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
[Video for Linux]
[Mplayer Users]
[Linux USB Devel]
[Linux Audio Users]
[Photos]
[Yosemite Photos]
[Free Singles Community]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Yosemite Backpacking]