Thread (5 messages) 5 messages, 3 authors, 2012-02-18

Question on registering driver fops

From: bjorn@mork.no (Bjørn Mork)
Date: 2012-02-15 07:38:44

Possibly related (same subject, not in this thread)

Ezequiel Garc?a [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help