Bug 17951

Summary: [mga6-dev1] Andriod phone internal storage not available to file manager
Product: Mageia Reporter: Ben McMonagle <westel>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jani.valimaa, joequant, marja11, nic, tarakbumba
Version: CauldronKeywords: 6dev1
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Ben McMonagle 2016-03-11 06:47:57 CET
Description of problem: An android phone connecting via USB does not display internal storage as available to file managers. the phone displays that it is connecting via USB. 
Mga5: phone is detected and files are accessible


Version-Release number of selected component (if applicable):
Mageia-6-dev1-x86_64-DVD.iso
DATE.txt: Mon Mar  7 23:20:36 CET 2016


How reproducible:


Steps to Reproduce:
1.install either Mate, Cinnamon or XFCE DE from above .iso
2.Reboot and login into desktop. 
3.connect Android phone via USB.
4. attempt to access on-phone storage
Comment 1 Ben McMonagle 2016-03-11 06:49:55 CET
output of : journalctl -af

@localhost ~]$ su -
Password: 
[root@localhost ~]# journalctl -af
-- Logs begin at Thu 2016-03-10 21:30:58 NZDT. --
Mar 11 18:39:14 localhost.localdomain su[3659]: pam_tcb(su-l:auth): Authentication passed for root from xfcetest(uid=1000)
Mar 11 18:39:14 localhost.localdomain kernel: audit: type=1100 audit(1457674754.873:183): pid=3659 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_tcb acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=pts/0 res=success'
Mar 11 18:39:14 localhost.localdomain kernel: audit: type=1101 audit(1457674754.873:184): pid=3659 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tcb acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=pts/0 res=success'
Mar 11 18:39:14 localhost.localdomain kernel: audit: type=1103 audit(1457674754.873:185): pid=3659 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_tcb acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=pts/0 res=success'
Mar 11 18:39:14 localhost.localdomain audit[3659]: CRED_ACQ pid=3659 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_tcb acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=pts/0 res=success'
Mar 11 18:39:14 localhost.localdomain su[3659]: (to root) xfcetest on pts/0
Mar 11 18:39:14 localhost.localdomain su[3659]: pam_systemd(su-l:session): Cannot create session: Already running in a session
Mar 11 18:39:14 localhost.localdomain su[3659]: pam_tcb(su-l:session): Session opened for root by xfcetest(uid=1000)
Mar 11 18:39:14 localhost.localdomain audit[3659]: USER_START pid=3659 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_keyinit,pam_keyinit,pam_limits,pam_systemd,pam_tcb,pam_xauth acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=pts/0 res=success'
Mar 11 18:39:14 localhost.localdomain kernel: audit: type=1105 audit(1457674754.925:186): pid=3659 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_keyinit,pam_keyinit,pam_limits,pam_systemd,pam_tcb,pam_xauth acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=pts/0 res=success'
Mar 11 18:39:40 localhost.localdomain kernel: usb 1-1.6: new high-speed USB device number 8 using ehci-pci
Mar 11 18:39:40 localhost.localdomain kernel: usb 1-1.6: New USB device found, idVendor=0fce, idProduct=018c
Mar 11 18:39:40 localhost.localdomain kernel: usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 11 18:39:40 localhost.localdomain kernel: usb 1-1.6: Product: Android
Mar 11 18:39:40 localhost.localdomain kernel: usb 1-1.6: Manufacturer: Android
Mar 11 18:39:40 localhost.localdomain kernel: usb 1-1.6: SerialNumber: 88f3534d

Whiteboard: (none) => 6dev1

Marja Van Waes 2016-03-12 19:54:52 CET

Keywords: (none) => 6dev1
CC: (none) => jani.valimaa, joequant, marja11, tarakbumba
Whiteboard: 6dev1 => (none)

Comment 2 Nic Baxter 2016-03-13 06:24:16 CET
On mga5
mount 
/dev/sdc1 on /run/media/nic/2627-0FED type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)



ISO Name: Mageia-6-dev1-x86_64-DVD.iso 
Date.txt: Fri Mar 11 13:49:02 CET 2016
md5sum: 9e3744a77d2dc74e945a7fe4aca6f4b7 
mount
dev/sdb1 on /run/media/nic/2627-0FED type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)

Looks identical to me. Of course its the sd card in my phone not the internal memory.

CC: (none) => nic

Comment 3 Ben McMonagle 2016-03-13 09:02:16 CET
(In reply to Nic Baxter from comment #2)
> On mga5
> mount 
> /dev/sdc1 on /run/media/nic/2627-0FED type vfat
> (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,
> codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,
> errors=remount-ro,uhelper=udisks2)

Mga5 = /mtp
"Android" is displayed in dolphin partition list (kde)

Mga6-dev1 = no /mtp with phone connected (plasma5)
Comment 4 Jani Välimaa 2016-03-13 09:03:06 CET
gvfs-mtp is probably missing.
Comment 5 Ben McMonagle 2016-03-13 09:10:07 CET
after testing on 11 desktops over 2 days, it is now mounted [i586 and x86_64] 

how-ever I am reluctant to say resolved.

I may qualify it to :on first boot
Comment 6 Nic Baxter 2016-03-13 09:15:20 CET
I enabled mtp connection on my Samsung S3 and installed gvfs-mtp and it works. 
If all is OK then please close the report
Comment 7 Marja Van Waes 2016-03-28 22:27:14 CEST
(In reply to Nic Baxter from comment #6)
> I enabled mtp connection on my Samsung S3 and installed gvfs-mtp and it
> works. 
> If all is OK then please close the report

Assuming it is OK, so closing

@ Ben

Feel free to reopen if needed

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