Activity log for bug #1638383

Date Who What changed Old value New value Message
2016-11-01 21:07:20 ludo33200 bug added bug
2016-11-01 21:11:45 ludo33200 tags apport-collected yakkety
2016-11-01 21:11:46 ludo33200 description This bug was also filled on Honor Community https://community.hihonor.com/thread/1495?et=watches.email.outcome Problem ------- Connecting Honor 8 mobile phone as USB + select MTP transfer mode on the phone The phone includes an additional SD Card where photos are stored As connected in MTP mode, unable to upload photos on the PC : neither intrenal memory or sd card appear as mounted devices. However i still can get photos manuelly with a file browser. This makes impossible to upload photos with a photo manager like shotwell. Full details ------------- Ubuntu 16.10, fresh install (since 15 days) Connect Honor 8 via USB Has a 64 Gb SD Card (SanDisk) inside On Honor 8 go to "Connected via USB" and select "Files" to connect the Honor 8 in MTP mode The Honor 8 help says for Linux : - install tools : sudo apt-get install mtp-tools mtpfs - create subdir : sudo mkdir /media/mtp - change acl : sudo chmod 755 /media/mtp - mount : sudo mtpfs -o allow_other /media/mtp - unmount : sudo umount /media/mtp Before mtp-tools + mtpfs install -------------------------------- # lsusb Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 007: ID 046d:c52a Logitech, Inc. Bus 001 Device 011: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 008: ID 0cf3:e005 Atheros Communications, Inc. Bus 001 Device 003: ID 13fd:2040 Initio Corporation Bus 001 Device 018: ID 12d1:107e Huawei Technologies Co., Ltd. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Device 18 is Honor 8 >> SD Card does not appear as mounted USB device # ls -al /media/myuser total 10 drwxr-x---+ 3 root root 4096 nov. 1 21:08 . drwxr-xr-x 6 root root 4096 oct. 30 21:04 .. dr-x------ 1 myuser myuser 2048 oct. 16 2015 My CDROM >> My CDROM is a mount point provided by Honor 8 itself allowing installing software on Windows as you may have with a cd-ro >> SD Card does not appear as mounted USB device Ubuntu Files Manager shows TWO mounted points Android (icon : mobile phone) : no direct file provided, includes 2 subdirs : 1) SanDisk SD Card 2) Internal memory storage Subdir DCIM/Camera gives access to photos taken with Honor 8 Camera and stored on SD Card. However i didint found an easy way to upload this photos in shotwell My CDROM : corresponds to /media/myuser/My CDROM Shotwell Considers as if no camera was connected to PC neither SD Card nor internal memory appear as mounted USB devices Lets apply Honor advices (install mtp-tools mtpfs) -------------------------------------------------- Honor 8 USB disconnected In a terminal # sudo apt-get install mtp-tools mtpfs [sudo] myuser password : **** Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les NOUVEAUX paquets suivants seront installés : mtp-tools mtpfs 0 mis à jour, 2 nouvellement installés, 0 à enlever et 0 non mis à jour. Il est nécessaire de prendre 0 o/49,1 ko dans les archives. Après cette opération, 333 ko d'espace disque supplémentaires seront utilisés. Sélection du paquet mtp-tools précédemment désélectionné. (Lecture de la base de données... 290176 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../0-mtp-tools_1.1.12-1_amd64.deb ... Dépaquetage de mtp-tools (1.1.12-1) ... Sélection du paquet mtpfs précédemment désélectionné. Préparation du dépaquetage de .../1-mtpfs_1.1-5_amd64.deb ... Dépaquetage de mtpfs (1.1-5) ... Paramétrage de mtpfs (1.1-5) ... Paramétrage de mtp-tools (1.1.12-1) ... Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ... >> Installe (sorry i'm french an di not translate Ubuntu install logs) In same terminal # sudo mkdir -p /media/mtp # sudo chmod 755 /media/mtp # ls -al /media ludovic@Inspiron-3650:~$ ls -al /media total 24 drwxr-xr-x 6 root root 4096 oct. 30 21:04 . drwxr-xr-x 25 root root 4096 oct. 26 10:00 .. drwxr-x---+ 2 root root 4096 oct. 30 09:56 my_user_other drwxr-x---+ 2 root root 4096 oct. 26 09:42 guest-wln98c drwxr-x---+ 2 root root 4096 nov. 1 21:23 my_user drwxr-xr-x 2 root root 4096 oct. 30 21:04 mtp >> subdir exists Connect Honor 8 USB in MTP mode (see beginning of this topic) #lsusb Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 007: ID 046d:c52a Logitech, Inc. Bus 001 Device 011: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 008: ID 0cf3:e005 Atheros Communications, Inc. Bus 001 Device 003: ID 13fd:2040 Initio Corporation Bus 001 Device 020: ID 12d1:107e Huawei Technologies Co., Ltd. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> NO effect seen (should be normal as not mounted with mtpfs mount) # ls -al /media/myuser >> NO effect seen (should be normal ...) # ls -al /media >> NO effect seen (should be normal ...) Ubuntu Files Manager >> NO effect seen (should be normal ...) OK... lets mount with mtpfs command.. # sudo mtpfs -o allow_other /media/mtp Listing raw device(s) Device 0 (VID=12d1 and PID=107e) is a Huawei P9 Plus. Found 1 device(s): Huawei: P9 Plus (12d1:107e) @ bus 1, dev 20 Attempting to connect device ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attempt to reset device Android device detected, assigning default bug flags [ndlr: wait few ~60 seconds] Listing File Information on Device with name: (NULL) >> Shows an error # ls -al /media/myuser >> NO effect seen # ls -al /media ls: impossible d'accéder à '/media/mtp': Le logiciel a provoqué l'abandon de la connexion total 20 drwxr-xr-x 6 root root 4096 oct. 30 21:04 ./ drwxr-xr-x 25 root root 4096 oct. 26 10:00 ../ drwxr-x---+ 2 root root 4096 oct. 30 09:56 my_user_other/ drwxr-x---+ 2 root root 4096 oct. 26 09:42 guest-wln98c/ drwxr-x---+ 3 root root 4096 nov. 1 21:28 my_user/ d?????????? ? ? ? ? ? mtp/ >> Ouch ... have a look on /media/mtp dir !! + Have a messagebox title : (no title) inside (french version) Problème logiciel détecté Voulez vous signaler le problème maintenant ? + boutons <Annuler> <Signaler le problème...> inside (english translated) Software problem detected Would you like to signal the problem now ? + buttons <Cancel> <Signal problem..> I choose <Signal problem ...> Message box disappears ... lets collect infos... # sudo umount /media/mtp # ls -l /media total 16 drwxr-x---+ 2 root root 4096 oct. 30 09:56 my_user_other drwxr-x---+ 2 root root 4096 oct. 26 09:42 guest-wln98c drwxr-x---+ 3 root root 4096 nov. 1 21:28 my_user drwxr-xr-x 2 root root 4096 oct. 30 21:04 mtp # ubuntu-bug -p mtpfs >> no effect seeen, mozilla will not open into a new apport bug description page # sudo mtpfs -o allow_other /media/mtp >> same messages / errors # ps -eaf | grep mtpfs root 10451 2595 0 21:47 ? 00:00:00 mtpfs -o allow_other /media/mtp my_user 10478 8496 0 21:48 pts/4 00:00:00 grep --color=auto mtpfs # ubuntu-bug -p 10478 >> no effect seeen, mozilla will not open into a new apport bug description page lets fill the bug manually (sorry) This bug was also filled on Honor Community https://community.hihonor.com/thread/1495?et=watches.email.outcome Problem ------- Connecting Honor 8 mobile phone as USB + select MTP transfer mode on the phone The phone includes an additional SD Card where photos are stored As connected in MTP mode, unable to upload photos on the PC : neither intrenal memory or sd card appear as mounted devices. However i still can get photos manuelly with a file browser. This makes impossible to upload photos with a photo manager like shotwell. Full details ------------- Ubuntu 16.10, fresh install (since 15 days) Connect Honor 8 via USB Has a 64 Gb SD Card (SanDisk) inside On Honor 8 go to "Connected via USB" and select "Files" to connect the Honor 8 in MTP mode The Honor 8 help says for Linux : - install tools : sudo apt-get install mtp-tools mtpfs - create subdir : sudo mkdir /media/mtp - change acl : sudo chmod 755 /media/mtp - mount : sudo mtpfs -o allow_other /media/mtp - unmount : sudo umount /media/mtp Before mtp-tools + mtpfs install -------------------------------- # lsusb Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 007: ID 046d:c52a Logitech, Inc. Bus 001 Device 011: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 008: ID 0cf3:e005 Atheros Communications, Inc. Bus 001 Device 003: ID 13fd:2040 Initio Corporation Bus 001 Device 018: ID 12d1:107e Huawei Technologies Co., Ltd. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Device 18 is Honor 8 >> SD Card does not appear as mounted USB device # ls -al /media/myuser total 10 drwxr-x---+ 3 root root 4096 nov. 1 21:08 . drwxr-xr-x 6 root root 4096 oct. 30 21:04 .. dr-x------ 1 myuser myuser 2048 oct. 16 2015 My CDROM >> My CDROM is a mount point provided by Honor 8 itself allowing installing software on Windows as you may have with a cd-ro >> SD Card does not appear as mounted USB device Ubuntu Files Manager shows TWO mounted points Android (icon : mobile phone) : no direct file provided, includes 2 subdirs : 1) SanDisk SD Card 2) Internal memory storage Subdir DCIM/Camera gives access to photos taken with Honor 8 Camera and stored on SD Card. However i didint found an easy way to upload this photos in shotwell My CDROM : corresponds to /media/myuser/My CDROM Shotwell Considers as if no camera was connected to PC neither SD Card nor internal memory appear as mounted USB devices Lets apply Honor advices (install mtp-tools mtpfs) -------------------------------------------------- Honor 8 USB disconnected In a terminal # sudo apt-get install mtp-tools mtpfs [sudo] myuser password : **** Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les NOUVEAUX paquets suivants seront installés : mtp-tools mtpfs 0 mis à jour, 2 nouvellement installés, 0 à enlever et 0 non mis à jour. Il est nécessaire de prendre 0 o/49,1 ko dans les archives. Après cette opération, 333 ko d'espace disque supplémentaires seront utilisés. Sélection du paquet mtp-tools précédemment désélectionné. (Lecture de la base de données... 290176 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../0-mtp-tools_1.1.12-1_amd64.deb ... Dépaquetage de mtp-tools (1.1.12-1) ... Sélection du paquet mtpfs précédemment désélectionné. Préparation du dépaquetage de .../1-mtpfs_1.1-5_amd64.deb ... Dépaquetage de mtpfs (1.1-5) ... Paramétrage de mtpfs (1.1-5) ... Paramétrage de mtp-tools (1.1.12-1) ... Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ... >> Installe (sorry i'm french an di not translate Ubuntu install logs) In same terminal # sudo mkdir -p /media/mtp # sudo chmod 755 /media/mtp # ls -al /media ludovic@Inspiron-3650:~$ ls -al /media total 24 drwxr-xr-x 6 root root 4096 oct. 30 21:04 . drwxr-xr-x 25 root root 4096 oct. 26 10:00 .. drwxr-x---+ 2 root root 4096 oct. 30 09:56 my_user_other drwxr-x---+ 2 root root 4096 oct. 26 09:42 guest-wln98c drwxr-x---+ 2 root root 4096 nov. 1 21:23 my_user drwxr-xr-x 2 root root 4096 oct. 30 21:04 mtp >> subdir exists Connect Honor 8 USB in MTP mode (see beginning of this topic) #lsusb Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 007: ID 046d:c52a Logitech, Inc. Bus 001 Device 011: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 008: ID 0cf3:e005 Atheros Communications, Inc. Bus 001 Device 003: ID 13fd:2040 Initio Corporation Bus 001 Device 020: ID 12d1:107e Huawei Technologies Co., Ltd. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> NO effect seen (should be normal as not mounted with mtpfs mount) # ls -al /media/myuser >> NO effect seen (should be normal ...) # ls -al /media >> NO effect seen (should be normal ...) Ubuntu Files Manager >> NO effect seen (should be normal ...) OK... lets mount with mtpfs command.. # sudo mtpfs -o allow_other /media/mtp Listing raw device(s) Device 0 (VID=12d1 and PID=107e) is a Huawei P9 Plus. Found 1 device(s): Huawei: P9 Plus (12d1:107e) @ bus 1, dev 20 Attempting to connect device ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attempt to reset device Android device detected, assigning default bug flags [ndlr: wait few ~60 seconds] Listing File Information on Device with name: (NULL) >> Shows an error # ls -al /media/myuser >> NO effect seen # ls -al /media ls: impossible d'accéder à '/media/mtp': Le logiciel a provoqué l'abandon de la connexion total 20 drwxr-xr-x 6 root root 4096 oct. 30 21:04 ./ drwxr-xr-x 25 root root 4096 oct. 26 10:00 ../ drwxr-x---+ 2 root root 4096 oct. 30 09:56 my_user_other/ drwxr-x---+ 2 root root 4096 oct. 26 09:42 guest-wln98c/ drwxr-x---+ 3 root root 4096 nov. 1 21:28 my_user/ d?????????? ? ? ? ? ? mtp/ >> Ouch ... have a look on /media/mtp dir !! + Have a messagebox title : (no title) inside (french version) Problème logiciel détecté Voulez vous signaler le problème maintenant ? + boutons <Annuler> <Signaler le problème...> inside (english translated) Software problem detected Would you like to signal the problem now ? + buttons <Cancel> <Signal problem..> I choose <Signal problem ...> Message box disappears ... lets collect infos... # sudo umount /media/mtp # ls -l /media total 16 drwxr-x---+ 2 root root 4096 oct. 30 09:56 my_user_other drwxr-x---+ 2 root root 4096 oct. 26 09:42 guest-wln98c drwxr-x---+ 3 root root 4096 nov. 1 21:28 my_user drwxr-xr-x 2 root root 4096 oct. 30 21:04 mtp # ubuntu-bug -p mtpfs >> no effect seeen, mozilla will not open into a new apport bug description page # sudo mtpfs -o allow_other /media/mtp >> same messages / errors # ps -eaf | grep mtpfs root 10451 2595 0 21:47 ? 00:00:00 mtpfs -o allow_other /media/mtp my_user 10478 8496 0 21:48 pts/4 00:00:00 grep --color=auto mtpfs # ubuntu-bug -p 10478 >> no effect seeen, mozilla will not open into a new apport bug description page lets fill the bug manually (sorry) --- ApportVersion: 2.20.3-0ubuntu8 Architecture: amd64 CurrentDesktop: Unity DistroRelease: Ubuntu 16.10 EcryptfsInUse: Yes InstallationDate: Installed on 2016-10-25 (7 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) Package: mtpfs 1.1-5 PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.8.0-26.28-generic 4.8.0 Tags: yakkety Uname: Linux 4.8.0-26-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True
2016-11-01 21:11:47 ludo33200 attachment added Dependencies.txt https://bugs.launchpad.net/bugs/1638383/+attachment/4770739/+files/Dependencies.txt
2016-11-01 21:11:50 ludo33200 attachment added JournalErrors.txt https://bugs.launchpad.net/bugs/1638383/+attachment/4770740/+files/JournalErrors.txt
2016-11-01 21:11:51 ludo33200 attachment added ProcEnviron.txt https://bugs.launchpad.net/bugs/1638383/+attachment/4770741/+files/ProcEnviron.txt
2018-01-24 08:47:08 Launchpad Janitor mtpfs (Ubuntu): status New Confirmed