Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2017 10:57:09 -0300
From:      "Dr. Rolf Jansen" <rj@obsigna.com>
To:        freebsd-arm@FreeBSD.org
Subject:   Enabling ADC on a Beaglebone Black running FreeBSD 12.0-CURRENT (BEAGLEBONE)
Message-ID:  <0C4DCBB9-2642-4B0F-B15B-4139D5D8B249@obsigna.com>

next in thread | raw e-mail | index | archive | help
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=3D1


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
  =20
   >>>> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0C4DCBB9-2642-4B0F-B15B-4139D5D8B249>