Support opening /dev node multiple times #3

Closed
martinpitt opened this Issue Feb 13, 2013 · 1 comment

Projects

None yet

1 participant

@martinpitt
Owner

libmtp opens USB device nodes multiple times without closing them in between. This causes the preload lib to lose track of the earlier ones, and causes errors like

ERROR: Could not close session!
inep: usb_get_endpoint_status(): Inappropriate ioctl for device
outep: usb_get_endpoint_status(): Inappropriate ioctl for device
usb_clear_halt() on IN endpoint: Inappropriate ioctl for device
usb_clear_halt() on OUT endpoint: Inappropriate ioctl for device
usb_clear_halt() on INTERRUPT endpoint: Inappropriate ioctl for device

@martinpitt martinpitt closed this Feb 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment