FS#27451 - [libmtp] disrupts communication with Canon USB scanner

Attached to Project: Arch Linux
Opened by Peter Klotz (p.klotz) - Sunday, 04 December 2011, 21:08 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 24 December 2011, 03:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

mpt-probe causes my Canon USB scanner to no longer function properly.
I normally use the Scanner in a VirtualBox machine.
Starting the machine up results in this error message:

"Failed to create a proxy device for the USB device. (Error: VERR_READ_ERROR)"

Removing the mtp-probe binary works as a temporary solution. I cannot uninstall libmtp because it is a vlc dependency.

The new version 1.1.1 of libmtp (http://sourceforge.net/projects/libmtp/files/libmtp/1.1.1/) fixes the problem permanently.
See attached PKGBUILD file.
It is necessary to remove the switch "--with-udev-rules=52-libmtp.rules" in the configure step since otherwise udev rules for mtp devices are called too early.

Upstream uses 69 as new default level according to the changelog:

- udev rule prio for probe command set to come after
most other devices including SANE, so now we use
level 69.

Additional info:
* libmtp 1.1.0


Steps to reproduce:
* Boot computer with scanner connected
* Start virtual machine
* The above error occurs and the scanner is not available
   PKGBUILD (0.7 KiB)
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 24 December 2011, 03:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  extra/libmtp 1.1.1-1

Loading...