Bug 28027

Summary: mtp over usb not possible between Cauldron and a Samsung Galaxy S9
Product: Mageia Reporter: Juergen Harms <juergen.harms>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: mtpfs-2.0-3.mga8.src.rpm CVE:
Status comment:

Description Juergen Harms 2021-01-06 14:49:39 CET
Description of problem:

Exchanging files between a smartphone and Mageaia with mtp over USB works with Mageia-7, but not on Cauldron (for me, using Xfce/Thunar, but a similar problem appears to exist with Kde/dolphin.

When the smartphone (Samsung Galaxy S9) is connected via USB, a "SAMSUNG" tab (correctly) appears in the sidebar of Thunar ("Devices" section) - but doing a right-click on that tab does not trigger any action

- hitting "Open" produces the response is "Failed to mount "SAMSUNG Androi". No MTP devices found)
- no action whatever with the other buttons
- hovering over this tab launches a display:mtp://SAMSUNG_SAMSUNG_Android_23dc29813b057ece (/dev/bus/usb/001/012)


Version-Release number of selected component (if applicable):

How reproducible: 100%

Steps to Reproduce: see above

Some observations:

- Apparently, the Samsung device is recognised and connected as device 012 on bus 001 (according to the message when hovering over the button, and according to the fact that the node /dev/bus/usb/001/012 is created when the smartphone is connected
- lsbusb does not "see" this, for bus 001 only devices 001 through 011 are listed
- /usr/lib/udev/rules.d/60-libsane.rules contains many entries for Samsung devices, but nothing for Galaxy - as opposed to Mageia-7 where such entries exist. Looks like the automatic mounting process for this kind of usb devices is broken an Cauldron.
- lots of bugs refer to similar problems, but most of these bugs are on previous Mageia releases, and got resolved in Mageia-7. There is one bug - bugzilla 21095 that has probably the same cause - somewhat arbitrary to have now filed a new bug
- Note: on my system the mtpfs package is installed.
Comment 1 David Walser 2021-01-06 23:42:48 CET
Known issue.  Samsung phones don't work with mtpfs.

*** This bug has been marked as a duplicate of bug 7638 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

Comment 2 Juergen Harms 2021-01-07 07:21:31 CET
Comment 1 does not take into account that (some - all?) Samsung phones do work with mtpfs in Mageia-7 - comments in bugzilla 7638 are not up to date.

In Mageia-7 /usr/lib/udev/rules.d/60-libmtp.rules there exists a long list of rules for - among others - Samsung phones that specify how these devices are to be mounted when they are connected to usb; at least for my Samsung S9, mounting and transfer over mtp worked perfectly with Mageia-7
 
In Cauldron this list has gone away, and .../.60-libmtp.rules has shrunk to a short stub - Samsung phones, therefore and evidently cannot work any more. The problem looks like a simple case of regression that should be easy to fix.

How is this problem going to be handled - reopen this bug? shift the necessary activity to another bug?
Comment 3 David Walser 2021-01-15 21:45:43 CET
Please use Bug 7638 for this.  No, mtpfs does not work for all Samsung Galaxy phones.  It does not work on Mageia 7 with an S10e, just the same as the S7 and S4 didn't work with Mageia 5.