Ошибка libmtp could not open source file


Я пытаюсь перенести файлы с телефона Android OnePlus X на мою довольно свежую версию Ubuntu 16.10. После подключения телефона (и просмотра файла, навигации по файловой системе и т. Д.) При попытке передачи файлов с телефона в систему Ubuntu появляется следующее сообщение об ошибке:

libmtp error:  Could not get file from device.

Что может быть не так? Я ранее установил libmtpserver-devи mtp-server.






Ответы:


  1. Установите эту зависимость для построения libmtp

    sudo apt-get install libusb-dev --install-suggests

  2. Получить libmtpздесь последние загрузки libmtp

  3. Извлеките файл, используя программу для просмотра файлов [или через терминал]

    tar xvf libmtp-1.1.1.tar.gz

  4. cd в новый каталог, который вы только что извлекли
  5. Настроить (УБЕДИТЕСЬ, ЧТО ВЫ НАХОДИТСЯ В /libmtp-*/DIR)

    ./configure --prefix=/usr
    make

  6. Установить (СНОВА, УБЕДИТЕСЬ, ЧТО ВЫ В ДИРЕКТОРЕ /libmtp-*/)

    sudo make install

  7. Скопируйте правила в /etc/udev/rules.d/(вы можете дважды проверить rules.d/каталог, чтобы увидеть, нужно ли копировать новый набор правил … это возможно)

    sudo cp 69-libmtp.rules /etc/udev/rules.d

  8. Установите gMTP GUI Util

    sudo apt-get install gmtp --install-suggests

  9. Откройте / запустите программу gmtp из меню или термина и наслаждайтесь!

ПРИМЕЧАНИЕ. При возникновении проблем может потребоваться отключить устройство. Или перезагрузите. Или обновить вещи … sudo apt-get updateи / илиsudo apt-get upgrade

Надеюсь, это поможет, если так, проголосуйте. Если понадобится дополнительная помощь, ударите меня, и я сделаю все, что смогу.







Ответ @ Anovative — это то, что сработало для меня.

Новый LG G6 не будет правильно монтироваться на Ubuntu 14.04.5. Это наполовину сработало; Я мог бы перемещаться по файловой структуре в моем телефоне. Получение файлов не сработало.

Детали ошибок часто были:

libmtp error: call to ptp_mtp_getobjectpropssupported() failed

или

libmtp error:  Could not get file from device

Скачанный libmtp-1.1.14, скомпилированный, установивший разделяемую библиотеку, должен был немного переделать, так что на новый .so указали, теперь все работает просто отлично.


Я пытаюсь перенести файлы с телефона Android OnePlus X на мою довольно свежую версию Ubuntu 16.10. После подключения телефона (и просмотра файла, навигации по файловой системе и т. Д.) При попытке передачи файлов с телефона в систему Ubuntu появляется следующее сообщение об ошибке:

libmtp error:  Could not get file from device.

Что может быть не так? Я ранее установил libmtpserver-devи mtp-server.






Ответы:


  1. Установите эту зависимость для построения libmtp

    sudo apt-get install libusb-dev --install-suggests

  2. Получить libmtpздесь последние загрузки libmtp

  3. Извлеките файл, используя программу для просмотра файлов [или через терминал]

    tar xvf libmtp-1.1.1.tar.gz

  4. cd в новый каталог, который вы только что извлекли
  5. Настроить (УБЕДИТЕСЬ, ЧТО ВЫ НАХОДИТСЯ В /libmtp-*/DIR)

    ./configure --prefix=/usr
    make

  6. Установить (СНОВА, УБЕДИТЕСЬ, ЧТО ВЫ В ДИРЕКТОРЕ /libmtp-*/)

    sudo make install

  7. Скопируйте правила в /etc/udev/rules.d/(вы можете дважды проверить rules.d/каталог, чтобы увидеть, нужно ли копировать новый набор правил … это возможно)

    sudo cp 69-libmtp.rules /etc/udev/rules.d

  8. Установите gMTP GUI Util

    sudo apt-get install gmtp --install-suggests

  9. Откройте / запустите программу gmtp из меню или термина и наслаждайтесь!

ПРИМЕЧАНИЕ. При возникновении проблем может потребоваться отключить устройство. Или перезагрузите. Или обновить вещи … sudo apt-get updateи / илиsudo apt-get upgrade

Надеюсь, это поможет, если так, проголосуйте. Если понадобится дополнительная помощь, ударите меня, и я сделаю все, что смогу.







Ответ @ Anovative — это то, что сработало для меня.

Новый LG G6 не будет правильно монтироваться на Ubuntu 14.04.5. Это наполовину сработало; Я мог бы перемещаться по файловой структуре в моем телефоне. Получение файлов не сработало.

Детали ошибок часто были:

libmtp error: call to ptp_mtp_getobjectpropssupported() failed

или

libmtp error:  Could not get file from device

Скачанный libmtp-1.1.14, скомпилированный, установивший разделяемую библиотеку, должен был немного переделать, так что на новый .so указали, теперь все работает просто отлично.

Я использую Ubuntu 18.04 LTS. Каждый раз, когда я пробую к скопировать/вставить содержанию с карты памяти моего телефона на базе Android, я получаю эту ошибку:

libmtp Error : Could not send object info.

Помогите мне решить это.

задан
11 September 2018 в 03:21

поделиться

2 ответа

Я не уверен, решили ли Вы это, но я столкнулся с теми же проблемами сегодня. Я пытался скопировать музыку в телефонную SD-карту своего Android, и я получил эту ошибку, когда имя файла песни, не тег, имело ‘недопустимые’ символы в нем. Я удалил апостроф и файл, скопированный. 05 До свидания 70’s.flac изменяются на 05 До свидания 70s.flac

Надеюсь, это поможет.

ответ дан Geoffrey Williams
2 December 2019 в 07:04

поделиться

Согласитесь с Geoffrey. Я врезался в ту же проблему с именем файла. Для меня ‘запрещенный символ был двоеточием ‘:’ символ. Именем файла, которое вызвало проблему, был ‘Диск 1 — 11 — Наркотический Комплект: 3 Kilos.ogg‘, переименовывая файл к ‘Диску 1 — 11 — Наркотический Комплект 3, Kilos.ogg‘ гарантировал, что файл мог быть скопирован.

Я использовал приложение ‘Файлов’, чтобы переименовать файл, щелкнуть правой кнопкой по имени файла и выбрать ‘переименовать’ опцию.

ответ дан yoshinori kawahara
2 December 2019 в 07:04

поделиться

Другие вопросы по тегам:

Похожие вопросы:

I am using Ubuntu 18.04 LTS. Whenever I try to copy/paste content from/to my Android phone’s memory card, I get this error:

libmtp Error : Could not send object info.

Please help me to solve this.

muru's user avatar

muru

191k52 gold badges468 silver badges719 bronze badges

asked Sep 10, 2018 at 18:07

yag tank's user avatar

I’m not sure if you have solved this but I came across the same issues today.
I was trying to copy music to my Android’s phone SD card and I got this error when the file name of the song, not the tag, had ‘illegal’ symbols in it. I removed the apostrophe and the file copied over.
05 Goodbye 70’s.flac change to 05 Goodbye 70s.flac

Hope this helps.

answered May 1, 2019 at 18:46

Geoffrey Williams's user avatar

1

Agree with Geoffrey. I bumped into the same problem with the filename. For me the ‘illegal character was the colon ‘:’ character. The filename which caused the problem was ‘Disc 1 — 11 — The Narcotic Suite: 3 Kilos.ogg‘, renaming the file to ‘Disc 1 — 11 — The Narcotic Suite 3 Kilos.ogg‘ ensured that the file could be copied.

I used the ‘Files’ app to rename the file, right-click on the filename and choose the ‘rename’ option.

answered May 20, 2019 at 13:06

yoshinori kawahara's user avatar

Other than the filename issue mentioned above, another possible reason is that the file to be copied is too big for the MTP device. For example, I get this error when I try to copy a 5GB movie to a SD card, which seems not accepting such large file.

answered May 22, 2021 at 14:48

user26742873's user avatar

Try compressing it and then copy-pasting it.
It worked when I tried copying ~11 GB zip file.

answered Apr 30, 2022 at 21:17

ZeZNiQ's user avatar

0

I solved this problem by removing all the 0000 embedded file .config files from the Android mobile.

Zanna's user avatar

Zanna

68.9k56 gold badges215 silver badges327 bronze badges

answered Nov 13, 2022 at 12:33

surya's user avatar


0

1

Собственно, пытаюсь копировать файлы с фунтреннего накопителя ведроида на стационарник. В ведроиде выбираю режим подключения «transfer files». В gvfs (thunar/pcmanfm) сабж монируется, и даже что-то копирует. Но работает эта связка крайне ненадёжно, особенно на больши=х файлах соединение постоянно отваливается с libmtp error: Could not get file from device.

Собственно, это в линаксе какая-то особо кривая библиотека для работы с телефонами или это ведроид кривой, или обе причины? И есть ли какие-то альтернативные способы оттуда файлы доставать, кроме ручного копирования их на внешнюю sdd?

I am attempting to transfer files from my OnePlus X Android phone to my fairly fresh Ubuntu 16.10 installation. After the phone is mounted (and I can see file, navigate the filesystem etc.), when I attempt to transfer files from the phone to the Ubuntu system, I am presented with the following error message:

libmtp error:  Could not get file from device.

What might be going wrong here? I have previously installed libmtpserver-dev and mtp-server.

muru's user avatar

muru

188k50 gold badges459 silver badges709 bronze badges

asked Feb 2, 2017 at 12:52

d3pd's user avatar

5

  1. Install this dependency to build libmtp

    sudo apt-get install libusb-dev --install-suggests

  2. Get the libmtp here libmtp Latest Download

  3. Extract the file using a file explorer program [or via the terminal]

    tar xvf libmtp-1.1.1.tar.gz

  4. cd into the new directory you just extracted
  5. Configure (MAKE SURE YOU’RE ARE IN THE /libmtp-*/ DIR)

    ./configure --prefix=/usr
    make

  6. Install (AGAIN, MAKE SURE YOU’RE IN THE /libmtp-*/ DIR)

    sudo make install

  7. Copy rules to /etc/udev/rules.d/ (you might wanna double check the rules.d/ dir to see if coping over the new set of rules is necessary … it probably is)

    sudo cp 69-libmtp.rules /etc/udev/rules.d

  8. Install the gMTP GUI Util

    sudo apt-get install gmtp --install-suggests

  9. Open/Run the gmtp program from the menu or term and enjoy!

NOTE: If you have issues you might need to disconnect the device. Or restart. Or update things… sudo apt-get update and/or sudo apt-get upgrade

Hope this helps, if so vote up. If more help is needed hit me up and I’ll do what I can.

answered Feb 24, 2017 at 20:49

Rockin4Life33's user avatar

7

@Anovative’s answer is what worked for me.

New LG G6 would not mount properly on Ubuntu 14.04.5. It half-worked; I could navigate the file structure in my phone. Retrieving files didn’t work though.

Error details were often:

libmtp error: call to ptp_mtp_getobjectpropssupported() failed

or

libmtp error:  Could not get file from device

Downloaded libmtp-1.1.14, compiled, installed the shared library, had to move things around a bit so the new .so was pointed at, now everything works just fine.

answered Nov 13, 2017 at 21:29

studog's user avatar

studogstudog

1911 silver badge5 bronze badges

I wanted to transfer photos, and had to switch usb connection mode from file to photo on my phone (Android 10).

tinlyx's user avatar

tinlyx

3,0545 gold badges33 silver badges53 bronze badges

answered Sep 26, 2020 at 16:17

Daniel's user avatar

I faced a problem because the filename has a Diamond character in the filename. Removing it the transfer worked. It seems the transfer had problem with filename containing unicode chars.

answered Feb 4, 2022 at 14:27

Sergio Abreu's user avatar

According to ArchWiki:

It seems that it is caused by file with name like
20180915_180351(0).jpg. Samsung phones for example like to create
files with such names.

answered Feb 21, 2022 at 9:18

giammi56's user avatar

  1. According to apt I have the latest version of libmtp on my Ubuntu 17.10 system

    When my tablet is plugged in and mounted:

    mtp-detect
    libmtp version: 1.1.13

    Listing raw device(s)
    Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
    Found 1 device(s):
    Samsung: Galaxy models (MTP) (04e8:6860) @ bus 1, dev 12
    Attempting to connect device(s)
    ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
    LIBMTP libusb: Attempt to reset device
    ignoring libusb_claim_interface() = -6LIBMTP PANIC: failed to open session on second attempt
    Unable to open raw device 0
    OK.

    If I try to unmount the device I get that one or more applications are keeping the interface busy. If I tell it to unmount anyway I get backend is currently unmounting.

    How do I copy files from my Android tablet to Linux?

    Following advice from other threads I tried installing sshdroid on my tablet and connecting to the server from FileZilla:

    Status: Connecting to 192.168.1.3:2222…
    Status: Connection established, waiting for welcome message…
    Response: SSH-2.0-dropbear_0.53.1
    Error: Cannot establish FTP connection to an SFTP server. Please select proper protocol.
    Error: Critical error: Could not connect to server

    Also the protocol requires a password. What is the password? My tablet is only protected by a pin.

    I have now tried to reverse the direction and run an FTP client on the Android tablet to access the FTP server on the Linux machine. I entered the same options into the Android FTP client that I use on my laptop on the same network but the request fails when I use the name of the server. I only succeed if I identify the server by its IP address rather than its name on the local network and use plain FTP.

    Last edited by 7-webmaster; February 22nd, 2018 at 12:07 AM.



Я пытаюсь перенести файлы с телефона Android OnePlus X на мою довольно свежую версию Ubuntu 16.10. После подключения телефона (и просмотра файла, навигации по файловой системе и т. Д.) При попытке передачи файлов с телефона в систему Ubuntu появляется следующее сообщение об ошибке:

libmtp error:  Could not get file from device.

Что может быть не так? Я ранее установил libmtpserver-devи mtp-server.






Ответы:


  1. Установите эту зависимость для построения libmtp

    sudo apt-get install libusb-dev --install-suggests

  2. Получить libmtpздесь последние загрузки libmtp

  3. Извлеките файл, используя программу для просмотра файлов [или через терминал]

    tar xvf libmtp-1.1.1.tar.gz

  4. cd в новый каталог, который вы только что извлекли
  5. Настроить (УБЕДИТЕСЬ, ЧТО ВЫ НАХОДИТСЯ В /libmtp-*/DIR)

    ./configure --prefix=/usr
    make

  6. Установить (СНОВА, УБЕДИТЕСЬ, ЧТО ВЫ В ДИРЕКТОРЕ /libmtp-*/)

    sudo make install

  7. Скопируйте правила в /etc/udev/rules.d/(вы можете дважды проверить rules.d/каталог, чтобы увидеть, нужно ли копировать новый набор правил … это возможно)

    sudo cp 69-libmtp.rules /etc/udev/rules.d

  8. Установите gMTP GUI Util

    sudo apt-get install gmtp --install-suggests

  9. Откройте / запустите программу gmtp из меню или термина и наслаждайтесь!

ПРИМЕЧАНИЕ. При возникновении проблем может потребоваться отключить устройство. Или перезагрузите. Или обновить вещи … sudo apt-get updateи / илиsudo apt-get upgrade

Надеюсь, это поможет, если так, проголосуйте. Если понадобится дополнительная помощь, ударите меня, и я сделаю все, что смогу.







Ответ @ Anovative — это то, что сработало для меня.

Новый LG G6 не будет правильно монтироваться на Ubuntu 14.04.5. Это наполовину сработало; Я мог бы перемещаться по файловой структуре в моем телефоне. Получение файлов не сработало.

Детали ошибок часто были:

libmtp error: call to ptp_mtp_getobjectpropssupported() failed

или

libmtp error:  Could not get file from device

Скачанный libmtp-1.1.14, скомпилированный, установивший разделяемую библиотеку, должен был немного переделать, так что на новый .so указали, теперь все работает просто отлично.

Я пытаюсь передать файлы от своего телефона на базе Android OnePlus X до моей довольно новой установки Ubuntu 16.10. После того, как телефон смонтирован (и я вижу файл, перемещаюсь по файловой системе и т.д.), когда я пытаюсь передать файлы от телефона до системы Ubuntu, мне дарят следующее сообщение об ошибке:

libmtp error:  Could not get file from device.

Что могло бы идти не так, как надо здесь? Я ранее установил libmtpserver-dev и mtp-server.

задан
2 February 2017 в 17:59

поделиться

3 ответа

  1. Установите эту зависимость для создания libmtp

    sudo apt-get install libusb-dev --install-suggests

  2. Доберитесь libmtp здесь libmtp Последняя Загрузка

  3. Извлеките файл с помощью программы файлового менеджера [или через терминал]

    tar xvf libmtp-1.1.1.tar.gz

  4. cd в новый каталог Вы просто извлекли
  5. Настройте (УДОСТОВЕРЬТЕСЬ, что ВЫ, НАХОДЯТСЯ В /libmtp-*/ DIR)

    ./configure --prefix=/usr make

  6. Установка (СНОВА, УДОСТОВЕРЬТЕСЬ, что ВЫ НАХОДИТЕСЬ В /libmtp-*/ DIR)

    sudo make install

  7. Копия управляет к /etc/udev/rules.d/ (Вы могли бы хотеть проверить дважды rules.d/ dir, чтобы видеть, необходимо ли привыкание по новому подшипнику… это, вероятно),

    sudo cp 69-libmtp.rules /etc/udev/rules.d

  8. Установите gMTP GUI Util

    sudo apt-get install gmtp --install-suggests

  9. Откройтесь/Выполните gmtp программу из меню или назовите и наслаждайтесь!

Примечание: Если у Вас есть проблемы, Вы, возможно, должны были бы отключить устройство. Или перезапуск. Или вещи обновления… sudo apt-get update и/или sudo apt-get upgrade

Надежда это помогает, раз так голосование. Если больше помощи необходимо, подбрасывает меня ударом, и я сделаю то, что я могу.

ответ дан Rockin4Life33
23 November 2019 в 04:09

поделиться

Ответ @Anovative — то, что работало на меня.

Новый LG G6 не смонтировался бы правильно на Ubuntu 14.04.5. Это полуработало; я мог переместиться по файловой структуре в своем телефоне. Получение файлов не работало все же.

Детали ошибки часто были:

libmtp error: call to ptp_mtp_getobjectpropssupported() failed

или

libmtp error:  Could not get file from device

Загруженный libmtp-1.1.14, скомпилированный, установил общую библиотеку, должен был переместить вещи немного, таким образом, на новый .so указали, теперь все работает просто великолепно.

ответ дан studog
23 November 2019 в 04:09

поделиться

Я хотел передать фотографии, и мне пришлось переключить режим подключения USB с файла на фотографию на моем телефоне (Android 10).

ответ дан Community
26 September 2020 в 16:17

поделиться

Другие вопросы по тегам:

Похожие вопросы:

Yes, but I am not entirely sure how to correctly reproduce this bug.

  • Attaching the unlocked phone to my PC, I am not able to browse the files on the phone (The phone appears in nautilus but the «eject» icon is missing and it appears to not be «mounted).
  • When I then lock the screen and unlock it again, I can browse the internal storage and the usd card and copy files. This however, does not work always.
  • When I attach a locked phone, the «eject» button appears in nautilus and when I unlock the phone, I can only browse the internal storage.
  • When I play around wildly with locking and unlocking and attaching and removing the phone, I can reach a state where I cannot access any storage on the phone. This might be related to the segfaults that I see in dmesg | tail on Ubuntu 17.10:
[31500.381142] usb 1-1: usbfs: process 27028 (pool) did not claim interface 0 before use [31500.499879] usb 1-1: reset high-speed USB device number 40 using xhci_hcd [31500.640932] usb 1-1: usbfs: process 27028 (pool) did not claim interface 0 before use [31500.759665] usb 1-1: reset high-speed USB device number 40 using xhci_hcd [31500.900365] usb 1-1: usbfs: process 27028 (pool) did not claim interface 0 before use [31501.019966] usb 1-1: reset high-speed USB device number 40 using xhci_hcd [31501.279691] usb 1-1: reset high-speed USB device number 40 using xhci_hcd [31501.421247] usb 1-1: usbfs: process 27012 (pool) did not claim interface 0 before use [31670.365297] usb 1-1: reset high-speed USB device number 40 using xhci_hcd [31674.486497] usb 1-1: USB disconnect, device number 40 [31681.777129] usb 1-1: new high-speed USB device number 41 using xhci_hcd [31681.917636] usb 1-1: New USB device found, idVendor=2a47, idProduct=2008 [31681.917642] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [31681.917646] usb 1-1: Product: Aquaris_E4.5 [31681.917650] usb 1-1: Manufacturer: BQ [31681.917653] usb 1-1: SerialNumber: JU00XXXX [31683.901372] usb 1-1: usbfs: process 27316 (pool) did not claim interface 0 before use [31684.021295] usb 1-1: reset high-speed USB device number 41 using xhci_hcd [31684.162371] usb 1-1: usbfs: process 27316 (pool) did not claim interface 0 before use [31684.281407] usb 1-1: reset high-speed USB device number 41 using xhci_hcd [31684.422299] usb 1-1: usbfs: process 27316 (pool) did not claim interface 0 before use [31684.541128] usb 1-1: reset high-speed USB device number 41 using xhci_hcd [31684.682192] usb 1-1: usbfs: process 27309 (pool) did not claim interface 0 before use [31684.682340] usb 1-1: usbfs: process 27316 (pool) did not claim interface 0 before use [31684.801467] usb 1-1: reset high-speed USB device number 41 using xhci_hcd [31853.478534] usb 1-1: reset high-speed USB device number 41 using xhci_hcd [31858.458725] usb 1-1: USB disconnect, device number 41 [31861.894144] usb 1-1: new high-speed USB device number 42 using xhci_hcd [31862.035077] usb 1-1: New USB device found, idVendor=2a47, idProduct=2008 [31862.035083] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [31862.035087] usb 1-1: Product: Aquaris_E4.5 [31862.035091] usb 1-1: Manufacturer: BQ [31862.035094] usb 1-1: SerialNumber: JU00XXXX [31863.369027] usb 1-1: usbfs: process 27514 (pool) did not claim interface 0 before use [31863.546642] usb 1-1: reset high-speed USB device number 42 using xhci_hcd [31863.687582] usb 1-1: usbfs: process 27514 (pool) did not claim interface 0 before use [31863.806649] usb 1-1: reset high-speed USB device number 42 using xhci_hcd [31863.947717] usb 1-1: usbfs: process 27514 (pool) did not claim interface 0 before use [31864.066544] usb 1-1: reset high-speed USB device number 42 using xhci_hcd [31864.207341] usb 1-1: usbfs: process 27505 (pool) did not claim interface 0 before use [31864.326420] usb 1-1: reset high-speed USB device number 42 using xhci_hcd [31864.467281] usb 1-1: usbfs: process 27505 (pool) did not claim interface 0 before use [31888.925098] usb 1-1: USB disconnect, device number 42 [31888.941770] gvfsd-mtp[27510]: segfault at 18 ip 00007fccaed6c5a9 sp 00007ffcd5e55e70 error 4 in libgvfsdaemon.so[7fccaed60000+24000] [31892.393704] usb 1-1: new high-speed USB device number 43 using xhci_hcd [31892.534290] usb 1-1: New USB device found, idVendor=2a47, idProduct=2008 [31892.534296] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [31892.534301] usb 1-1: Product: Aquaris_E4.5 [31892.534305] usb 1-1: Manufacturer: BQ [31892.534308] usb 1-1: SerialNumber: JU00XXXX [32016.488992] usb 1-1: USB disconnect, device number 43 [32035.467261] usb 1-1: new high-speed USB device number 44 using xhci_hcd [32035.607953] usb 1-1: New USB device found, idVendor=2a47, idProduct=2008 [32035.607958] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [32035.607962] usb 1-1: Product: Aquaris_E4.5 [32035.607965] usb 1-1: Manufacturer: BQ [32035.607969] usb 1-1: SerialNumber: JU00XXXX [32041.606763] usb 1-1: usbfs: process 27729 (pool) did not claim interface 0 before use [32041.783426] usb 1-1: reset high-speed USB device number 44 using xhci_hcd [32041.924531] usb 1-1: usbfs: process 27729 (pool) did not claim interface 0 before use [32042.047368] usb 1-1: reset high-speed USB device number 44 using xhci_hcd [32042.188419] usb 1-1: usbfs: process 27729 (pool) did not claim interface 0 before use [32042.307311] usb 1-1: reset high-speed USB device number 44 using xhci_hcd [32042.567492] usb 1-1: reset high-speed USB device number 44 using xhci_hcd [32042.708813] usb 1-1: usbfs: process 27708 (pool) did not claim interface 0 before use [32045.388636] usb 1-1: USB disconnect, device number 44 [32045.395847] gvfsd-mtp[27725]: segfault at 18 ip 00007efd944ec5a9 sp 00007ffd9b397330 error 4 in libgvfsdaemon.so[7efd944e0000+24000] [32049.019112] usb 1-1: new high-speed USB device number 45 using xhci_hcd [32049.159867] usb 1-1: New USB device found, idVendor=2a47, idProduct=2008 [32049.159873] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [32049.159877] usb 1-1: Product: Aquaris_E4.5 [32049.159881] usb 1-1: Manufacturer: BQ [32049.159884] usb 1-1: SerialNumber: JU00XXXX [32053.583924] usb 1-1: usbfs: process 27757 (pool) did not claim interface 0 before use [32053.703170] usb 1-1: reset high-speed USB device number 45 using xhci_hcd [32053.844070] usb 1-1: usbfs: process 27757 (pool) did not claim interface 0 before use [32053.963148] usb 1-1: reset high-speed USB device number 45 using xhci_hcd [32054.223369] usb 1-1: reset high-speed USB device number 45 using xhci_hcd [32054.363998] usb 1-1: usbfs: process 27749 (pool) did not claim interface 0 before use [32054.364156] usb 1-1: usbfs: process 27757 (pool) did not claim interface 0 before use [32054.483212] usb 1-1: reset high-speed USB device number 45 using xhci_hcd [32056.740018] usb 1-1: USB disconnect, device number 45 [32056.748308] gvfsd-mtp[27745]: segfault at 18 ip 00007f8de0b675a9 sp 00007ffebc2269f0 error 4 in libgvfsdaemon.so[7f8de0b5b000+24000] [32060.478832] usb 1-1: new high-speed USB device number 46 using xhci_hcd [32060.619430] usb 1-1: New USB device found, idVendor=2a47, idProduct=2008 [32060.619436] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [32060.619440] usb 1-1: Product: Aquaris_E4.5 [32060.619443] usb 1-1: Manufacturer: BQ [32060.619446] usb 1-1: SerialNumber: JU00XXXX [32069.680975] usb 1-1: usbfs: process 27793 (pool) did not claim interface 0 before use [32069.799042] usb 1-1: reset high-speed USB device number 46 using xhci_hcd [32069.940046] usb 1-1: usbfs: process 27793 (pool) did not claim interface 0 before use [32070.058905] usb 1-1: reset high-speed USB device number 46 using xhci_hcd [32070.199728] usb 1-1: usbfs: process 27793 (pool) did not claim interface 0 before use [32070.318953] usb 1-1: reset high-speed USB device number 46 using xhci_hcd [32070.579048] usb 1-1: reset high-speed USB device number 46 using xhci_hcd [32070.720264] usb 1-1: usbfs: process 27784 (pool) did not claim interface 0 before use [32402.700846] usb 1-1: reset high-speed USB device number 46 using xhci_hcd [32415.906604] usb 1-1: USB disconnect, device number 46 [32419.756300] usb 1-1: new high-speed USB device number 47 using xhci_hcd [32419.897129] usb 1-1: New USB device found, idVendor=2a47, idProduct=2008 [32419.897153] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [32419.897158] usb 1-1: Product: Aquaris_E4.5 [32419.897162] usb 1-1: Manufacturer: BQ [32419.897166] usb 1-1: SerialNumber: JU00XXXX [32422.886323] usb 1-1: usbfs: process 28055 (pool) did not claim interface 0 before use [32423.004510] usb 1-1: reset high-speed USB device number 47 using xhci_hcd [32423.145263] usb 1-1: usbfs: process 28055 (pool) did not claim interface 0 before use [32423.264606] usb 1-1: reset high-speed USB device number 47 using xhci_hcd [32423.524466] usb 1-1: reset high-speed USB device number 47 using xhci_hcd [32423.665353] usb 1-1: usbfs: process 28046 (pool) did not claim interface 0 before use [32423.665568] usb 1-1: usbfs: process 28055 (pool) did not claim interface 0 before use [32423.784478] usb 1-1: reset high-speed USB device number 47 using xhci_hcd [32432.541776] usb 1-1: usbfs: process 28066 (pool) did not claim interface 0 before use [32432.660440] usb 1-1: reset high-speed USB device number 47 using xhci_hcd [32432.801632] usb 1-1: usbfs: process 28066 (pool) did not claim interface 0 before use [32432.920451] usb 1-1: reset high-speed USB device number 47 using xhci_hcd [32434.272866] usb 1-1: USB disconnect, device number 47 [32434.293241] gvfsd-mtp[28062]: segfault at 18 ip 00007f72798715a9 sp 00007fff54fa26b0 error 4 in libgvfsdaemon.so[7f7279865000+24000] [32439.739845] usb 1-1: new high-speed USB device number 48 using xhci_hcd [32439.880644] usb 1-1: New USB device found, idVendor=2a47, idProduct=2008 [32439.880650] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [32439.880654] usb 1-1: Product: Aquaris_E4.5 [32439.880657] usb 1-1: Manufacturer: BQ [32439.880660] usb 1-1: SerialNumber: JU00XXXX [32525.262387] usb 1-1: reset high-speed USB device number 48 using xhci_hcd [32526.944768] usb 1-1: USB disconnect, device number 48 [32566.837479] usb 1-1: new high-speed USB device number 49 using xhci_hcd [32566.978311] usb 1-1: New USB device found, idVendor=2a47, idProduct=2008 [32566.978317] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [32566.978321] usb 1-1: Product: Aquaris_E4.5 [32566.978324] usb 1-1: Manufacturer: BQ [32566.978328] usb 1-1: SerialNumber: JU00XXXX [32568.797503] usb 1-1: usbfs: process 28232 (pool) did not claim interface 0 before use [32568.917723] usb 1-1: reset high-speed USB device number 49 using xhci_hcd [32569.058653] usb 1-1: usbfs: process 28232 (pool) did not claim interface 0 before use [32569.177826] usb 1-1: reset high-speed USB device number 49 using xhci_hcd [32569.318477] usb 1-1: usbfs: process 28232 (pool) did not claim interface 0 before use [32569.437595] usb 1-1: reset high-speed USB device number 49 using xhci_hcd [32569.578110] usb 1-1: usbfs: process 28223 (pool) did not claim interface 0 before use [32569.697792] usb 1-1: reset high-speed USB device number 49 using xhci_hcd [32569.838501] usb 1-1: usbfs: process 28223 (pool) did not claim interface 0 before use 

hello,

before opening a bug on the ubuntu package, I’d like to investigate the probleme the source.

When I connect a Motorola XT1524, it’s correctly recognized, but file transfer behaves erratically.

Sometimes files are transferred from the device to the PC, most of the times not.

I only receive this error:

libmtp error: Could not get file from device

Is there a way to see more detail so I can provide more debug log?

Ubuntu 18.04 ships with libmtp 1.1.13. I’ve also manually compiled libmtp 1.1.15 and with both version I have the same errors on mtp-connect and mpt-detect (not sure if related):

$ /usr/local/bin/mtp-detect
libmtp version: 1.1.15

Listing raw device(s)
Device 0 (VID=22b8 and PID=002e) is a Motorola XT1524 (MTP).
Found 1 device(s):
Motorola: XT1524 (MTP) (22b8:002e) @ bus 1, dev 7
Attempting to connect device(s)
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
ignoring libusb_claim_interface() = -6LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.

$ /usr/local/bin/mtp-connect
libmtp version: 1.1.15

Device 0 (VID=22b8 and PID=002e) is a Motorola XT1524 (MTP).
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
ignoring libusb_claim_interface() = -6LIBMTP PANIC: failed to open session on second attempt
No devices.

Is there a way I can provide more feedback? What can it be the problem?

thanks

When trying to transfer my project data back to my Ubuntu 20.x I get the error "libmtp-Fehler: Could not get file from device".
I already tried several things, like this and others that I get from a Google search.

Is there any hint from your side towards this problem? I use QField 2.0.15 at the moment.

Kadir Şahbaz's user avatar

Kadir Şahbaz

63.5k49 gold badges189 silver badges302 bronze badges

asked Apr 20, 2022 at 19:58

rusch's user avatar

Are you using the QField private folder? that might be related, but I’m not sure.

Due to new google policies we, unfortunately, had to remove some storage access functionalities and use the QField private folder. This folder is only available to QField. the next QField version will have even better import/export functionality.

you can find many more details here: https://www.opengis.ch/qfield-storage

answered Apr 22, 2022 at 21:12

mbernasocchi's user avatar

2

Я использую Ubuntu 18.04 LTS. Каждый раз, когда я пробую к скопировать/вставить содержанию с карты памяти моего телефона на базе Android, я получаю эту ошибку:

libmtp Error : Could not send object info.

Помогите мне решить это.

задан
11 September 2018 в 03:21

поделиться

2 ответа

Я не уверен, решили ли Вы это, но я столкнулся с теми же проблемами сегодня. Я пытался скопировать музыку в телефонную SD-карту своего Android, и я получил эту ошибку, когда имя файла песни, не тег, имело ‘недопустимые’ символы в нем. Я удалил апостроф и файл, скопированный. 05 До свидания 70’s.flac изменяются на 05 До свидания 70s.flac

Надеюсь, это поможет.

ответ дан Geoffrey Williams
2 December 2019 в 07:04

поделиться

Согласитесь с Geoffrey. Я врезался в ту же проблему с именем файла. Для меня ‘запрещенный символ был двоеточием ‘:’ символ. Именем файла, которое вызвало проблему, был ‘Диск 1 — 11 — Наркотический Комплект: 3 Kilos.ogg‘, переименовывая файл к ‘Диску 1 — 11 — Наркотический Комплект 3, Kilos.ogg‘ гарантировал, что файл мог быть скопирован.

Я использовал приложение ‘Файлов’, чтобы переименовать файл, щелкнуть правой кнопкой по имени файла и выбрать ‘переименовать’ опцию.

ответ дан yoshinori kawahara
2 December 2019 в 07:04

поделиться

Другие вопросы по тегам:

Похожие вопросы:

I am attempting to transfer files from my OnePlus X Android phone to my fairly fresh Ubuntu 16.10 installation. After the phone is mounted (and I can see file, navigate the filesystem etc.), when I attempt to transfer files from the phone to the Ubuntu system, I am presented with the following error message:

libmtp error:  Could not get file from device.

What might be going wrong here? I have previously installed libmtpserver-dev and mtp-server.

muru's user avatar

muru

192k52 gold badges468 silver badges719 bronze badges

asked Feb 2, 2017 at 12:52

d3pd's user avatar

5

  1. Install this dependency to build libmtp

    sudo apt-get install libusb-dev --install-suggests

  2. Get the libmtp here libmtp Latest Download

  3. Extract the file using a file explorer program [or via the terminal]

    tar xvf libmtp-1.1.1.tar.gz

  4. cd into the new directory you just extracted
  5. Configure (MAKE SURE YOU’RE ARE IN THE /libmtp-*/ DIR)

    ./configure --prefix=/usr
    make

  6. Install (AGAIN, MAKE SURE YOU’RE IN THE /libmtp-*/ DIR)

    sudo make install

  7. Copy rules to /etc/udev/rules.d/ (you might wanna double check the rules.d/ dir to see if coping over the new set of rules is necessary … it probably is)

    sudo cp 69-libmtp.rules /etc/udev/rules.d

  8. Install the gMTP GUI Util

    sudo apt-get install gmtp --install-suggests

  9. Open/Run the gmtp program from the menu or term and enjoy!

NOTE: If you have issues you might need to disconnect the device. Or restart. Or update things… sudo apt-get update and/or sudo apt-get upgrade

Hope this helps, if so vote up. If more help is needed hit me up and I’ll do what I can.

answered Feb 24, 2017 at 20:49

Rockin4Life33's user avatar

7

I faced a problem because the filename has a Diamond character in the filename. Removing it the transfer worked. It seems the transfer had problem with filename containing unicode chars.

answered Feb 4, 2022 at 14:27

Sergio Abreu's user avatar

@Anovative’s answer is what worked for me.

New LG G6 would not mount properly on Ubuntu 14.04.5. It half-worked; I could navigate the file structure in my phone. Retrieving files didn’t work though.

Error details were often:

libmtp error: call to ptp_mtp_getobjectpropssupported() failed

or

libmtp error:  Could not get file from device

Downloaded libmtp-1.1.14, compiled, installed the shared library, had to move things around a bit so the new .so was pointed at, now everything works just fine.

answered Nov 13, 2017 at 21:29

studog's user avatar

studogstudog

1911 silver badge5 bronze badges

I wanted to transfer photos, and had to switch usb connection mode from file to photo on my phone (Android 10).

tinlyx's user avatar

tinlyx

3,1026 gold badges34 silver badges53 bronze badges

answered Sep 26, 2020 at 16:17

Daniel's user avatar

According to ArchWiki:

It seems that it is caused by file with name like
20180915_180351(0).jpg. Samsung phones for example like to create
files with such names.

answered Feb 21, 2022 at 9:18

giammi56's user avatar

Ответ @Anovative — это то, что сработало для меня.

Новый LG G6 не будет правильно монтироваться на Ubuntu 14.04.5. Это наполовину сработало; Я мог бы перемещаться по файловой структуре в моем телефоне. Получение файлов не сработало.

Подробности ошибок часто были:

libmtp error: call to ptp_mtp_getobjectpropssupported() failed

или же

libmtp error:  Could not get file from device

Скачанный libmtp-1.1.14, скомпилированный, установивший разделяемую библиотеку, должен был немного переделать, так что на новый.so указали, теперь все работает просто отлично.

Понравилась статья? Поделить с друзьями:
  • Ошибка libmtp could not get file from device
  • Ошибка lexus is 250 check vsc
  • Ошибка levenberg sea of thieves
  • Ошибка length 1 index 1
  • Ошибка lei на стиральной машине samsung как исправить ошибку