Re: Question on registering driver fops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Ezequiel García <elezegarcia@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux