06-02-2016, 02:42 PM
(This post was last modified: 06-02-2016, 02:48 PM by robertvaldimarsson.)
Hello forum.
I am running debian on a pine64 (2GB) and i want to access a device on the i2c-bus.
While two busses show up (/dev/i2c-0 and i2c-1) i can not see my device using i2cdetect.
I tried "modprobe i2c-dev" but it does not show up in lsmod after that. Usually there also has to be a kernel module for the processor (i2c_bcm2xxx) that is loaded before i2c-dev, but i can't find it. Is it implemented yet for the cortex 53?
Does anyone have ideas what i could try next? Afaik a change in the /boot/config has to be made for the raspberry pi3. Is there maybe a similar change neccessary for the pine?
a bit more data maybe:
I am running debian on a pine64 (2GB) and i want to access a device on the i2c-bus.
While two busses show up (/dev/i2c-0 and i2c-1) i can not see my device using i2cdetect.
I tried "modprobe i2c-dev" but it does not show up in lsmod after that. Usually there also has to be a kernel module for the processor (i2c_bcm2xxx) that is loaded before i2c-dev, but i can't find it. Is it implemented yet for the cortex 53?
Does anyone have ideas what i could try next? Afaik a change in the /boot/config has to be made for the raspberry pi3. Is there maybe a similar change neccessary for the pine?
a bit more data maybe:
Code:
root@pine64pro:/home/debian# ls -l /dev/i2c-*
crw-rw---- 1 root i2c 89, 0 Jun 2 19:51 /dev/i2c-0
crw-rw---- 1 root i2c 89, 1 Jun 2 19:51 /dev/i2c-1
Code:
root@pine64pro:/home/debian# i2cdetect -l
i2c-0 i2c twi0 I2C adapter
i2c-1 i2c twi1 I2C adapter
Code:
root@pine64pro:/home/debian# lsmod
Module Size Used by
vfe_v4l2 747618 0
vfe_io 34085 1 vfe_v4l2
mali 199851 0
videobuf2_dma_contig 17668 1 vfe_v4l2
videobuf2_memops 12546 1 videobuf2_dma_contig
videobuf2_core 30952 1 vfe_v4l2
ss 33083 0
cedar_ve 17368 0
8723bs 1365012 0
cfg80211 374207 1 8723bs