Feb. 15, 2012
7:38 a.m.
Ezequiel García <elezegarcia@gmail.com> writes:
I find hard that userspace is who opens the device in this particular case, because I get the "open" call just by plugging in the usb, right after usb_probe. (unless there is a daemon, or udev opens the device for module insertion or something).
Typical V4L rules have something like this in /lib/udev/rules.d/60-persistent-v4l.rules : IMPORT{program}="v4l_id $tempnode" So yes, looks like udev will open your device when it's plugged. Bjørn