The officially official Devuan Forum!

You are not logged in.

#1 2020-10-13 11:21:25

kapqa
Member
Registered: 2019-01-02
Posts: 334  

Sony Camera not recognized

Hello ,

i would like to transfer the pictures from Camera Sony W830 to the laptop.

However, the PTP/MTP is not being recognized by Devuan 3.0 Beowulf and the Camera would not show up as an external storage (it should show from 30 to 32GB)

What am i doing wrong?

Offline

#2 2020-10-13 11:23:11

kapqa
Member
Registered: 2019-01-02
Posts: 334  

Re: Sony Camera not recognized

i have upgraded the system on the laptop from Ascii to Beowulf, but that should not make a difference in recognizing the Camera;

the update process proceeded without any errors,

Thank you very much.

Offline

#3 2020-10-13 11:45:41

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 269  
Website

Re: Sony Camera not recognized

kapqa wrote:

the PTP/MTP is not being recognized

Have you tried gphoto2 -P?

Offline

#4 2020-10-13 12:05:46

kapqa
Member
Registered: 2019-01-02
Posts: 334  

Re: Sony Camera not recognized

thank you,

i did not know this program,

and i don't like to download all fotos as it does now through terminal.

it like to show up the camera in file manager and select the photos myself.

Offline

#5 2020-10-13 12:24:45

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: Sony Camera not recognized

Perhaps jmtpfs works for you.

Offline

#6 2020-10-14 12:31:10

kapqa
Member
Registered: 2019-01-02
Posts: 334  

Re: Sony Camera not recognized

hmm, strange, the sony mp4 player gets recognized and is shown in file manager xfce , the camera however not.
will do some more testing.
thanks for your help.

Offline

#7 2020-10-14 14:36:06

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: Sony Camera not recognized

Perhaps it needs exfat-fuse (and maybe exfat-utils) whcih I don't think are installed by default.

Offline

#8 2020-10-14 16:29:39

rolfie
Member
Registered: 2017-11-25
Posts: 1,171  

Re: Sony Camera not recognized

Isn't that camera an USB device? I would suggest first of all to check on the console if and how the camera re. its memory stick? shows up when plugged in. lsusb

Have you tried all available USB ports on the laptop?

rolfie

Offline

#9 2020-10-14 17:40:57

kapqa
Member
Registered: 2019-01-02
Posts: 334  

Re: Sony Camera not recognized

yes, both devices are usb-connected, and have proprietary cables (from what i understand > typically sony)
maybe i am doing something wrong wh, but i think the camera is instantly recognized on ubuntu with the same procedure.

the walkman has only internal flash installed (but can handle also additional micro-SD-card up to 2TB or maybe even more)
the camera has a 32gb old sd-card (the bigger ones) and probably no flash memory.

exfat-fuse and exfat-utils

seem already manually installed (maybe leftover from ascii installation?)

laptop T400 has 3 usb ports, it does not make a difference if ports are switched, camera not shown in filemanager.

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 17ef:1003 Lenovo Integrated Smart Card Reader
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 17ef:1004 Lenovo Integrated Webcam
Bus 001 Device 003: ID 054c:094b Sony Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Last edited by kapqa (2020-10-14 17:42:17)

Offline

#10 2020-10-14 18:29:54

rolfie
Member
Registered: 2017-11-25
Posts: 1,171  

Re: Sony Camera not recognized

One topic per thread only please.

When I connect my Panasonic (don't own a Sony, never had) to the usb port I get a similar output. The memory isn't shown with lsusb.

Bus 002 Device 008: ID 04da:2372 Panasonic (Matsushita) Lumix Camera (Storage mode)

When I connect my camera I have to select a mode, either Pict Bridge (PTP) or PC. I only use the later. What about the Sony?

When the camera is connected with the correct mode selected, the SD memory card shows up in lsblk:

sdh                   8:112  1 119,1G  1 disk  
└─sdh1                8:113  1 119,1G  1 part  /media/rolf/3663-6361

and is available on my Mate desktop as 128GB device. Caja shows "MATSHITA DC-TZ91: Datenträger 128 GB". I can copy images from the card to my home drive then as desired.

What is happening on your laptop? Is the memory shown in lsblk?

rolfie

Edith: just tried the PTP mode for curiosity. Hey it also works in my configuration, same drive is present in lsblk and on the Caja screen, just named slightly different.

Last edited by rolfie (2020-10-14 18:35:07)

Offline

#11 2020-10-14 20:00:38

kapqa
Member
Registered: 2019-01-02
Posts: 334  

Re: Sony Camera not recognized

sorry, but the camera shows only "USB-Mode   PTP/MTP"
                                                      "Speicherkarte - Wiederg. per "Wiedergabe" - Tastendruck" eg. "Memorycard - Playback via "Play" - Buttonpress"

if playbutton is pressed, the only think happens is that the internal display on the camera is being changed from the above message/statusscreen to the active fotomanager on the camera, eg. the photos are being displayed on-cam.

lsblk is giving the following output

lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 111.8G  0 disk
├─sda1   8:1    0 108.9G  0 part /
├─sda2   8:2    0     1K  0 part
└─sda5   8:5    0   2.9G  0 part [SWAP]
sr0     11:0    1  1024M  0 rom

will check the next days on ubuntu after iget my cmputer back to see if it behaves there differently, but i believe so.

Offline

#12 2020-10-14 20:44:46

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: Sony Camera not recognized

That device, 054c:094b, does not appear to yet be listed among known devices, but it might work by identifying it explicitly for jmtpfs, i.e. if your mount point is /media/camera you'd use:

jmptfs -d 001,003 /media/camera

Offline

#13 2020-10-14 21:17:44

kapqa
Member
Registered: 2019-01-02
Posts: 334  

Re: Sony Camera not recognized

jmtpfs -d 001,003 /media/camera
No mtp devices found.

Offline

#14 2020-10-16 03:06:58

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: Sony Camera not recognized

ok ... seems to lead out of my comfort zone. The product id (0x094b) is not listed in http://www.linux-usb.org/usb.ids, and afaict it's also not among the entries for libmtp (http://libmtp.sourceforge.net/).

So it appears that making it work is slightly more than plug-n-play. I'm not aware of any possible shortcut, but maybe someone else knows better.

Offline

#15 2020-10-16 08:37:43

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 269  
Website

Re: Sony Camera not recognized

kapqa wrote:

the camera has a 32gb old sd-card (the bigger ones) and probably no flash memory.

I downloaded the manual from Sony:
https://www.sony.com/electronics/suppor … 14571M.pdf

I can read on page 27 that the camera has around 27 MB of internal memory.

Could work for you just read the files from the sd-card? (As a workaround).

Offline

#16 2020-10-16 14:28:53

Magnus
Member
From: Stockholm, Sweden
Registered: 2020-03-14
Posts: 54  
Website

Offline

#17 2020-10-16 18:16:33

rolfie
Member
Registered: 2017-11-25
Posts: 1,171  

Re: Sony Camera not recognized

When I summarize the feedback received on lsusb and lsblk, the camera is found on the usb subsystem, but the product id seems to be unknown. Contrary to my Panasonic which is working fine there is no sign of any memory. Looks like its not recognised at all. Strange for a product that is more that 6 years on the market. On the other hand I am not familiar with Sony products, I avoid them whereever I can.

@OP: when I read what you wrote in your first posts it is very interpretable if the camera worked under ASCII. I would assume when it worked under ASCII it also should under Beowulf. Buuuuut: we have the proof that there is no memory recognised. Very strange.

So  please give Magnus' suggestion a try. Maybe a dedicated udev rule fixes the issue (have you optimised something?).

rolfie

Offline

#18 2020-10-17 08:17:05

Magnus
Member
From: Stockholm, Sweden
Registered: 2020-03-14
Posts: 54  
Website

Re: Sony Camera not recognized

rolfie wrote:

@OP: when I read what you wrote in your first posts it is very interpretable if the camera worked under ASCII. I would assume when it worked under ASCII it also should under Beowulf. Buuuuut: we have the proof that there is no memory recognised. Very strange.
rolfie

It seems that older hardware can be removed when "upgrades" occur. I came across this when a scanner I have stopped working. Then I had to write my own udev rule.

### /etc/udev/rules.d/60-canon-lide-25.rules
# Canon CanoScan LiDE25
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2220", ENV{libsane_matched}="yes"

Offline

#19 2020-10-19 20:00:34

kapqa
Member
Registered: 2019-01-02
Posts: 334  

Re: Sony Camera not recognized

i just checked on my older T60 running debian wheezy, and there the camera is perfectly recognized.

https://ibb.co/9rMKj8T

Offline

#20 2020-10-20 14:35:48

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 269  
Website

Re: Sony Camera not recognized

kapqa wrote:

i just checked on my older T60 running debian wheezy, and there the camera is perfectly recognized.

https://ibb.co/9rMKj8T

Please note that your Debian Wheezy is using gphoto2 to access to the camera. May be you are missing some package related with gphoto2 in your new box.

Offline

#21 2020-10-21 20:34:22

kapqa
Member
Registered: 2019-01-02
Posts: 334  

Re: Sony Camera not recognized

Thank you Pedro, i have seen that this gphoto2 is active with Camera on Wheezy, too.

However, on Devuan it seems the package is not enough.

sudo apt install gphoto2*
[sudo] password for rich: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'gphoto2' for glob 'gphoto2*'
gphoto2 is already the newest version (2.5.20-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

EDIT:
after installing with

sudo apt install libgphoto2*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libgphoto2-port10' for glob 'libgphoto2*'
Note, selecting 'libgphoto2-port12' for glob 'libgphoto2*'
Note, selecting 'libgphoto2-6' for glob 'libgphoto2*'
Note, selecting 'libgphoto2-2-dev' for glob 'libgphoto2*'
Note, selecting 'libgphoto2-dev-doc' for glob 'libgphoto2*'
Note, selecting 'libgphoto2-l10n' for glob 'libgphoto2*'
Note, selecting 'libgphoto2-dev' for glob 'libgphoto2*'
libgphoto2-6 is already the newest version (2.5.22-3).
libgphoto2-6 set to manually installed.
libgphoto2-l10n is already the newest version (2.5.22-3).
libgphoto2-l10n set to manually installed.
libgphoto2-port12 is already the newest version (2.5.22-3).
libgphoto2-port12 set to manually installed.
The following additional packages will be installed:
  libexif-dev libexif-doc
The following NEW packages will be installed:
  libexif-dev libexif-doc libgphoto2-dev libgphoto2-dev-doc
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.

the camera is recognized and photos come up!

thank you very much - it seems however that when installing

gphoto2

with "sudo apt install gphoto2" it is not enough as it does not install the dependencies. maybe i am doing it wrong?
please indicate me a proper line for installing it correctly, and please include this software by default.

Offline

#22 2020-10-22 17:06:00

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 269  
Website

Re: Sony Camera not recognized

kapqa wrote:

the camera is recognized and photos come up!

Good! smile

kapqa wrote:

it seems however that when installing gphoto2 ... is not enough as it does not install the dependencies.

I need to research a bit about that. I always just install gphoto2 and have no problems so far.

Offline

Board footer