So, that's a bummer, but there you have it.ĮDIT: I've also found that Debian 8.2 shows the behaviour I described here, however, today I flashed Debian 7.9 (from here Linux bbone 3.8.13-bone79 #1 SMP Tue Oct 13 20:44: armv7l GNU/Linux) and that comes with a fully populated /sys including /sys/class/hwmon/hwmon0/device/temp1_input which is a temperature reading in millidegreesC. TI even prescribes a method of measuring the board temperature via an external sensor (see here). What I have found sofar is that the current Debian (I'm using Linux bbone 4.1.12-ti-r29 #1 SMP PREEMPT Mon Nov 9 22:46: armv7l GNU/Linux) and probably all derivatives of it AND probably also recent predecessors of it (at least as far back as your kernel 3.14.26) no longer populate /sys/class/hwmon.Īlso lm-sensors doesn't find any sensors on the board, whatsoever, so that's a dead-end aswell.Īnd what I gather from TI, is that the temperature sensor was never really meant to be used by the end-user. I've done my bit of searching the interwebs and have come up empty handed. So, how can I read the CPU temperature on a Beaglebone Black that is missing this file? Linux hostname 3.14.26-ti-r43 #1 SMP PREEMPT Wed Dec 24 05:27: armv7l armv7l armv7l GNU/Linux ![]() X_tables 12575 3 ip_tables,xt_multiport,iptable_filter U_ether 9524 3 usb_f_ecm,usb_f_rndis,g_multi Libcomposite 38715 5 usb_f_acm,usb_f_ecm,usb_f_rndis,g_multi,usb_f_mass_storage ![]() These are the modules that I do have: $ lsmod | sort In fact, /sys/class/hwmon is an empty directory. But, I have no such path on my system I'm guessing a kernel module for the Beaglebone Black's AM3358 ARM CPU provides this functionality and that my image lacks such a module, but I don't know where to start to get such a module. I flashed it using a guide to flashing a pre-built image to eMMC.įrom the guides I've seen, I should be able to read /sys/class/hwmon/hwmon0/device/temp1_input to get the CPU temperature. ![]() I have a Beaglebone Black running Ubuntu 14.04.
0 Comments
Leave a Reply. |