I’m trying to get UDEV events to reach my container running on a BalenaFin.
I’m testing with a simple USB thumb drive and an an ATR210, manufactured by AccessIS: ATR210 - TripTick® Barcode & NFC Reader
I made a minimal working example indicated below. I think I followed all recommended practiced as documented:
version: '2.1' services: someservice: build: context: ./ dockerfile: Dockerfile privileged: true environment: - UDEV=on
FROM balenalib/generic-armv7ahf-dotnet:3.1-buster-20210201 WORKDIR /app CMD sleep infinity
As you can see, I only see the UDEV events on the host and not on the service.
I noticed that the device does work perfectly fine in the service when I have it inserted and I restart the service. It’s just removing and inserting whilst the service is running that doesn’t work and I think it has to do with the UDEV events not showing up.
Other things I tried:
I can see that the udev service is running so all should be ok?
root@8de138db034b:/app# service udev status [ ok ] systemd-udevd is running.
This seems similar to this topic: Balenadash keyboard not responding
If I can provide more info, please let me know.
Thanks for your time!