Ok, I followed William's instructions, and the sample code is working, so I think I am good to go.
Thanks for the help! Gunnar On Thursday, February 11, 2016 at 7:13:58 PM UTC-8, john3909 wrote: > > Agreed. > > Regards, > John > > > > > On Feb 11, 2016, at 6:04 PM, William Hermans <yyr...@gmail.com > <javascript:>> wrote: > > *My approach was wrong because you need the devicetree, so follow >> William’s docs.* >> *Regards,* >> > *John* > > > Not necessarily wrong. The ADC device tree file would, and will infact > load the same device module. The only problem with just loading the kernel > module, is the pins will be in whatever the default state is after boot up. > Which I'm not certain what state that would be . . . > > On Thu, Feb 11, 2016 at 6:00 PM, John Syne <john...@gmail.com > <javascript:>> wrote: > >> My approach was wrong because you need the devicetree, so follow >> William’s docs. >> >> Regards, >> John >> >> >> >> >> On Feb 11, 2016, at 4:54 PM, William Hermans <yyr...@gmail.com >> <javascript:>> wrote: >> >> http://www.embeddedhobbyist.com/2015/10/beaglebone-black-adc/ >> >> On Thu, Feb 11, 2016 at 5:52 PM, John Syne <john...@gmail.com >> <javascript:>> wrote: >> >>> Do you see /sys/bus/iio folder? >>> >>> If you don’t, then load the kernel module: >>> >>> modprobe ti_am335x_adc >>> >>> Regards, >>> John >>> >>> >>> >>> >>> On Feb 11, 2016, at 2:04 PM, newqu...@gmail.com <javascript:> wrote: >>> >>> Hi, I am new to Beaglebone, and it seems that analog is not enabled. I >>> am using a new Beaglebone Black Rev C with debian linux version 4.4. I >>> tried both the default image and the image on the board, and neither had >>> the analog enabled. >>> >>> How do you enable analog? >>> >>> Thanks! >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "BeagleBoard" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to beagleboard...@googlegroups.com <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "BeagleBoard" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to beagleboard...@googlegroups.com <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to beagleboard...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to beagleboard...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.