• 5 Posts
  • 111 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle


  • I have done a similar thing in the past, but to flash firmware onto any device with a certain USB descriptor that gets plugged in. It was a mess of USB hubs and cables, but it worked.

    What I did was write a udev rule that checks for the vendor and product id of a newly plugged in device and calls a script when there’s a match. The script then performs the flashing and logs the output.

    In your case:

    1. dd the source USB to a file (make sure the partition you’re dding is smalled than any target drive
    2. Udev rule according to your needs (all the same product or different drives?)
    3. Script that dds the file you created earlier back to the newly plugged in drive.

    Edit. Did this on a rpi3



















  • Tangent, unsolicited:

    Music lessons over video call, that has to be a real pain. I can’t find it now, but there’s an Adam Neely video where he talks about why online recording sessions can’t work, as transmission latency works against the immediacy needed to play music together. He said it better than I can.

    Except if your idea is to play in turns, but then capturing the thing you want to show… Can’t you find another teacher closer to you?