• white_nrdy@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    5 hours ago

    I may have been through “SysFS” as well? In /sys/class you can setup char dev IO with a kernel module (and more). Very helpful for userspace <-> kernel communication (like DMA drivers for userspace applications)

    • jaybone@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 hours ago

      Hmm yeah maybe it was /sys, it’s been so long I can’t remember.

      I seem to recall echoing into a file to set some value which we then checked the value of in the kernel module code. It was just a hello world type of thing for a college class.