LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Dolphin and Gwenview only read Digital camera in KDE as root (https://www.linuxquestions.org/questions/slackware-14/dolphin-and-gwenview-only-read-digital-camera-in-kde-as-root-4175512114/)

tramni1980 07-24-2014 03:06 AM

Dolphin and Gwenview only read Digital camera in KDE as root
 
Dear slackers,
I am using Slackware64-14.1 with the generic-3.10.17 kernel.
I want to see the pictures in my digital camera with dolphin in KDE. This works perfect when I
am logged in as root, but not when I am a regular user. My user is called marto and he is a member of the
plugdev group. gphoto2 works ok with the camera:

Code:

bash-4.2$ whoami
marto

gphoto2 --auto-detect
Model                          Port                                           
----------------------------------------------------------
USB PTP Class Camera          usb:004,006   
gphoto2 --summary   
Camera summary:                                                               
Manufacturer: Nikon Corporation
Model: S6500
  Version: COOLPIX S6500 V1.0
Vendor Extension ID: 0xa (1.0)
Vendor Extension Description: microsoft.com: 1.0;

Capture Formats: JPEG
Display Formats: Undefined Type, Association/Directory, Defined Type, JPEG, DPOF, MS AVI, Apple Quicktime, MS Wave, Unknown(b111)

Device Capabilities:
        File Download, File Deletion, File Upload
        Generic Image Capture, No Open Capture, No vendor specific capture
        Nikon Wifi support

Storage Devices Summary:
store_00010001:
        StorageDescription: S6500
        VolumeLabel: None
        Storage Type: Removable RAM (memory card)
        Filesystemtype: Digital Camera Layout (DCIM)
        Access Capability: Read-Write
        Maximum Capability: 15923150848 (15185 MB)
        Free Space (Bytes): 14546305024 (13872 MB)
        Free Space (Images): 3271

Device Property Summary:
Property 0xd407:(read only) (type=0x6) 1
Property 0xd406:(readwrite) (type=0xffff) ''
Property 0xd002:(readwrite) (type=0x6) Enumeration [1,2,3,4,5,6,7] value: 6
Date & Time(0x5011):(readwrite) (type=0xffff) '20140724T110552'                                                                                                                                                                             
Flash Mode(0x500c):(readwrite) (type=0x4) Enumeration [1,2,3,4] value: Automatic flash (1)                                                                                                                                                 
Focus Mode(0x500a):(readwrite) (type=0x4) Enumeration [2,3] value: Automatic (2)                                                                                                                                                           
Focal Length(0x5008):(read only) (type=0x6) Enumeration [3500,4600,5300,6100,7300,8600,10500] value: 35 mm (3500)                                                                                                                           
Battery Level(0x5001):(read only) (type=0x2) Enumeration [2,5,25,50,65,80,100] value: 100% (100)                                                                                                                                           
Property 0xd303:(read only) (type=0x2) 1

I also tried adding the file 90-usbcam.rules to /etc/udev/rules.d:
Code:

cat 90-usbcam.rules
ACTION=="add" \
SUBSYSTEM=="usb" \
ATTR{product}=="Nikon Digital Camera" \
ATTR{manufacturer}=="Nikon Corp." \
GROUP:="plugdev" \
MODE:="0664"

then unplugged an plugged the camera in again, but still the dolphin window remains empty
and in gwenview the "Import selected" buttons are not active.

Any suggestions will be appreciated.

Best regards,
Martin

PS: Here is some more info about the camera:

Code:

lsusb -D /dev/bus/usb/004/00
001  006 
bash-4.2$ lsusb -D /dev/bus/usb/004/006
Device: ID 04b0:0339 Nikon Corp.
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass        0
  bDeviceProtocol        0
  bMaxPacketSize0        64
  idVendor          0x04b0 Nikon Corp.
  idProduct          0x0339
  bcdDevice            1.00
  iManufacturer          1 NIKON
  iProduct                2 NIKON DSC COOLPIX S6500-PTP
  iSerial                3 000040002252
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength          39
    bNumInterfaces          1
    bConfigurationValue    1
    iConfiguration          0
    bmAttributes        0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      0
      bNumEndpoints          3
      bInterfaceClass        6 Imaging
      bInterfaceSubClass      1 Still Image Capture
      bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0008  1x 8 bytes
        bInterval              16
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType        6
  bcdUSB              2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass        0
  bDeviceProtocol        0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:    0x0000
  (Bus Powered)


smallpond 07-25-2014 01:28 PM

Can't you just add yourself to group "plugdev"?


All times are GMT -5. The time now is 03:59 AM.