Page 1 of 1

I3M for FreeBSD

Posted: Thu Nov 02, 2017 2:09 am
by tbr
I have FreeBSD running nicely on the Airtop, but would like to be able to use the I3M to monitor the CPU temperature. Is there any documentation on how to pass the temperature from the OS to the I3M? Is the source for the linux service (airtop-fpsvc) available? I'd be happy to write the FreeBSD equivalent and return the source to CompuLab, but it would be nice to have some idea of where to start.

Re: I3M for FreeBSD

Posted: Thu Nov 02, 2017 11:57 am
by irads
Thanks. I will forward to our SW engineer in charge of I3M for support.

Re: I3M for FreeBSD

Posted: Tue Nov 07, 2017 6:01 pm
by Deleted User 10065
Hi tbr,

I asked the people who maintain the company GitHub account to upload the Linux I3M daemon. It will be available in a few days.

Our GitHub account can be found here: https://github.com/compulab

Re: I3M for FreeBSD

Posted: Wed Nov 08, 2017 4:59 am
by tbr
Many thanks! I just finished adapting a screen widget to disply the temperature, but the front panel will be better. I'll check the github site over the next few days.

Re: I3M for FreeBSD

Posted: Wed Nov 15, 2017 1:20 pm
by Deleted User 10065
The daemon was uploaded to GitHub:

https://github.com/compulab/i3m-linux-daemon

Re: I3M for FreeBSD

Posted: Fri Nov 17, 2017 8:52 pm
by tbr
Got it. Thanks! I won't have time to look at it until next week, but will keep you informed of progress when I make some :).

FreeBSD status update (Re: I3M for FreeBSD)

Posted: Mon Dec 04, 2017 8:45 pm
by tbr
I have the airtop-fpsvc building and running on FreeBSD, and finding the CPU core temperatures. My GENERIC kernel with the various iic modules loaded is not seeing the iic bus though, so no temps on the front panel yet. I now have to shift to looking into the various bits of kernel/module iic code to see what's not working there. I'll post another status update when I have more progress to report.

Re: FreeBSD status update (Re: I3M for FreeBSD)

Posted: Tue Dec 05, 2017 11:45 pm
by tbr
tbr wrote:... I'll post another status update when I have more progress to report.
I have the airtop-fpsvc daemon running on FreeBSD. The only value the service is currently is currently providing to the front panel is CPU temperature, but that demonstrates the functioning framework.

It turns out the missing IIC bus was simply a case of the wrong drivers being loaded. Loading the FreeBSD modules ichsmb, smbus, and smb provides SMBus access through /dev/smb0, with no other configuration required.

What's left is code cleanup, and checking into all the other information the linux code implies should be available (e.g. CPU frequency, HDD sizes, etc.).

Final question: What's the best way to return this once I have it cleaned up? A simple attached tarball? A diff? Something else?

Re: FreeBSD status update (Re: I3M for FreeBSD)

Posted: Thu Dec 07, 2017 7:03 pm
by Deleted User 10065
tbr wrote: I have the airtop-fpsvc daemon running on FreeBSD.
Nice! :D
tbr wrote: Final question: What's the best way to return this once I have it cleaned up? A simple attached tarball? A diff? Something else?
Create a patchset with

Code: Select all

git format-patch --cover-letter
and

Code: Select all

git send-email
it over to nikita at compulab dot co dot il.

Re: FreeBSD status update (Re: I3M for FreeBSD)

Posted: Sat Dec 09, 2017 12:36 am
by tbr
nikitak wrote: Create a patchset with

Code: Select all

git format-patch --cover-letter
and

Code: Select all

git send-email
it over to nikita at compulab dot co dot il.
Will do. I am not likely to get to it this weeked, but it should happen some evening next week. I still need to make sure I have not broken the Linux build.