On Wed, 2 Nov 2005, Oliver Neukum wrote:

> Am Mittwoch, 2. November 2005 02:21 schrieb gary clark:
> > I want to know that if I call usb_claim_interface will
> > in an application will this prevent a user from
> > attempting to mount that device? i.e state that the
> > device is busy.
> > Is there documentation out there that can point me in
> > the right direction? I want to prevent a user from
> > being able to access the device interface if its
> > already taken.
> 
> Ownership of interfaces is exclusive. Claiming it will do the job.

You have to be careful, though.  If usb-storage or ub has already claimed 
the interface, you won't be able to claim it yourself.

Also remember that if you're able to claim an interface, then a user (or 
the superuser) is able to take it away from you.

Alan Stern



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to