You are not logged in.

#1 2014-02-17 18:34:10

quiqueck
Member
Registered: 2013-04-15
Posts: 94

[solved] Digital Camera not recognized in device-manager

My digital camera "Canon Powershot SX120 is" is not recognized by the devicemanager. I have read Digital Cameras.

$ groups
wheel storage users printadmin

The "camera"-Group isn't needed anymore and this group doesn't exist on my system.

The Powershot SX 120 has a  MTP/PTP connection mode (as the manual says). But:

# mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6

Listing raw device(s)
   No raw devices found.

gphoto succeed:

$ gphoto2 --auto-detect                                                
Modell                         Port                                                                                
----------------------------------------------------------                                                         
Canon PowerShot SX120 IS       usb:002,019

A gphoto --summary could be found here

There is no udev-rule for this camera. If i create one while copying a rule from a similar camera from /etc/udev/rules.d/69-libmtp.rules, and store it into /etc/udev/rules.d/69-canon.rules, the device-manager shows up. My udev-rule:

# Canon PowerShot SX120AX (PTP/MTP mode)
ATTR{idVendor}=="04a9", ATTR{idProduct}=="31e0", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

The device-manager shows me only the option to open with a file-manager. Doing so will result in an error:

The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:02.1/usb2/2-8/ do not exist.

With my udev-rule:

solid-hardware listen
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
Listening to add/remove events: 
Device Added:
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:02.1/usb2/2-8'

Without the active udev-rule, "solid-hardware listen" produces nothing, but

udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[5077.662572] add      /devices/pci0000:00/0000:00:02.1/usb2/2-8 (usb)
KERNEL[5077.662655] add      /devices/pci0000:00/0000:00:02.1/usb2/2-8/2-8:1.0 (usb)
UDEV  [5077.681178] add      /devices/pci0000:00/0000:00:02.1/usb2/2-8 (usb)
UDEV  [5077.693035] add      /devices/pci0000:00/0000:00:02.1/usb2/2-8/2-8:1.0 (usb)

Don't know what to do ... is a udev-rule necessary to bring up the message from device-manger? Or is the Camera not recognized as a mtp-device (the Camera has no such settings)? How could i figure it out?

With Digikam i could import Fotos, but i would do so with gwenview. I've tried to check it out with gwenview_importer:

$ gwenview_importer --udi '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:02.1/usb2/2-8'                                                                                                               
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.              
gwenview_importer: Missing required source folder argument.

  (don't care about the different udi, i took this example from a former try) but i don't know, how to find out where the "source folder" is ...

Last edited by quiqueck (2014-02-26 20:10:25)

Offline

#2 2014-02-26 20:10:01

quiqueck
Member
Registered: 2013-04-15
Posts: 94

Re: [solved] Digital Camera not recognized in device-manager

I have solved this by making an extra udev-rule for my camera. See my adventure on forum.kde.org for details wink

Offline

#3 2014-10-24 20:00:38

K4LiN
Member
Registered: 2013-04-18
Posts: 2

Re: [solved] Digital Camera not recognized in device-manager

Not sure is that same problem, but found that solution very helpful.

https://bbs.archlinux.org/viewtopic.php … 50#p915250

Last edited by K4LiN (2014-10-24 20:00:51)

Offline

Board footer

Powered by FluxBB