M.2 Coral Working

So it was incompatible code.

Anyway I got my M.2 Coral working. The inference on that thing is low. Down to 6.7ms. The USB one is hanging around at 28.4ms.

Here is how I did it

First I enabled the google-coral-dkms, installed it

sudo dnf copr enable kylegospo/google-coral-dkms
sudo dnf install gasket-dkms

Then I modified the code in gasket_core.c which had some incompatibilities with the kernel I was using.

The issue was this https://github.com/KyleGospo/gasket-dkms/issues/7

So in the file gasket_core.c I removed this

-#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0)
-    internal->class = class_create(driver_desc->module, driver_desc->name);
-#else
-    inte

And replaced it with

+       internal->class = class_create(driver_desc->name);

Then I did

dkms autoinstall
modprobe apex
modprobe gasket

And it worked, there was a /dev/apex device

I then enabled it in the config.yml for frigate itself

detectors:
  coral_usb:
    type: edgetpu
    device: usb
  coral_pci:
    type: edgetpu
    device: pci

And enabled it in docker to pass through

    volumes:
      - /dev:/dev

Seems complicated, but figured it out.

Weight: 343.0

Posted in Coding, Fitbit, New Toys, Technical, Training, Weigh In | Leave a comment

Son’s Official Last Day of Class

I dropped him off one last time to high school. Captured the moment.

Tomorrow he has commencement practice and Wednesday is the real deal.

Tomorrow I suspect will be busy.

Got my Coral m.2 cards today, have trouble getting them to work with Rocky 9. Getting them to work with USB is definitely easier. Need to compile the kernel module to get it to work.

Haven’t compiled a kernel module in years.

Weight: 345.6

Posted in Fitbit, New Toys, Technical, Training, Weigh In | Leave a comment

Getting Work Done

Finished my steps late today, didn’t have to be. Woke up late, was lazy most of day and didn’t start walking to later.

Also had just shy of 1000 steps left when I got home, took longer than it should have been to get the steps done.

Kind of felt heavy today, moving slow.

Weight: 346.2

Posted in Fitbit, Training, Weigh In | Leave a comment

Yard Clean Today

Woke up this morning and did a bit of park run., afterwards upgraded the storage on my frigate server.

After that cleaned up the yard, it was fun, afterwards we ate lunch together outside and just chatted. Son had a blast with grandma.

Weight: 344.8

Posted in Fitbit, Training, Weigh In | Leave a comment

Tweaking Frigate Install

Starting to look better, but still a ways to go. Hoping that another TPU to assist.

Maybe in the future I will use new training model I created myself.

Right now just happy it is working.

I am pushing it now, see what happens with more cameras.

Weight: 344.8

Posted in Fitbit, New Toys, Technical, Training, Weigh In | Leave a comment

Like Frigate

Wow, it just does the job, it detects people, cars, pets etc.

It was relatively quick learning the basics, but I am no expert.

Found a python script online that can help email as well.

Going to have to work on my redesign.

Weight: 344.0

Posted in Fitbit, New Toys, Technical, Training, Weigh In | Leave a comment

No Longer Parent of High School Athlete

My son attended Track and Field banquet which was the last sports event for any of my kids.

Closes a chapter for sure. Took some final pictures and thanked the coaches and wished the seniors good luck and urged the underclassmen to carry the torch.

Definitely a milestone and marking as such

Another thing that I figured out today was frigate.

Using CPU for now but hoping to either use the iGPU or a Coral TPU next. But it does seem to work.

Weight: 344.0

Posted in Fitbit, Milestone, New Toys, Technical, Training, Weigh In | Leave a comment

Done Early Sleep Early

Actually woke up early, had a great sleep.

Trying to stay awake, looking to go bed early too.

Looking to sleep in.

What makes this possible is I got my steps done early. A little past 7PM.

Weight: 343.0

Posted in Fitbit, Training, Weigh In | Leave a comment

Bed Early

Been a decent day back to work, actually got a lot of work related stuff done.

Got my steps done without too much of a rush. Hoping to get them done a little early tomorrow.

Weight: 341.4

Posted in Fitbit, Technical, Training, Weigh In | Leave a comment

Rearrange Shed

Worked the shed a bid today, made things easier to get to.

Got the sensors exercised in there, first time in a long time the sensors are clean.

Been actually busy today, also figured out how to run openvas in a container, which was actually a docker compose.

I did get it working and scanning. Going to scan my homeserver to see what I can do to improve security.

It is a little past 8PM as I post, headed in to office to get steps in. Marking fitbit as done. Will update if I did not finish.

Weight: 342.4

Posted in Fitbit, New Toys, Technical, Training, Virtualization, Weigh In | Leave a comment