I'm not saying this is your problem, but the BBB (and most ARM SBCs) are
pretty sensitive to the power supply and cannot be reliably driven by
typical USB ports. I typically run my 12V CRAMPS systems using an ATX
power supply with the 5V standby power going to the +5V connection on
the AUXPWR connector (P404) with the BBB/CRAMPS board turning on the ATX
supply via P301 (which is basically the same as powering the BBB via the
P1 5VDC "barrel" power jack).
For my 24V systems, I have a separate 24V supply for the high power
rails and use a 5V "wall wart" to the BBB DC input (P1).
I also run the BBB "stand alone", with a physical Ethernet cable
connected to the BBB and using the HDMI output for video and a standard
USB KB/mouse for the console (sometimes with a serial link as well if
I'm debugging). Connecting via the USB gadget interfaces _should_ work,
but it's not how I test and I don't think it's a common configuration
for most developers.
It's strange the therm input doesn't work stand-alone but does when
you're powered from the laptop. I'm not sure what could cause that, but
some basic debugging ought to be able to root out the cause. Run
halmeter or halscope and monitor the temperature outputs from the
hal_temp_bbb component. You should be able to see the values change
with the temperature (eg: hold the thermister between your fingers vs.
letting it sit at room temperature). If that's not working, you likely
have a device-tree issue or something which is causing the ADC to not be
working properly. If you see the values change, there's probably
something wrong in your HAL file.
--
Charles Steinkuehler
cha...@steinkuehler.net