| Summary: | /lib/udev/mtp-probe prevents VirtualBox from accessing an USB scanner | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vesa Halttunen <vesuri> |
| Component: | libmtp | Assignee: | Linus Walleij <triad> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | triad |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libmtp-1.1.2-2.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-07 07:52:37 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Vesa Halttunen
2012-01-21 23:18:25 UTC
Workaround is to mv /lib/udev/mtp-probe to /lib/udev/mtp-probe.bak but then udevd will naturally say Jan 22 01:09:01 vesuri udevd[2455]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4 1 2': No such file or directory Can you provide lsusb -v for this scanner, so I can try to avoid poking it... (In reply to comment #2) > Can you provide lsusb -v for this scanner, so I can try to avoid > poking it... Bus 001 Device 002: ID 04a9:220c Canon, Inc. CanoScan D1250U2 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 64 idVendor 0x04a9 Canon, Inc. idProduct 0x220c CanoScan D1250U2 bcdDevice 2.00 iManufacturer 3 Canon iProduct 4 CanoScan iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 10mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 8 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0001 Self Powered Hm yeah that's a *very* strange device, it is a scanner, yet it provides a vendor-specific device descriptor, which has two bulk EP and one interrupt EP, just like an MTP device :-( I will think of something, probably I'll just explicitly blacklist Canon devices since they don't make MTP equipment for a quick fix. libmtp-1.1.2-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/libmtp-1.1.2-2.fc16 (In reply to comment #5) > libmtp-1.1.2-2.fc16 has been submitted as an update for Fedora 16. > https://admin.fedoraproject.org/updates/libmtp-1.1.2-2.fc16 I can confirm that this update fixes the problem. Package libmtp-1.1.2-2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libmtp-1.1.2-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1016/libmtp-1.1.2-2.fc16 then log in and leave karma (feedback). Yay! :-) libmtp-1.1.2-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |