Article 4ZZS2 Beaglebone - IIO mcp4725 module loads but does not initiate with i2c device

Beaglebone - IIO mcp4725 module loads but does not initiate with i2c device

by
Flankenstein
from LinuxQuestions.org on (#4ZZS2)
so i've loaded the mcp4725 module using
modprobe mcp4725

now to point it to the chip i've used
echo mcp4725 0x60 > /sys/bus/i2c/devices/i2c-2/new_device

The device loads but the IIO driver doesn't all it shows is

root@beaglebone:/sys/bus/i2c/devices/i2c-2/2-0060# ls
modalias name power subsystem uevent

I'm a bit lost, the iio driver should pop up in this directory

any idea where i'm going wrong?

root@beaglebone:/sys/bus/i2c/devices/i2c-2/2-0060# i2cdetect -r 2
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-2 using read byte commands.
I will probe address range 0x03-0x77.
Continue? [Y/n] Y
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- --
60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

root@beaglebone:/sys/bus/i2c/devices/i2c-2/2-0060# lsmod
Module Size Used by
evdev 24576 1
8021q 32768 0
garp 16384 1 8021q
mrp 20480 1 8021q
stp 16384 1 garp
llc 16384 2 garp,stp
usb_f_mass_storage 53248 2
usb_f_acm 16384 2
u_serial 20480 3 usb_f_acm
usb_f_ecm 20480 2
usb_f_rndis 32768 4
u_ether 20480 2 usb_f_ecm,usb_f_rndis
libcomposite 65536 18 usb_f_ecm,usb_f_acm,usb_f_mass_storage,usb_f_rndis
iptable_nat 16384 0
nf_conntrack_ipv4 20480 1
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 32768 1 nf_nat_ipv4
nf_conntrack 143360 3 nf_conntrack_ipv4,nf_nat_ipv4,nf_nat
iptable_mangle 16384 0
iptable_filter 16384 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
spidev 20480 0
pruss_soc_bus 16384 0
pru_rproc 28672 0
pruss 16384 1 pru_rproc
pruss_intc 16384 1 pru_rproc
mcp4725 16384 0
ip_tables 24576 3 iptable_mangle,iptable_filter,iptable_nat
x_tables 36864 3 iptable_mangle,ip_tables,iptable_filterlatest?d=yIl2AUoC8zA latest?i=iod_vevu__8:ALYW3dKHGwA:F7zBnMy latest?i=iod_vevu__8:ALYW3dKHGwA:V_sGLiP latest?d=qj6IDK7rITs latest?i=iod_vevu__8:ALYW3dKHGwA:gIN9vFwiod_vevu__8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments