Skip to content

OCC driver is non-functional #45

Closed
@nkskjames

Description

@nkskjames

Commit 087feba breaks the OCC hwmon driver. root@barreleye:/sys/bus/i2c/devices/3-0050# echo 1 > online
occ-i2c 3-0050: ERROR: no SENSOR String in response
occ-i2c 3-0050: ERROR: cannot get occ sensor data: -1
-sh: echo: write error: Operation not permitted

If I don't apply this commit, the driver works fine:
uname -r
4.3.4-fe68a785afbaa305506c87c6324f70ed0605385c

ls /sys/class/hwmon
hwmon0 hwmon1 hwmon2 hwmon3 hwmon4

Looks to me like line 582 in drivers/hwmon/power8_occ_i2c.c should not have been removed.

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