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
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux