New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support opening /dev node multiple times #3

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

Comments

Projects
None yet
1 participant
@martinpitt
Owner

martinpitt commented Feb 13, 2013

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

This comment has been minimized.

Show comment
Hide comment
Owner

martinpitt commented Feb 14, 2013

@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