My experience is that the echo only works if you are logged on as root. it 
never worked with sudo for me.
I found uEnv.txt at /boot/uEnv.txt

For fear of opening a "can of worms", the numbering of the three I2C buses 
is, for lack of a better term, illogical. From the aspect of an engineer, 
programmer or human -- especially someone new to BB and/or to embedded 
systems.

http://beaglebone.cameon.net/home/i2c-devices
debian@beaglebone:/$ ls /sys/class/i2c-dev/ -ltotal 0
lrwxrwxrwx 1 root root 0 Mar  3 19:03 i2c-0 -> 
../../devices/ocp.3/44e0b000.i2c/i2c-0/i2c-dev/i2c-0
lrwxrwxrwx 1 root root 0 Mar  3 19:03 i2c-1 -> 
../../devices/ocp.3/4819c000.i2c/i2c-1/i2c-dev/i2c-1
lrwxrwxrwx 1 root root 0 Mar  3 19:03 i2c-2 -> 
../../devices/ocp.3/4802a000.i2c/i2c-2/i2c-dev/i2c-2

so:
i2c-0 is hardware bus 0
i2c-1 is hardware bus 2
i2c-2 is hardware bus 1

Both having to find and edit uEnv.txt and then having to deal with the 
mixed up numbering just doesn't make any sense to me...
There you have it, my bias.



-- 
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.

Reply via email to