06-03-2016, 01:49 PM
(This post was last modified: 06-03-2016, 01:58 PM by martinayotte.)
I don't have much clues since the bus are showing but empty.
On my Pine64, I have it running fine with an MCP23017 GPIO expander.
I don't have any kernel module to load since I've compiled my own kernel from longsleep repo with the CONFIG_I2C_CHARDEV=y, so built-in in the kernel.
Are you using pin 3 and 5 on Pi header ? Are you sure you didn't invert them ?
You can also check if DTS is properly set by doing "hd /proc/device-tree/soc\@01c00000/pinctrl\@01c20800/twi1\@0/allwinner\,pins", it should display "PH2.PH3".
On my Pine64, I have it running fine with an MCP23017 GPIO expander.
I don't have any kernel module to load since I've compiled my own kernel from longsleep repo with the CONFIG_I2C_CHARDEV=y, so built-in in the kernel.
Are you using pin 3 and 5 on Pi header ? Are you sure you didn't invert them ?
You can also check if DTS is properly set by doing "hd /proc/device-tree/soc\@01c00000/pinctrl\@01c20800/twi1\@0/allwinner\,pins", it should display "PH2.PH3".