Skip to content

Support for 4.X Kernels #24

@TheNetStriker

Description

@TheNetStriker

This library doesn't work with 4.X kernels. I figured out that a small adjustment in the BBBSysFs.java fixes the problem. With the 4.X kenels the SYSFS_DEVICES_PATH must be set to "/sys/devices/platform".

I've also added those two lines at the beginning of the isSlotLoaded(int slotIndex) method to prevent an error if the HDMI cape isn't loaded:
if (slotIndex == -1)
return false;

Could you please implement this and set the SYSFS_DEVICES_PATH variable based on the kernel version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions