Trigger 1-wire directory change on file system

I’d like to trigger using an application the changes on w1/devices directory without polling.
There is some mechanism on Toradex BSP which permit this?
The point is that I need to get the 1-wire tool changes during the lifecycle.
I need something like inotify-tools.

hi @andreat

Thanks for writing to the Toradex Community!

I need something like inotify-tools.

Why you don’t simply use inotify-tools?

Best regards,
Jaski

Thank you for reply.

I didn’t find inotify tools in Toradex distribution, so to avoid to duplicate a possible different mechanism I want to be sure that it is not used.
I didn’t find notify-tools in the opkg package, so I expected that something different is used.
Am I wrong?

Hi

You can build a custom image and include the package inotifiy-tools in it.

Best regards,
Jaski

OK, thank you for reply.
So this means that in standard image we don’t have something similar. Am I wrong?

No, it is not included in regular Bsp. image. Anyway you should build your own custom image for your use-case.

Please Note: Starting from Bsp 3.0, the packages feeds were removed for the regular Bsp Image and only minimal image based on Poky is provided. Thus if you need any special tools, you will need to crate a custom image.

Best regards,
Jaski

Ok, thank you. I am still using Bsp 2.8, but it’s a good idea provide a minimal image.

You are welcome.

Best regards,
Jaski