ubuntuusers.de

[UPDATE] MTP Unterstützung für KDE - Jetzt mit PPA

Status: Ungelöst | Ubuntu-Version: Nicht spezifiziert
Antworten |

Hefeweiz3n Team-Icon

Moderator, Webteam
Avatar von Hefeweiz3n

Anmeldungsdatum:
15. Juli 2006

Beiträge: 5814

Wohnort: Ankh-Morpork

In den letzten Wochen und Monaten hab ich mich, genervt von der „schwierigen“ Unterstützung von MTP unter Linux daran gemacht diese Situation bei meiner bevorzugten Desktopumgebung zu verbessern. In der Zwischenzeit waren auch andere nicht untätig, man denke nur an go-mtpfs, jmtpfs sowie das Gnome-Pendant zu meinem Projekt: gvfsd-mtp.

Die beiden ersten Lösungen basieren auf FUSE, letztere erweitert das Gnome VFS um die Möglichkeit von Nautilus aus direkt auf die Geräte zugreifen zu können ohne auf der Konsole irgendwelche fusemount-Befehle abzugeben. Gleiches mache ich, nur für KDE.

Der MTP KIO-Slave integriert also das mtp:/-Protokoll in Dolphin und Konqueror (bzw. allen Dateimanagern die KIO können) sowie allen KDE Anwendungen die dies unterstützen (z.B. KEdit/Kate, Gwenview). Unterstützung für die Geräte-Benachrichtigung gibts auch. Alex Fiestas, mein Ansprechpartner (und quasi Mentor 😀) hat sich um die Integration in Dolphin gekümmert. Diese Änderungen werden wohl sogar in KDE 4.9.2 oder 4.9.3 aufschlagen, man muss also nicht auf 4.10 warten. Für 4.10 versuchen wir auch den eigentlichen Slave in KDE zu integrieren so das man nichts mehr zusätzlich installieren muss.

Alex hat auch einen schönen Blogpost dazu geschrieben (inklusive Screencast).

Wie bekomme ich das Ding installiert?

UPDATE: Am einfachsten ist es, ihr nehmt das PPA. Mehr dazu in diesem Beitrag

Falls ihr kein Ubuntu benutzt oder es einfach lieber per Hand installiert müsst ihr ein paar benötigte Pakete installieren:

  • libmtp-dev

  • libqt4-dev

  • kdebase-workspace-dev

  • cmake

  • build-essential

  • git

Befehl zum Installieren der Pakete:

sudo apt-get install libmtp-dev libqt4-dev kdebase-workspace-dev cmake build-essential git 

Danach könnt ihr dann die git-Version installieren. In dem Verzeichnis wo ihr das Programm bauen wollt führt ihr folgendes aus:

git clone git://anongit.kde.org/kio-mtp
mkdir kio-mtp/build
cd kio-mtp/build
cmake -DCMAKE_INSTALL_PREFIX=$( kde4-config --prefix ) -DCMAKE_BUILD_TYPE=Debug ..
make
sudo make install

Wie nutze ich das Ding dann?

Wenn ihr ein MTP-Gerät einsteckt sollte eigentlich eine Benachrichtigung kommen das ein Tragbarer Medienspieler erkannt wurde. Da dann einfach auf "Mit Dateimanager öffnen" klicken. Alternativ in Dolphin unter "Netzwerk" nachsehen, da gibt es "MTP-Geräte" oder direkt mtp:/ in die Adresszeile von Dolphin eingeben.

Wie kann man dir helfen?

Indem ihr Fehler meldet (vorerst hier, der Bugtrackereintrag auf bugs.kde.org ist noch nicht eingerichtet, da wird aber grad gearbeitet). Fleißig testen, auch mit verschiedenen Geräten. Wenn etwas nicht klappt was es mit anderen Geräten aber tut müssen evtl. ein paar Checks rein und der Fehler an die Entwickler der libmtp gemeldet werden.

Also: Viel Spaß damit!

PS: Die KDE Projektseite findet ihr hier.

Hefeweiz3n Team-Icon

Moderator, Webteam
(Themenstarter)
Avatar von Hefeweiz3n

Anmeldungsdatum:
15. Juli 2006

Beiträge: 5814

Wohnort: Ankh-Morpork

So, dank des unermüdlichen Lasalls gibt es jetzt auch ein PPA:

Adresszeile zum Hinzufügen des PPAs:

  • ppa:philschmidt/ppa-kio-mtp-daily

Hinweis!

Zusätzliche Fremdquellen können das System gefährden.


Ein PPA unterstützt nicht zwangsläufig alle Ubuntu-Versionen. Weitere Informationen sind der

Ungültiges Makro

Dieses Makro ist nicht verfügbar

PPA-Beschreibung des Eigentümers/Teams philschmidt zu entnehmen.

Jetzt müsst ihr nur folgendes installieren:

  • kio-mtp

Befehl zum Installieren der Pakete:

sudo apt-get install kio-mtp 

Hefeweiz3n Team-Icon

Moderator, Webteam
(Themenstarter)
Avatar von Hefeweiz3n

Anmeldungsdatum:
15. Juli 2006

Beiträge: 5814

Wohnort: Ankh-Morpork

So, die Pakete sind jetzt fertig gebaut.

Noch ein paar Infos falls ihr auf Fehler stoßt:

  1. kdebugdialog --fullmode in KRunner ausführen

  2. Dort die Debug-Area 7000 (kio) auswählen und die Debug-Ausgabe auf die Shell leiten

  3. In einer Konsole kdeinit4 ausführen

  4. Operationen im Slave ausführen, in der Konsole wird die Debugging-Ausgabe durchlaufen

Mehr Infos gibt es zudem in KDE Techbase - Debugging KIO Slaves

Die Debug-Area die kio-mtp benutzt ist wie oben erwähnt die 7000, das wird sich in zukünftigen Versionen aber ändern.

wildwaldbiberhirte

Avatar von wildwaldbiberhirte

Anmeldungsdatum:
29. Dezember 2006

Beiträge: 309

Wohnort: München

Vielen Dank, funktioniert tadellos. Auch unter Debian, zur Information.

mue.de

Avatar von mue.de

Anmeldungsdatum:
15. April 2007

Beiträge: 212

Wohnort: 54346 Mehring

Hallo,

danke für den MTP KIO-Slave; leider funktioniert er bei mir aber nicht unter Kubuntu 12.04 mit dem Samsung Galaxy SII.

Ich habe den Softwarequellen das PPA hinzugefügt und daraus den kio-mtp installiert

deb http://ppa.launchpad.net/philschmidt/ppa-kio-mtp-daily/ubuntu precise main

Wählt man beim Anschließen des Handy's im aufkommenden Systemdialog 'Im Dateimanager öffnen', so wird im Dolphin das Samsung unter dem Protokoll Camera angezeigt (s. Bild); die Debugging-Meldungen in der Konsole:

muelux@muelux-LT70B-T61:~$ kdeinit4
kdeinit4: Shutting down running client.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
KDE Daemon (kded) already running.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
muelux@muelux-LT70B-T61:~$ QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

Wähle ich in der Adresszeile des Dolphin das Protokoll mtp:/, kommen folgende Meldungen:

kio_mtp(4854)/kio MTPSlave::MTPSlave: Slave started
kio_mtp(4854)/kio MTPSlave::listDir: "/"
kio_mtp(4854)/kio MTPSlave::checkUrl: KUrl("mtp:/")
kio_mtp(4854)/kio getRawDevices: getRawDevices()
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
kioslave: ####### CRASH ###### protocol = mtp pid = 4854 signal = 11

Wie komme ich da weiter ?

Bilder

mue.de

Avatar von mue.de

Anmeldungsdatum:
15. April 2007

Beiträge: 212

Wohnort: 54346 Mehring

Hallo,

hier ein weiterer Versuch:

Es gibt zwei Einträge für den Dolphin im der o.a. Systembenachrichtigung, einer in Deutsch, einer in Englisch: aktiviert man die englische Version 'Open with filemanager'

  • > so ergibt sich die Debug-Anzeige:

muelux@muelux-LT70B-T61:~$ kdeinit4
kdeinit4: Shutting down running client.
klauncher: Exiting on signal 15
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
KDE Daemon (kded) already running.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
muelux@muelux-LT70B-T61:~$ kio_mtp(10148)/kio MTPSlave::MTPSlave: Slave started
kio_mtp(10148)/kio MTPSlave::stat: "udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/"
kio_mtp(10148)/kio MTPSlave::checkUrl: KUrl("mtp:udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/")
kio_mtp(10148)/kio MTPSlave::checkUrl: udi =  "/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1"
kio_mtp(10148)/kio MTPSlave::checkUrl: UDI reports BUS/DEV: 2 / 2
kio_mtp(10148)/kio getRawDevices: getRawDevices()
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
kioslave: ####### CRASH ###### protocol = mtp pid = 10148 signal = 11

bas89

Anmeldungsdatum:
23. April 2006

Beiträge: 478

Erstmal möchte ich dir herzlichst danken. Endlich nimmt das jemand in die Hand. Großartig! Ich nutze den KIO-Slave unter Gentoo und kann ihn dort als kde-misc/kio-mtp Paket installieren. Es wurde bei mir folgender Commit (vom 30.11.12) installiert. Des weiteren ist die libmtp in Version 1.1.5 installiert. KDE ist in der Version 4.9.3 drauf.

1
2
3
4
5
6
GIT NEW clone -->
   repository:               git://anongit.kde.org/kio-mtp
   at the commit:            1e3963d46b214fdf3b10ba533bc3907d8c35bc6e
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/kio-mtp"
   checkout type:            bare repository

Als Gerät ist hier das neue Nexus 7 32GB+3G angesteckt. Jetzt zu meinen Beobachtungen:

  • Ich kann Dateien erstellen und auf das Gerät kopieren.

  • Es lassen sich jedoch keine Ordner erstellen. In Dolphin kommt eine Fehlermeldung, dass sich der Ordner nicht erstellen ließ. Ordner zu löschen ist möglich.

  • Kopiert man mehrere Bilder auf einmal auf das Gerät, erscheint nur und ausschließlich für das erste Bild eine Vorschau bei den neu erstellten Kopien auf dem Gerät. Einzeln passiert dies nicht. Die Bilder lassen sich jedoch prima in der Galerie betrachten und die Dateigrößen stimmen auch. Auch nach einem Abziehen und wieder Anstecken des Geräts werden jedoch von diesen in einem Schub kopierten Dateien keine Vorschauen gezeigt.

Ich erstelle gleich ein Debug-Log. Inzwischen fiel mir auf, dass manchmal ein Erstellen von Ordnern möglich ist. Hier ist das Log: kio-mtp

edit: Die Geschwindigkeit ist merklich größer als bei USB-Massenspeicher (auf meinem SGS2).

Patrick31698

Anmeldungsdatum:
6. Februar 2008

Beiträge: 676

Ich versuche gerade mein Glück mit einem LG 880.

Beim einstecken wird das Telefon als tragbarer Medienspielerangezeigt. Mit Dolphin kann ich dann auch auf die Dateien zugreifen / besser gesagt anschauen. Wenn ich was drauf kopieren will gibt das Handy Geräusche von sich. In Dolphin kriege ich die Meldung, das die Aktion durchgeführt wurde, was aber nicht der Fall ist.

Infos liefer ich gerne, wenn Du mir sagst was du brauchst und wie ich dran komme.

Lasall

Ehemalige
Avatar von Lasall

Anmeldungsdatum:
30. März 2010

Beiträge: 7723

Hi Patrick,

ich bin zwar nicht Hefe, aber zum Debuggen schaue weiter oben.

Gruss Lasall

Patrick31698

Anmeldungsdatum:
6. Februar 2008

Beiträge: 676

Im ersten Moment war die Anleitung für mich zu schwierig. Habs aber wohl hinbekommen:

patrick@patrick:~$ kdeinit4
kdeinit4: Shutting down running client.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
KDE Daemon (kded) already running.
kbuildsycoca4 running...
kbuildsycoca4(2312) VFolderMenu::loadDoc: Parse error in  "/home/patrick/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file" 
patrick@patrick:~$ Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
inep: usb_get_endpoint_status(): Das Gerät oder die Ressource ist belegt
Android device detected, assigning default bug flags
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags
Device 0 (VID=1004 and PID=631c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5PTP_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
Android device detected, assigning default bug flags

exile2

Anmeldungsdatum:
5. Juli 2010

Beiträge: 213

Wohnort: Ennepetal

Hefeweiz3n schrieb:

So, dank des unermüdlichen Lasalls gibt es jetzt auch ein PPA:

Adresszeile zum Hinzufügen des PPAs:

  • ppa:philschmidt/ppa-kio-mtp-daily

Hinweis!

Zusätzliche Fremdquellen können das System gefährden.


Ein PPA unterstützt nicht zwangsläufig alle Ubuntu-Versionen. Weitere Informationen sind der

Ungültiges Makro

Dieses Makro ist nicht verfügbar

PPA-Beschreibung des Eigentümers/Teams philschmidt zu entnehmen.

Jetzt müsst ihr nur folgendes installieren:

  • kio-mtp

Befehl zum Installieren der Pakete:

sudo apt-get install kio-mtp 

Super, vielen Dank!!

Nachdem ich mit dem Versuch, unter Dolphin auf das neue Galaxy Tab 2 zuzugreifen, bisher erfolglos war, hat kio-mtp endlich zum Erfolg geführt.

Nach dem Einstecken des Tabs erscheint nun in der Statusleiste unter der Meldung Tragbarer Medienspieler ein vierter Eintrag Mit Dateiverwaltung öffnen. Den angeklickt öffnet sich Dolphin und alles funktioniert nun wie gewohnt.

siyman

Anmeldungsdatum:
2. November 2007

Beiträge: 145

Wohnort: Leipzig

Großartige Sache! Rennt so, wie es soll - und ganze ohne go-mtp nutzen zu müssen ☺ Vielen herzlichen Dank!

Heinz-L-Mann

Anmeldungsdatum:
21. Januar 2008

Beiträge: 62

Wohnort: Bangkok

Ich bekomme eine Fehlermeldung "Der Prozess für das Protokoll mtp wurde unerwartet beendet" immer wenn ich eine Datei kopieren will/ansehen will.

Hefeweiz3n Team-Icon

Moderator, Webteam
(Themenstarter)
Avatar von Hefeweiz3n

Anmeldungsdatum:
15. Juli 2006

Beiträge: 5814

Wohnort: Ankh-Morpork

Hallo.

Zuerst einmal: Schön das es für so viele funktioniert. Dann: Entschuldigt bitte das ich hier lange nicht gepostet habe. Ich habe aber zwischenzeitlich von Jabber auf E-Mail Benachrichtigungen umgestellt und anscheinend wurde eine hiervon dadurch übergangen (oder ich habe sie nicht registriert, vermutlich die wahrscheinlichere Variante).

Zum Thema LG 880: Das sieht mir ganz so aus als hätte die libmtp so ihre lieben Probleme damit das Gerät zu erkennen. Die meisten Geräte benötigen spezielle Flags, deshalb solltest du das tun was da steht: Das Gerät dem libmtp-Team mitteilen. Dann evtl. mal testen ob es so mit der libmtp klappt (mtp-detect, mtp-sendfile, etc.).

Leider stürzt der Kio-Slave immer ab wenn auch die libmtp abstürzt. Daher die "Der Prozess wurde beendet"-Meldung. Ich hoffe das mit dem partiellen Rewrite die meisten dieser Abstürze behoben werden, der ist aber leider noch nicht so weit das ich ihn pushen könnte.

Mit dem N7 werde ich in Zukunft selber debuggen da ich inzwischen auch eins besitzt. Ich habe mir das Verhalten als Testfall mal notiert. Danke fürs melden!

In Zukunft aber bitte den Bugtracker nutzen wenn ihr Bugs habt die tatsächlich den Slave betreffen. Es gibt da inzwischen auch eine kio-mtp Komponente 😉.

exile2

Anmeldungsdatum:
5. Juli 2010

Beiträge: 213

Wohnort: Ennepetal

Heinz-L-Mann schrieb:

Ich bekomme eine Fehlermeldung "Der Prozess für das Protokoll mtp wurde unerwartet beendet" immer wenn ich eine Datei kopieren will/ansehen will.

Hallo,

nachdem ich mir mein System gestern geschossen hatte, mußte ich auf ein älteres Partitionsabbild zurückgreifen und es kam nach Installation der kio-mtp (s.o.) zu derselben Fehlermeldung, die Du beschreibst. Ich habe mir dann folgendermaßen geholfen - hier gilt natürlich wieder die Warnung vor den Fremdquellen:

sudo add-apt-repository ppa:webupd8team/unstable

Dann per Enter den Schlüssel implementiert. Danach:

sudo apt-get update && sudo apt-get install go-mtpfs

Danach lief's wieder! Ich hatte zwar noch einen Zwischenversuch, der war aber - scheinbar? - erfolglos. Bei Bedarf reiche ich den aber gern nach.

Viel Erfolg. 😉

Antworten |