This forum has been archived. All content is frozen. Please use KDE Discuss instead.

SonyEricsson U5i and camera importer

Tags: None
(comma "," separated)
molostoff
Registered Member
Posts
6
Karma
0

SonyEricsson U5i and camera importer

Thu Nov 28, 2013 12:40 pm
Can not see any file/folder in importer dialog - no tree, no files with SonyEricsson U5i (e.g. Symbian 9.4 with Gwenview 4.11.3 / KDE 4.11.3 on Ubuntu 12.04.3 LTS)

Could any help?
User avatar
agateau
Moderator
Posts
97
Karma
0
OS
Hi Molostoff,

Can you see the folders with Dolphin? If so can you post a screenshot of the tree?
molostoff
Registered Member
Posts
6
Karma
0
agateau wrote:Hi Molostoff,

Can you see the folders with Dolphin? If so can you post a screenshot of the tree?


1) with plasma usb tray icon widget - dolphin button opens home folder (/home/user), so just with obvious options I can not see camera contents

2) if I open dolphin manually, and set path to 'camera:/' then I see the following:

http://postimg.org/image/ipyox7wi5/

have ho idea what does this mean, but seems these folders are shown as empty, while it is not really true - camera is full of images.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The camera:/ protocol is an implementation of PTP - a common mechanism used to access cameras. This explains why Gwenview is unable to see any images. Please check the settings on your camera to verify the correct storage device is being made available (some will only make either internal or external storage available - and in most cases you are saving images to the external storage).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
molostoff
Registered Member
Posts
6
Karma
0
bcooksley wrote:The camera:/ protocol is an implementation of PTP - a common mechanism used to access cameras. This explains why Gwenview is unable to see any images. Please check the settings on your camera to verify the correct storage device is being made available (some will only make either internal or external storage available - and in most cases you are saving images to the external storage).


this explains nothing to me, man.

here below is the contents of summary.txt from camera:/ URL, as you can see both sources of data are presented (card and phone), so your supposition is not correct. Also, phone has no settings to store images on card or on phone (I dont know why, perhaps all computer guys became clever enough)

Code: Select all
Производитель: SonyEricsson
Модель: U5
  Версия: 01
  Серийный номер: 359387031267733
Vendor Extension ID: 0x6 (1.0)
Vendor Extension Description: microsoft.com:1.0;microsoft.com/WMPPD: 11.0;vodafone.com/omadrmv2: 1.0

Capture Formats: MP3 AAC
Display Formats: Undefined Type, Association/Directory, AAC, MP4, MP3, 3GP, Unknown(b004), MP4, WMA, ASF, WMV, M3U Playlist, Abstract Audio Video Playlist, MS Wave
Supported MTP Object Properties:
   Undefined Type/3000: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified
   Association/Directory/3001: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified
   AAC/b903: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified dc46/Artist dc8b/Track dc9a/AlbumName dc91/UseCount dc99/OriginalReleaseDate dc89/Duration dc9d/DRMStatus db01/unknown(db01)
   MP4/b982: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified dc46/Artist dc8b/Track dc9a/AlbumName dc91/UseCount dc99/OriginalReleaseDate dc89/Duration dc9d/DRMStatus db01/unknown(db01)
   MP3/3009: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified dc46/Artist dc8b/Track dc9a/AlbumName dc91/UseCount dc99/OriginalReleaseDate dc89/Duration dc9d/DRMStatus db01/unknown(db01)
   3GP/b984: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified dc46/Artist dc8b/Track dc9a/AlbumName dc91/UseCount dc99/OriginalReleaseDate dc89/Duration dc9d/DRMStatus db01/unknown(db01)
   Unknown(b004)/b004: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified dc46/Artist dc8b/Track dc9a/AlbumName dc91/UseCount dc99/OriginalReleaseDate dc89/Duration dc9d/DRMStatus db01/unknown(db01)
   MP4/b982: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified dc46/Artist dc8b/Track dc9a/AlbumName dc91/UseCount dc99/OriginalReleaseDate dc89/Duration dc9d/DRMStatus db01/unknown(db01)
   WMA/b901: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified dc46/Artist dc8b/Track dc9a/AlbumName dc91/UseCount dc99/OriginalReleaseDate dc89/Duration dc9d/DRMStatus db01/unknown(db01)
   ASF/300c: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified dc46/Artist dc8b/Track dc9a/AlbumName dc91/UseCount dc99/OriginalReleaseDate dc89/Duration dc9d/DRMStatus db01/unknown(db01) dc87/Width dc88/Height de97/ScanDepth de9b/VideoFourCCCodec de9c/VideoBitRate de9d/FramesPerThousandSeconds de9e/KeyFrameDistance dea1/EncodingProfile
   WMV/b981: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc87/Width dc88/Height dc89/Duration dc8c/Genre dc91/UseCount de93/SampleRate de94/NumberOfChannels de97/ScanDepth de99/AudioWAVECodec de9a/AudioBitRate de9b/VideoFourCCCodec de9c/VideoBitRate de9d/FramesPerThousandSeconds de9e/KeyFrameDistance dea1/EncodingProfile dc94/ParentalRating dc9d/DRMStatus db01/unknown(db01)
   M3U Playlist/ba11: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified
   Abstract Audio Video Playlist/ba05: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified
   MS Wave/3008: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc4f/NonConsumable dc4e/DateAdded dc08/DateCreated dc09/DateModified dc46/Artist dc8b/Track dc9a/AlbumName dc91/UseCount dc99/OriginalReleaseDate dc89/Duration dc9d/DRMStatus db01/unknown(db01)

Возможности устройства:
   File Download, File Deletion, File Upload
   No Image Capture, No Open Capture, No vendor specific capture

Storage Devices Summary:
store_00040001:
   StorageDescription: Memory card (PHONECARD)
   Метка тома: 1138963242
   Storage Type: Съёмное ОЗУ (карта памяти)
   Filesystemtype: Generic Hierarchical
   Access Capability: Чтение и запись
   Maximum Capability: 7927611392 (7560 MB)
   Свободное место (байт): 7177228288 (6844 Мб)
   Свободное место (изображений): 3427
store_00020001:
   StorageDescription: Phone memory
   Метка тома: 4129635062
   Storage Type: Встроенное ОЗУ
   Filesystemtype: Generic Hierarchical
   Access Capability: Чтение и запись
   Maximum Capability: 82219008 (78 MB)
   Свободное место (байт): 39148544 (37 Мб)
   Свободное место (изображений): 18

Device Property Summary:
Synchronization Partner(0xd401):(readwrite) (type=0xffff) {00000000-0000-0000-0000-000000000000} ('{00000000-0000-0000-0000-000000000000}')
Friendly Device Name(0xd402):(readwrite) (type=0xffff) molostoff ('molostoff')
Property 0xd404:(read only) (type=0x2) 1
Session Initiator Info(0xd406):(readwrite) (type=0xffff) '(null)'
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Okay - that information definitely clears a few things up. If you remove the storage card from the phone and connect it directly to the computer using a card reader, are the images visible on it?

Based on the size of the internal memory, I suspect the phone always saves images to the storage card - the above will confirm this.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
molostoff
Registered Member
Posts
6
Karma
0
bcooksley wrote:Okay - that information definitely clears a few things up. If you remove the storage card from the phone and connect it directly to the computer using a card reader, are the images visible on it?

Based on the size of the internal memory, I suspect the phone always saves images to the storage card - the above will confirm this.


Yes, those images are really visible. But this connection becomes non-PTP, but just regular USB storage. The subtree with images on card is named /Images/Camera/ with subdirs for each date. (all subdir and image names are [A-Za-z0-9_]+ ).

Also I have tried MTP connection (just installed mtp related stuff from ubuntu repo) - the result is that camera is detected, dolphin shows device name on the device panel, but gwenview importer shows "error 150" .

With PTP connection Gwenview importer is more adequate - it shows usb device name, I can push button with that name and subtree selection pane shows... nothing :( - both views (subtree and image selector) are empty. Dolphin also shows empty subtree, so I suspect that the problem with the driver for PTP, but I dont know how to frobnicate it.

(btw, SE Vivaz U5i internals are the same as any Symbian S60 9.4, my one is not hacked and still provide natural Symbian functionality)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does browsing the device through Dolphin via MTP work correctly (ie. are all files shown)?
Unfortunately i'm not sure if this is a bug in the Symbian or KDE implementations of PTP.

As gphoto2 supports PTP as well, could you try testing with it to see if it is able to get a full listing of files over PTP?
http://www.gphoto.org/doc/manual/using-gphoto2.html


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
molostoff
Registered Member
Posts
6
Karma
0
bcooksley wrote:Does browsing the device through Dolphin via MTP work correctly (ie. are all files shown)?
Unfortunately i'm not sure if this is a bug in the Symbian or KDE implementations of PTP.


With MTP Dolphin show subtree and all files, but opening file (image) with kde viewer (okular, gwenview) disconnects phone. But I can copy/paste image to local folder (yep!). So as I see it, functionality of mtp is ok (simple copy), but gwenview or okular can not process it saying that mtp process unexpectedly ended.
there is a dmesg output:
Code: Select all
[221954.442099] usb 2-3: new high-speed USB device number 21 using ehci_hcd
[222260.361217] usb 2-3: usbfs: process 6091 (kio_mtp) did not claim interface 0 before use
[222260.464108] usb 2-3: reset high-speed USB device number 21 using ehci_hcd
[222260.578826] usb 2-3: usbfs: process 6091 (kio_mtp) did not claim interface 0 before use
[222266.111288] usb 2-3: usbfs: process 6088 (kio_kamera) did not claim interface 0 before use
[221948.359657] usb 2-3: USB disconnect, device number 20
[221954.442099] usb 2-3: new high-speed USB device number 21 using ehci_hcd
[222260.361217] usb 2-3: usbfs: process 6091 (kio_mtp) did not claim interface 0 before use
[222260.464108] usb 2-3: reset high-speed USB device number 21 using ehci_hcd
[222260.578826] usb 2-3: usbfs: process 6091 (kio_mtp) did not claim interface 0 before use
[222266.111288] usb 2-3: usbfs: process 6088 (kio_kamera) did not claim interface 0 before use
[222274.635181] usb 2-3: USB disconnect, device number 21
[222282.493102] usb 2-3: new high-speed USB device number 22 using ehci_hcd
[222551.645979] usb 2-3: usbfs: process 6162 (kio_mtp) did not claim interface 0 before use
[222551.749129] usb 2-3: reset high-speed USB device number 22 using ehci_hcd
[222551.863880] usb 2-3: usbfs: process 6162 (kio_mtp) did not claim interface 0 before use
[222586.329701] usb 2-3: USB disconnect, device number 22
[222598.892117] usb 2-3: new high-speed USB device number 23 using ehci_hcd
[222667.195610] usb 2-3: USB disconnect, device number 23
[222688.400108] usb 2-3: new high-speed USB device number 24 using ehci_hcd
[222732.979095] usb 2-3: reset high-speed USB device number 24 using ehci_hcd
[222747.082281] usb 2-3: USB disconnect, device number 24
[222751.907091] usb 2-3: new high-speed USB device number 25 using ehci_hcd
[222929.201099] usb 2-3: usbfs: process 6431 (kio_mtp) did not claim interface 0 before use
[222929.304132] usb 2-3: reset high-speed USB device number 25 using ehci_hcd
[222929.418887] usb 2-3: usbfs: process 6431 (kio_mtp) did not claim interface 0 before use
[222955.554915] usb 2-3: usbfs: process 6291 (kio_mtp) did not claim interface 0 before use
[222961.729773] usb 2-3: usbfs: process 6469 (kio_mtp) did not claim interface 0 before use
[222961.832128] usb 2-3: reset high-speed USB device number 25 using ehci_hcd
[222961.946949] usb 2-3: usbfs: process 6469 (kio_mtp) did not claim interface 0 before use
[222969.085976] usb 2-3: usbfs: process 6291 (kio_mtp) did not claim interface 0 before use
[223005.189952] usb 2-3: USB disconnect, device number 25
[223013.908071] usb 2-3: new high-speed USB device number 26 using ehci_hcd



after reset phone disconnects...

bcooksley wrote:As gphoto2 supports PTP as well, could you try testing with it to see if it is able to get a full listing of files over PTP?
http://www.gphoto.org/doc/manual/using-gphoto2.html


gphoto2:
Code: Select all
$ gphoto2 --auto-detect --list-files
Model                          Port                                           
----------------------------------------------------------
SonyEricsson U5                usb:002,015     
There is no file in folder '/'.
There is no file in folder '/store_00020001'.
There is no file in folder '/store_00040001'.


This thing I can not explain, but can test everything you can ask, so any help welcome!

At the moment phone can be accessed
1) upnp via wifi (through vlc upnp client) - very slow
2) usb mass storage mount (directly) - ok
3) blutooth directory and files (aka obex) via dolphin - ok
4) mtp via direct file copy (through dolphin 'file copy/paste') - ok
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The inability of Okular / Gwenview to access the phone over MTP is unusual - it looks like they may be triggering the "multiple MTP connections" issue - many devices do not support more than one session and behave unusually when this occurs.

Based on the output of the gphoto2 command, and previous comments regarding lack of configurability, it would appear your phone doesn't correctly expose data for access over PTP unfortunately. You'll need to use mass storage or MTP to access your phone.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
molostoff
Registered Member
Posts
6
Karma
0
bcooksley wrote:The inability of Okular / Gwenview to access the phone over MTP is unusual - it looks like they may be triggering the "multiple MTP connections" issue - many devices do not support more than one session and behave unusually when this occurs.

Based on the output of the gphoto2 command, and previous comments regarding lack of configurability, it would appear your phone doesn't correctly expose data for access over PTP unfortunately. You'll need to use mass storage or MTP to access your phone.


thanks!


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell