I've started looking at Gadget Mode on Bookworm again. The main issue seems to be getting NetworkManager to start the interface when it is created.Unfortunately that guide is A. probably the wrong one, and B. not up to date for Bookworm. Updating is on my to do list but I've not yet got there.
Presently I'm running a script from cron @reboot that does the modprobe (moved it here from the cmdline.txt so I could see what was happening), waits for NM to show the interface, then enables it.
That's not great as NM isn't running initially, so I have put a delay in to wait for it.
I'm going to try running it as a systemd service next, and have it dependent on NM having started.
Really NM should detect the new interface and configure it automatically. I don't know why it doesn't do that.
Background: My plan is to have two Zeros or 02Ws in a birdbox, one with a normal camera and one with NoIR. They will be connected to a 3B+ or 4B by USB which will supply power and network. The larger Pi will bridge those two to my wired LAN.
The box currently has its original camera which has composite out. The quality is poor (it's about 10 years old) and colour is almost non-existent. We were enjoying watching some Blue Tits nest in there this year. Unfortunately the chicks didn't make it (too early), but hopefully next year... It'll be nice to get 1080P in colour (during the day) instead of grainy 640x480.
Statistics: Posted by rpdom — Wed May 01, 2024 6:44 am