I have a linux machine that runs 24hrs a day and it has zoneminder running on it watching the frames from a camera. I have the camera going into a TV/Video-capture card and everything works great. That is until I reboot the machine. V4L has "default" value which I can't seem to change. I've looked through the documentation and googled all around and I can't find any information on how to change the default. I can issue this command:
Code:
sudo v4lctl -c /dev/video0 setattr input Composite1
Which will set the "current" value to the correct input but as soon as I reboot, it gets reset to "Television".

I know there's a default value but I don't know how to SET it.
Code:
$ sudo v4lctl -c /dev/video0 list
attribute | type | current | default | comment
-----------+--------+---------+---------+-------------------------------------
norm | choice | NTSC-M | NTSC-M | NTSC-M NTSC-M-JP NTSC-443 PAL-BG PAL-I PAL-DK PAL-M PAL-N PAL-Nc PAL-60 SECAM-B SECAM-G SECAM-H SECAM-DK SECAM-L
input | choice | Composi | Televis | Television Composite1 S-Video
audio mode | choice | mono | mono | mono stereo lang1 lang2
bright | int | 127 | 127 | range is 0 => 255
contrast | int | 63 | 63 | range is 0 => 255
color | int | 127 | 127 | range is 0 => 255
hue | int | 127 | 127 | range is 0 => 255
volume | int | 63 | 63 | range is 0 => 63
Balance | int | 64 | 64 | range is 0 => 127
mute | bool | on | on |
Sharpness | int | 0 | 0 | range is 0 => 4
Chroma AGC | bool | on | on |
Color kill | bool | on | on |
$
Anyone know how to *set* this "default"?
Thanks,
-Greg