You are not logged in.
Pages: 1
Topic closed
I just installed Arch on a new laptop and went with the lxde desktop. It is starting through LXDM. I followed the wiki about the extra pcmanfm would need to mount such as gvfs. I installed that and gvfs-mtp. Pcmanfm mounts my USB drives normally and I can access them and modify files with no issues. At least none that I can find in journalctl. The problem happens when I try and access my phone once its automounted by pcmanfm. It shows that its mounted in pcmanfm but it shows up twice, once showing phone (Samsung Note2) and another just saying mtp. If I click the Samsung one it just goes to mtp. Now the problem is if I try and access any files on my phone I get Operation not permitted[1]. Even though I did follow the wiki saying to solve that is to solve gvfs. I also added the suggested add for Not Authorized[2]. I also have android-udev[4] installed.
Full error opening a picture:
Failed to open file '/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C004%5D/Phone/DCIM/Camera/20130914_152216.jpg': Operation not supported
I read in a post[3] that gvfs-mtp is actually not required for what I want. So if I remove that, reboot, plug in phone. Pcmanfm does not even mount it and nothing in journalctl or dmesg giving me some kind of error. So I am assuming now gvfs-mtp is required.
I thought maybe it was permission but it is owned by my user and its group, so I do not think that is it.
ls -la /run/user/1000/gvfs/mtp\:host\=%5Busb%3A001%2C003%5D/Phone/DCIM/Camera/
total 122078
drwx------ 1 lap users 0 Nov 3 17:04 .
drwx------ 1 lap users 0 Sep 14 15:21 ..
-rw------- 1 lap users 2073564 Sep 14 15:21 20130914_152125.jpg
-rw------- 1 lap users 1682256 Sep 14 15:21 20130914_152129.jpg
-rw------- 1 lap users 1743534 Sep 14 15:21 20130914_152149.jpg
What am I missing here? Thanks for any help on this and your time.
[1] https://wiki.archlinux.org/index.php/PC … USB_drives
[2] https://wiki.archlinux.org/index.php/PC … USB_drives
[3] https://bbs.archlinux.org/viewtopic.php … 7#p1121607
[4] https://aur.archlinux.org/packages/android-udev/ #I had to remove the ' in line 1 to get the rule file to not give and error.
EDIT: While trying to test with debugging on and off on my phone I found a gvfs related permission error for systemd-tmpfiles and a kernel panic after
Nov 05 00:24:54 lappyT systemd-tmpfiles[1009]: stat(/run/user/1000/gvfs) failed: Permission denied
Nov 05 00:40:15 lappyT kernel: perf samples too long (2547 > 2500), lowering kernel.perf_event_max_sample_rate to 50100
Nov 05 00:44:28 lappyT kernel: .......ready
Nov 05 01:04:04 lappyT kernel: ------------[ cut here ]------------
Nov 05 01:04:04 lappyT kernel: WARNING: CPU: 6 PID: 2092 at drivers/usb/host/ehci-hcd.c:1038 ehci_endpoint_reset+0x101/0x110 [ehci_hcd]()
Nov 05 01:04:04 lappyT kernel: clear_halt for a busy endpoint
Nov 05 01:04:04 lappyT kernel: Modules linked in: usb_storage cdc_acm fuse snd_hda_codec_hdmi joydev coretemp kvm_intel snd_hda_codec_conexant kvm arc4 nvidia(PO) snd_hda_intel rtl8192se rtl_pci rtlwifi
Nov 05 01:04:04 lappyT kernel: CPU: 6 PID: 2092 Comm: pool Tainted: P O 3.11.6-1-ARCH #1
Nov 05 01:04:04 lappyT kernel: Hardware name: TOSHIBA Qosmio X505/Qosmio X505, BIOS V2.90 12/10/2010
Nov 05 01:04:04 lappyT kernel: 0000000000000009 ffff8801e9f73d08 ffffffff814dba02 ffff8801e9f73d50
Nov 05 01:04:04 lappyT kernel: ffff8801e9f73d40 ffffffff8106193d 0000000000000003 0000000000000083
Nov 05 01:04:04 lappyT kernel: ffff880232531000 ffff880232531284 0000000000000246 ffff8801e9f73da0
Nov 05 01:04:04 lappyT kernel: Call Trace:
Nov 05 01:04:04 lappyT kernel: [<ffffffff814dba02>] dump_stack+0x54/0x8d
Nov 05 01:04:04 lappyT kernel: [<ffffffff8106193d>] warn_slowpath_common+0x7d/0xa0
Nov 05 01:04:04 lappyT kernel: [<ffffffff810619ac>] warn_slowpath_fmt+0x4c/0x50
Nov 05 01:04:04 lappyT kernel: [<ffffffffa00f1ab1>] ehci_endpoint_reset+0x101/0x110 [ehci_hcd]
Nov 05 01:04:04 lappyT kernel: [<ffffffffa000f825>] usb_hcd_reset_endpoint+0x25/0x70 [usbcore]
Nov 05 01:04:04 lappyT kernel: [<ffffffffa0011ac8>] usb_reset_endpoint+0x28/0x40 [usbcore]
Nov 05 01:04:04 lappyT kernel: [<ffffffffa0011b4e>] usb_clear_halt+0x6e/0x80 [usbcore]
Nov 05 01:04:04 lappyT kernel: [<ffffffffa001c8df>] usbdev_do_ioctl+0xbaf/0x1050 [usbcore]
Nov 05 01:04:04 lappyT kernel: [<ffffffffa001cdae>] usbdev_ioctl+0xe/0x20 [usbcore]
Nov 05 01:04:04 lappyT kernel: [<ffffffff811b1c05>] do_vfs_ioctl+0x2e5/0x4d0
Nov 05 01:04:04 lappyT kernel: [<ffffffff811b1e71>] SyS_ioctl+0x81/0xa0
Nov 05 01:04:04 lappyT kernel: [<ffffffff814ea5dd>] system_call_fastpath+0x1a/0x1f
Nov 05 01:04:04 lappyT kernel: ---[ end trace 015ebba934a8cb07 ]---
Linux lappyT 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64 GNU/Linux
So far other than this I can't sort out what is happening here for me. I am out of ideas for now so guess that means bedtime. Thanks
Last edited by vwyodajl (2013-11-06 09:46:12)
Offline
Well I am still at a loss as to what the actual issue is here. I still feel like it's permissions, but am unsure as there is nothing more than the message posted above about not being able to actually open files on mtp.
I have gone through everything in the wiki and what I can find in posts. I also tried installing thunar and thunar-volman and I get the same problem.
Failed to open file '/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C003%5D/Phone/DCIM/Camera/20130914_152125.jpg': Operation not supported
Thunar also shows the phone twice like pcmanfm. It shows under Devices Samsung, then in Network it shows mtp.
Offline
It shows that its mounted in pcmanfm but it shows up twice, once showing phone (Samsung Note2) and another just saying mtp.
Did you resolve pcmanFM mounting/showing device twice and how?
So far, i tried installing nemo as file manager and it displays device correctly with one MTP mount point with name of the device (Nexus 6).
Yet PCmanFM displays two MTPs, just like you described: One is showing the phone with proper name (Nexus 6) and then the 2nd unnecessary MTP.
Here is a picture of the bug:
postimg.org/image/mnkmc9qbl/
https://s24.postimg.org/rm84qsu4l/PCman_FM_GVFS_bug.png
Thank you in advance.
Mod note: replaced image with url -- WorMzy
Last edited by WorMzy (2017-01-09 11:58:54)
Offline
Op maybe look at android-file-transfer-git from AUR if MTP continues to fail. Personaly i got MTP to work on S4 by using simple-mtpfs and swapping USB cables.
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
Vai0, please do not necrobump, and please do not embed large images into your post.
https://wiki.archlinux.org/index.php/Co … bumping.22
https://wiki.archlinux.org/index.php/Co … s_and_code
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed