https://bugzilla.novell.com/show_bug.cgi?id=852551
https://bugzilla.novell.com/show_bug.cgi?id=852551#c27
--- Comment #27 from Dean Martin 2014-01-02 08:46:17 UTC ---
After a bit of research which I have documented in the following thread
https://forums.opensuse.org/english/get-technical-help-here/hardware/493692-...
I have established that the lack of notification was as a result of missing
environment variables being set. Even though libgphoto2 is installed, it is
necessary to run /usr/lib64/libgphoto2/print-camera-list udev-rules to get the
camera rules instated like this
/usr/lib64/libgphoto2/print-camera-list udev-rules version 0.98 group video
mode 0666 > /etc/udev/rules.d/90-gphoto.rules
However, I found (from searching around online), that it no longer includes the
following lines
ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p"
ENV{ID_USB_INTERFACES}=="*:08*:*", GOTO="libgphoto2_usb_end"
ENV{ID_USB_INTERFACES}=="*:060101:*", ENV{ID_GPHOTO2}="1",
ENV{GPHOTO2_DRIVER}="PTP",
GOTO="libgphoto2_usb_end"
Once I had added the lines above, I found that 'solid-hardware listen' was able
to report my camera with appropriate udi and the KDE notifier works as
expected.
A minimal PTP camera rules file (for notification purposes)
# udev rules file for libgphoto2 devices (for udev 0.98 version)
# Created from this library:
# libgphoto2 2.5.2.1 all camlibs, gcc, ltdl, EXIF
# libgphoto2_port 0.10.0 gcc, ltdl, USB, serial lockdev locking
#
# this file is autogenerated, local changes will be LOST on upgrades
ACTION!="add", GOTO="libgphoto2_rules_end"
SUBSYSTEM!="usb|usb_device", GOTO="libgphoto2_usb_end"
ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p"
ENV{ID_USB_INTERFACES}=="*:08*:*", GOTO="libgphoto2_usb_end"
ENV{ID_USB_INTERFACES}=="*:060101:*", ENV{ID_GPHOTO2}="1",
ENV{GPHOTO2_DRIVER}="PTP",
GOTO="libgphoto2_usb_end"
#Camera model entries can go here eg
#ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="3234", MODE="0666", GROUP="video"
LABEL="libgphoto2_usb_end"
LABEL="libgphoto2_rules_end"
All that I have removed is the individual camera model entries for setting
modes, which are not required for viewing/downloading files.
So, maybe libgphoto2 should provide a minimal rules file by default?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.