I thought that is a good place to implement it, so I
added two new options in qcset.c:
-s r Settings read (from STDIN)
-s w Settings write (to STDOUT)
I am not sure about the last line added (argv += c;),
but seems to work.
So you can do:
qcset /dev/v4l/video0 -s w >settings.dump
(experiment something, say qcset /dev/v4l/video0 -b 3456)
qcset /dev/v4l/video0 -s r <settings.dump
Of course, works if you have enabled keepsettings when
loading the module (modprobe quickcam keepsettings=1).
Code is a bit dirty, but an idea that works.