Re: USB gadget problem with close of a gadgetfs device

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

 



On Fri, 6 Feb 2009, Erin Teran wrote:

> Yes, I saw that post, but I thought that this could not be the cause of my error,
> because my ep1_in and ep1_out file descriptors are already closed (this is the first thing I do in my app).

You should try that fix anyway, just to make sure.

> He had the problem that the source/sink filedescriptors were not closed, I think I have the problem that my
> ep0 filedescriptor is not close ... What I do not understand is that all 3 close calls return without an error,
> but there is still an pending reference to one of the file descriptors.
> 
> Can you think about a way to narrow the problem down?
> Can I get the information about the references to a filedescriptor out of the kernel?

There must be a way to find out how many references there are, but I
don't know what it is.  There probably is no way to find out where
those references are.

Alan Stern

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux