mtp-detect fails with sansa c150
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmtp (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
udev (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
when Sansa c150 is connected udev detects it as usb-storage and overtakes device so mtp-detect outputs:
Found non-autodetected device "SanDisk Sansa c150" on USB bus...
usb_claim_
Connection error.
No devices.
lsusb output:
Bus 005 Device 002: ID 0781:7410 SanDisk Corp.
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 003: ID 15ca:00c3
Bus 002 Device 001: ID 0000:0000
workaround from linuxquestions (post by codedr]:
I was able to successfully connect to my Sansa c150.
The problem is udev configures the usb-storage and prevents libmtp from accessing the device.
As root,
(1) unload usb-storage
rmmod usb-storage
(2) temporarily move usb-storage.ko out of the way
cd /lib/modules/
mv usb-storage.ko usb-storage.tmp
(3) plug-in your Sansa c150
You will now be able to use mtp commands to access the
mtp-only files
A new version is just entering the gutsy repositories. libmtp 0.2.1
This was with feisty?