Freddie_Faulig
Anmeldungsdatum: 20. November 2007
Beiträge: 25
|
@ Hafeweiz3en Ich habe ein Xperia U Falls du irgendwelche weiteren Infos in Richtung debugging brauchst, sag bescheid was.
|
petrakrueger
Anmeldungsdatum: 22. Februar 2008
Beiträge: 60
Wohnort: 127.0.0.1
|
Hallo Hefeweiz3n, nach soviel Bastelei mit *mtp*-Geschichten hätte ich nicht erwartet, nach 2 min "Arbeit" mein Phone nutzen zu können.
Die Lösung funktioniert auch noch mit einem Debian Testing (jessie November 2013) mit KDE 4.10.
Ich habe ein Nexus4, wie meine (fast) bessere Hälfte.
Er verlinkt diesen Thread zum debianforum.de Vielen Dank! Petra
|
EureDudeheit
Anmeldungsdatum: 19. November 2007
Beiträge: 231
Wohnort: /home
|
Hefeweiz3n schrieb: So, die Pakete sind jetzt fertig gebaut. Noch ein paar Infos falls ihr auf Fehler stoßt: kdebugdialog --fullmode in KRunner ausführen Dort die Debug-Area 7000 (kio) auswählen und die Debug-Ausgabe auf die Shell leiten In einer Konsole kdeinit4 ausführen 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.
Das habe ich gemacht. Dolphin wirft nach ~30s die Fehlermeldung Unbekannter Fehlercode 150
Falsche Parameter digiKam 3.3.0 will auch nicht ☹ mtp:// in der Adressleiste von Dolphin zeigt auch nichts an. Hier die debug-ausgabe: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87 | 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...
kbuildsycoca4(26866) VFolderMenu::loadDoc: Parse error in "/home/felix/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line 1 , col 1 : "unexpected end of file"
kbuildsycoca4(26866) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/jdownloader.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(26866) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/im-switch.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(26866) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/avidemux-gtk.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(26866) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/avidemux-gtk.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(26866) KConfigGroup::readXdgListEntry: List entry Keywords in "/usr/share/applications/firefox.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(26866) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/fceu.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(26866) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/fceu.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(26866) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde4/bluedevil-network-panu.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(26866) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde4/bluedevil-network-dun.desktop" is not compliant with XDG standard (missing trailing semicolon).
felix@vostro:~/mtp/kio-mtp/build$ QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
QProcess: Destroyed while process is still running.
kio_kamera(27088)/kio (kioslave) KIO::SlaveBase::finished: finished() called after error()! Please fix the KIO slave.
kio_kamera(27088)/kio (kioslave) KIO::SlaveBase::finished: finished() called after error()! Please fix the KIO slave.
kio_kamera(27088)/kio (kioslave) KIO::SlaveBase::finished: finished() called after error()! Please fix the KIO slave.
kio_kamera(27088)/kio (kioslave) KIO::SlaveBase::finished: finished() called after error()! Please fix the KIO slave.
kio_kamera(27088)/kio (kioslave) KIO::SlaveBase::error: error() called twice! Please fix the KIO slave.
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
kio_mtp(28720)/kio MTPSlave::MTPSlave: Slave started
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
kio_mtp(28720)/kio DeviceCache::checkDevice: new device, getting raw devices
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
kio_mtp(28720)/kio DeviceCache::checkDevice: No Error, continuing
kio_mtp(28720)/kio DeviceCache::checkDevice: Found device matching the Solid description
kio_mtp(28933)/kio MTPSlave::MTPSlave: Slave started
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
kio_mtp(28933)/kio DeviceCache::checkDevice: new device, getting raw devices
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
kio_mtp(28933)/kio DeviceCache::checkDevice: No Error, continuing
kio_mtp(28933)/kio DeviceCache::checkDevice: Found device matching the Solid description
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
PTP_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
outep: usb_get_endpoint_status(): Das Gerät oder die Ressource ist belegt
usb_clear_halt() on IN endpoint: Das Gerät oder die Ressource ist belegt
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5LIBMTP PANIC: failed to open session on second attempt
kioslave: ####### CRASH ###### protocol = mtp pid = 28933 signal = 11
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
kio_mtp(29272)/kio MTPSlave::MTPSlave: Slave started
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
kio_mtp(29272)/kio DeviceCache::checkDevice: new device, getting raw devices
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
kio_mtp(29272)/kio DeviceCache::checkDevice: No Error, continuing
kio_mtp(29272)/kio DeviceCache::checkDevice: Found device matching the Solid description
kio_mtp(29311)/kio MTPSlave::MTPSlave: Slave started
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
kio_mtp(29311)/kio DeviceCache::checkDevice: new device, getting raw devices
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
kio_mtp(29311)/kio DeviceCache::checkDevice: No Error, continuing
kio_mtp(29311)/kio DeviceCache::checkDevice: Found device matching the Solid description
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
PTP_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
outep: usb_get_endpoint_status(): Das Gerät oder die Ressource ist belegt
usb_clear_halt() on IN endpoint: Das Gerät oder die Ressource ist belegt
ignoring usb_claim_interface = -6ignoring usb_claim_interface = -5LIBMTP PANIC: failed to open session on second attempt
kioslave: ####### CRASH ###### protocol = mtp pid = 29311 signal = 11
|
Mein Gerät ist ein Samsung Galaxy S3 mit Android 4.3 Ich habe schon einiges rumgebastelt. Mittlerweile tummeln sich folgende Pakete auf meinem Rechner: | ii kio-mtp 0.75+git20130930-0ubuntu1~ppa1 access to MTP devices for applications using the KDE Platform
ii libmtp-common 1.1.3-1ubuntu0.1 Media Transfer Protocol (MTP) common files
ii libmtp-dev 1.1.3-1ubuntu0.1 Media Transfer Protocol (MTP) development files
ii libmtp-runtime 1.1.3-1ubuntu0.1 Media Transfer Protocol (MTP) runtime tools
ii libmtp9 1.1.3-1ubuntu0.1 Media Transfer Protocol (MTP) library
ii mtp-tools 1.1.3-1ubuntu0.1 Media Transfer Protocol (MTP) library tools
ii mtpfs 0.9-3build1 FUSE filesystem for Media Transfer Protocol devices
|
Wenn ich in der Geräteüberwachung mit Dateiverwaltung öffnen anklicke, wird der Prozess unerwartet beendet.
Hier mal die debug-Ausgabe dazu: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 | kdeinit4: Shutting down running client.
klauncher: Exiting on signal 15
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
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...
kbuildsycoca4(3404) VFolderMenu::loadDoc: Parse error in "/home/felix/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line 1 , col 1 : "unexpected end of file"
kbuildsycoca4(3404) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/jdownloader.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3404) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/im-switch.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3404) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/avidemux-gtk.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3404) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/avidemux-gtk.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3404) KConfigGroup::readXdgListEntry: List entry Keywords in "/usr/share/applications/firefox.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3404) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/fceu.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3404) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/fceu.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3404) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde4/bluedevil-network-panu.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3404) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde4/bluedevil-network-dun.desktop" is not compliant with XDG standard (missing trailing semicolon).
felix@vostro:~/mtp/kio-mtp/build$ kio_mtp(3570)/kio MTPSlave::MTPSlave: Slave started
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
kio_mtp(3570)/kio DeviceCache::checkDevice: new device, getting raw devices
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
kio_mtp(3570)/kio DeviceCache::checkDevice: No Error, continuing
kio_mtp(3570)/kio DeviceCache::checkDevice: Found device matching the Solid description
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 = 3570 signal = 11
|
|
mue.de
Anmeldungsdatum: 15. April 2007
Beiträge: 212
Wohnort: 54346 Mehring
|
Hallo EureDudeheit, Deine Fehlermeldungen kommen mir bekannt vor, siehe: http://forum.ubuntuusers.de/post/4969517/.
Leider habe ich bisher nur einen Ausweg, aber keine Lösung gefunden; ich nutze AirDroid als Android-App statt des kio-mtp.
|
Hefeweiz3n
Moderator, Webteam
(Themenstarter)
Anmeldungsdatum: 15. Juli 2006
Beiträge: 5813
Wohnort: Ankh-Morpork
|
Samsung Geräte haben einen wenig Fehlertolerant implementierten MTP-Stack (Samsung hat was eigenes und nicht den von Google bereitgestellten). Dieser erwartet eine, und zwar wirklich nur genau eine einzige Verbindung vom Rechner zum Gerät. Wird eine zweite Verbindung aufgebaut schmiert der Stack ab und kann nur durch ein Abstöpseln und wieder Anstecken resettet werden. Unter Windows ist diese Annahme valide, da dort noch eine Abstraktionsschicht zwischen den Programmen und dem Zugriff auf das Gerät via MTP sitzt. Leider ist dies unter Linux nicht der Fall. Da unter KDE aber der Device-Manager kurz kio-mtp aufruft um zu gucken was für ein Gerät das ist und danach dann Dolphin auch eine Instanz startet (Kann man leider nicht unterbinden, ich habe es versucht) anstatt die alte wiederzuverwenden, funktionieren Samsung-Geräte halt einfach pauschal sehr schlecht bis gar nicht. Eigentlich habe ich ein Projekt was das Problem angeht, aber aktuell keine Zeit daran zu arbeiten, da Arbeit und andere Sachen in meinem Leben mir aktuell mehr Spaß machen bzw. mir wichtiger sind und es bei mir mit meinen Nexus-Geräten ja funktioniert.
|
wasa-bread
Anmeldungsdatum: 30. März 2008
Beiträge: 423
|
Ich benutze Linux Mint. Diese Zeile hat mir geholfen:
sudo apt-get install libmtp-dev libqt4-dev kdebase-workspace-dev cmake build-essential git Danke.
|
schnellie
Anmeldungsdatum: 14. September 2006
Beiträge: 70
Wohnort: Hamburg
|
Danke Wasa! Das ist meine Rettung! Bei mir unter kubuntu 14.04.5 funktioniert es damit!
wasa-bread schrieb: sudo apt-get install libmtp-dev libqt4-dev kdebase-workspace-dev cmake build-essential git
|