LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 02-27-2020, 05:10 PM   #1
Flankenstein
LQ Newbie
 
Registered: Feb 2020
Posts: 1

Rep: Reputation: Disabled
Beaglebone - IIO mcp4725 module loads but does not initiate with i2c device


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_filter
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dmesg error, "probe fails with error -5," device does not work, but module still loads MALDATA Linux - Hardware 1 03-02-2019 02:18 AM
[SOLVED] IIO: Why cannot open same iio device node twice ? Aniroop Mathur Linux - General 3 08-13-2014 09:01 AM
IIO: Advantages of IIO subsystem Aniroop Mathur Linux - General 1 08-03-2014 08:47 PM
[SOLVED] No /dev/i2c-0 entry after insmod i2c-dev sajnanazeer Linux - Newbie 1 08-10-2011 07:39 AM
Help! Problems with i2c-dev. No more /dev/i2c-* em1l Fedora 0 10-28-2005 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration