Activity for Joe Ho

  • Joe Ho Joe Ho posted a comment on ticket #186

    I can't close the ticket, only you can lol.

  • Joe Ho Joe Ho posted a comment on ticket #186

    putting the container in privileged mode fixes the issue. Not a clean fix, but will do for now. I will close the ticket. Thx.

  • Joe Ho Joe Ho posted a comment on ticket #186

    Hosts = Raspbian buster Docker = alpine

  • Joe Ho Joe Ho posted a comment on ticket #186

    Sorry, I re-read the code, it seems like it's failing at: if ((fp = fopen("/proc/device-tree/system/linux,revision", "r"))) { uint32_t n; if (fread(&n, sizeof(n), 1, fp) != 1) { fclose(fp); return -1; } sprintf(revision, "%x", ntohl(n)); found = 1; } I am using this inside a docker, /proc/device-tree/ is empty, symlink to sys/firmware is empty. I wil try map it to see if it works. It used to work fine, not sure what has changed. Thanks, Joe

  • Joe Ho Joe Ho posted a comment on ticket #186

    0.7.0 / # pip show rpi.gpio Name: RPi.GPIO Version: 0.7.0 Summary: A module to control Raspberry Pi GPIO channels Home-page: http://sourceforge.net/projects/raspberry-gpio-python/ Author: Ben Croston Author-email: ben@croston.org License: MIT Location: /usr/local/lib/python3.7/site-packages Requires: Required-by: i did some googling, CPU always been BCM2711, but they didn't update cpuinfo until recently.

  • Joe Ho Joe Ho created ticket #186

    Unable to import module, update cpuinfo?

1
MongoDB Logo MongoDB