Skip to content

Wrong i2c bus number on Raspberry Pi model B+ #12

@dalathu

Description

@dalathu

Hello,

I have used the new installation script (commit 056305b) in my Raspberry Pi model B+. It does not work due to that the pifacertc script tries to configure the wrong i2c bus number, i.e. 0 instead of 1.
On my Raspberry pi, the i2c bus device is /dev/i2c-1.

Output of /proc/cpuinfo:

$ grep "Revision" /proc/cpuinfo  
Revision        : 0010

I have solved the issue by modifying the 2 following lines in the file /etc/init.d/pifacertc:

i2cset -y 1 0x6f 0x08 0x47

and

echo mcp7941x 0x6f > /sys/class/i2c-dev/i2c-1/device/new_device

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions