Re: [question] between probe() and open()

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

 



On Sat, Feb 25, 2012 at 07:09:49PM -0300, Ezequiel García wrote:
> Hello,
> 
> This is a question in general about usb drivers and
> in particular about easycap driver.
> 
> Is there any way a driver can be accesed
> between after usb_probe() but before device open()?

usb_remove() can always be called without open() ever happening.

> I guess not, since any further operation on
> the device needs a struct file pointer, i.e. a file descriptor on
> the user side.

That is usually true.  Oh, suspend can happen, along with resume, those
come in from the usb side of the device, so watch out for those as well.

hope this helps,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux