Logo Search packages:      
Sourcecode: libgphoto2 version File versions

#define DEVICE_FLAG_UNLOAD_DRIVER   0x00000002

This means that under Linux, another kernel module may be using this device's USB interface, so we need to detach it if it is. Typically this is on dual-mode devices that will present both an MTP compliant interface and device descriptor *and* a USB mass storage interface. If the USB mass storage interface is in use, other apps (like our userspace libmtp through libusb access path) cannot get in and get cosy with it. So we can remove the offending application. Typically this means you have to run the program as root as well.

Definition at line 66 of file device-flags.h.

Generated by  Doxygen 1.6.0   Back to index