Raspberry Pi POE Hat Fan

Is there a way to enable to FAN on the Pi POE Hat in Emteria?

Comments

  • Find out how its done in raspbian and then see if you can translate that into the Emetria.OS

    I found this RPI Firmware patch which references boot/overlays/rpi-poe.dtbo but I don't see those files included in the latest beta distro.

    I'm not sure if its as simple as making sure you have all the required files or not and then running the "scripts" which control the cooling levels. Igor would need to comment on that.

    https://github.com/raspberrypi/firmware/commit/953a33962f0e3a33f7627248f47b8378cb40e6e4

    Do you have the POE hat running as is without any additional drivers?

    Keith

  • Speaking of which, Igor do you have a tutorial (or can pull together one) on how we can compile our own drivers and attempt to implement support for external devices ourselves?

    For example on the question above, would we need to find the appropriately compiled .ko files for android or could we use linux compiled .ko modules known to be compatible with that specific kernel version.

    I think that would go a long way for users attempting to build in their own hardware support.

    How many folks are working at your company I'm sure they're very busy working on other issues, perhaps if users with tech skills helped build out tutorials of our own to get certain hardware working this could speed up the release/development cycles.

  • Assuming you ALREADY have the POE Hat overlay installed you can control it from the boot/config.txt file:

    Name: rpi-poe
    Info: Raspberry Pi PoE HAT fan
    Load: dtoverlay=rpi-poe,

    [=]
    Params: poe_fan_temp0 Temperature (in millicelcius) at which the fan
    turns on (default 50000)
    poe_fan_temp0_hyst Temperature delta (in millicelcius) at which
    the fan turns off (default 5000)
    poe_fan_temp1 Temperature (in millicelcius) at which the fan
    speeds up (default 55000)
    poe_fan_temp1_hyst Temperature delta (in millicelcius) at which
    the fan slows down (default 5000)
  • edited December 2018

    See here: https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README

    Search for poe. Sorry uploaded the wrong file

  • @kknott
    We would definitely be grateful for tutorials by users.
    You currently have the option to post your tutorial here in the forum or in your personal blog. After a quick check, we would include it in our Documentations (https://help.emteria.com).

    I am not sure if there is a direct way for users to add tutorials in the Documentations. You should ask Igor if you are interested to build out the tutorials

  • @kknott Thanks for the info. So I'm not clear, do I need to install anything (from the github you linked to) or it should just work if I add to the config file on my emteria install?
    Yes, I have the PoE had working for PoE, but the fan never spins and the device gets HOT

  • edited December 2018

    I would use a POE splitter instead. Android doesn't have a way to compile modules as far as I can tell. I don't see any gcc or cc.

  • UCTRONICS IEEE 802.3af Micro USB Active PoE Splitter Power Over Ethernet 48V to 5V 2.4A for Tablets, Dropcam or Raspberry Pi (48V to 5V 2.4A)

    http://a.co/d/0QYEdU3

  • You mention a good point, something I think I may have asked in the past on these forums.. @kalkov is there a guide to compile our own hardware modules on android against the Emteria OS source or custom kernel?

    In other words, what would we need to do in order to compile our own hardware modules (say for example the poe sense hat driver code is out on GitHub), is there a string and a repository you give gcc when compiling in driver support? I assume you’re referencing a custom kernel so we’d need to match the version / build. Not looking for anything too detailed just the necessary compile details , I thought I found them on here once before but I didn’t bookmark the page and I can no longer find it

    Hope that makes sense, cheers
  • edited January 3

    I was able to find the following info @kalkov - was wondering if it’s still current or if the details changed with 6.1?

    “We are using this one for compiling our native modules: https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/+refs

    https://forum.emteria.com/discussion/298/compile-own-driver-module/p1

    I see you reference https://sites.google.com/a/mtu.edu/max-jin-home-page/hints/buildandloadakernelmoduleinandroidsystem/build-and-load-a-kernel-module-in-android-system in another post, so I was going to use that as a starting point to try to cross compile a module/driver for an external Bluetooth adapter.

    Also since I’m just using my rpi for non essential things I’d be happy to participate in any beta program offerings you might have. I’m a programmer and Sysadmin by day so I hopefully would be able to provide some valuable feedback . I was interested in testing the Android Pie version you mention in other posts.

Sign In or Register to comment.