LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-24-2014, 04:06 AM   #1
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
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)
 
Old 07-25-2014, 02:28 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,225

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Can't you just add yourself to group "plugdev"?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After upgrade to current, kde problems, camera won't display in dolphin Z038 Slackware 4 05-28-2014 08:12 PM
Access permission for digital camera in KDE (dolphin) Mistreated Linux - Software 2 02-01-2013 03:55 AM
dolphin and gwenview take ages to open logicalfuzz Slackware 4 07-24-2010 09:03 AM
Access to digital camera only as root BobNutfield Linux - Software 1 04-19-2006 10:57 PM
Digital Camera Software for an non-root user gboutwel Linux - Software 2 06-29-2002 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration