This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to Access i2c port using wiringPI library
#8
Maybe you can see this way, if a driver is already mapped to this address:
Code:
ls /sys/bus/platform/devices/ff650000.i2c/i2c-0/0-001b                         <
driver   name    power     rk808-clkout    rk808-rtc uevent
modalias of_node regulator rk808-regulator subsystem
Note, this is for i2c-0 where the rk808 i2c device 0x1b is, and you can see that rk808-clkout, rk808-rtc and rk808-regulator drivers are mapped to it. As this is also described in the devicetree.
For the i2c-1 device 0x68 you would list like this:
Code:
ls /sys/bus/platform/devices/ff140000.i2c/i2c-1/0-0068
I see in my devicetree that there is a DS3231 driver for that address, but I don't remember if I put this years ago, or it is there from Asus. Maybe it is there from Asus, than it would explain, that this address is used and you would need to change the devicetree.
Reply


Messages In This Thread
RE: Unable to Access i2c port using wiringPI library - by lobo - 08-17-2020, 02:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)