Enabling ADC on a Beaglebone Black running FreeBSD 12.0-CURRENT (BEAGLEBONE)

Dr. Rolf Jansen rj at obsigna.com
Sun Mar 12 13:57:18 UTC 2017


I experience problems to enable the ADC line of my BBB.

Apparently, in FreeBSD 10, the ADC lines would have been enabled by a sysctl call:

   sysctl dev.ti_adc.0.ain.0.enable=1


On FreeBSD 12, this gives:

   sysctl: unknown oid 'dev.ti_adc.0.ain.0.enable'


I thought, perhaps the driver has not been loaded into the kernel, but:

   kldload ti_adc
   
   >>>> kldload: can't load ti_adc: module already loaded or in kernel


Question:

What do I need to get the ADC working with FreeBSD 12?

Best regards

Rolf


More information about the freebsd-arm mailing list