[Pkg-kde-extras] Bug#584289: Can access PTP camera only as root (Nikon L20)
Sebastian Bremicker
local at sebrem.de
Sat Jun 19 10:13:26 BST 2010
Package: digikam
Version: 2:1.2.0-5
Severity: normal
Hi,
I think it's more udev's fault because of the permissions set when attaching
the camera:
[62365.575527] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
[62365.575551] ehci_hcd 0000:00:10.3: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT
[62365.575564] hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
[62365.679029] hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501
[62365.730290] ehci_hcd 0000:00:10.3: port 5 high speed
[62365.730301] ehci_hcd 0000:00:10.3: GetStatus port 5 status 001005 POWER sig=se0 PE CONNECT
[62365.781047] usb 1-5: new high speed USB device using ehci_hcd and address 5
[62365.834283] ehci_hcd 0000:00:10.3: port 5 high speed
[62365.834294] ehci_hcd 0000:00:10.3: GetStatus port 5 status 001005 POWER sig=se0 PE CONNECT
[62365.910297] usb 1-5: default language 0x0409
[62365.917290] usb 1-5: udev 5, busnum 1, minor = 4
[62365.917294] usb 1-5: New USB device found, idVendor=04a9, idProduct=30fc
[62365.917298] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[62365.917302] usb 1-5: Product: Canon Digital Camera
[62365.917306] usb 1-5: Manufacturer: Canon Inc.
[62365.917538] usb 1-5: usb_probe_device
[62365.917545] usb 1-5: configuration #1 chosen from 1 choice
[62365.919970] usb 1-5: adding 1-5:1.0 (config #1, interface 0)
[62365.920174] drivers/usb/core/inode.c: creating file '005'
cerebrum:/home/sebrem# ls -l /dev/bus/usb/001/
insgesamt 0
crw-rw-r-- 1 root vboxusers 189, 0 18. Jun 19:48 001
crw-rw-r-- 1 root vboxusers 189, 4 19. Jun 11:08 005
Now the camera is inaccessible.
cerebrum:/home/sebrem# chmod 666 /dev/bus/usb/001/005
cerebrum:/home/sebrem# ls -l /dev/bus/usb/001/
insgesamt 0
crw-rw-r-- 1 root vboxusers 189, 0 18. Jun 19:48 001
crw-rw-rw- 1 root vboxusers 189, 4 19. Jun 11:08 005
Now the camera works. The user having camera problems is indeed not in group
"vboxusers" so this is a file permission problem not related to digikam
directly.
Kind regards
Sebastian
-- System Information:
Debian Release: squeeze/sid
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.34 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages digikam depends on:
ii digikam-data 2:1.2.0-5 digikam architecture-independant d
ii kdebase-runtime 4:4.4.4-1 runtime components from the offici
ii kdepim-runtime 4:4.4.4-1 Runtime components for akonadi-kde
ii libc6 2.11.2-1 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-5 GCC support library
ii libglib2.0-0 2.24.1-1 The GLib library of C routines
ii libgphoto2-2 2.4.6-1 gphoto2 digital camera library
ii libgphoto2-port0 2.4.6-1 gphoto2 digital camera port librar
ii libjasper1 1.900.1-7 The JasPer JPEG-2000 runtime libra
ii libjpeg62 6b-16.1 The Independent JPEG Group's JPEG
ii libkabc4 4:4.4.4-1 library for handling address book
ii libkdcraw8 4:4.4.4-1 RAW picture decoding C++ library (
ii libkde3support4 4:4.4.4-1 the KDE 3 Support Library for the
ii libkdecore5 4:4.4.4-1 the KDE Platform Core Library
ii libkdeui5 4:4.4.4-1 the KDE Platform User Interface Li
ii libkexiv2-8 4:4.4.4-1 Qt like interface for the libexiv2
ii libkfile4 4:4.4.4-1 the File Selection Dialog Library
ii libkhtml5 4:4.4.4-1 the KHTML Web Content Rendering En
ii libkio5 4:4.4.4-1 the Network-enabled File Managemen
ii libkipi7 4:4.4.4-1 library for apps that want to use
ii libkjsapi4 4:4.4.4-1 the KJS API Library for the KDE De
ii libknotifyconfig4 4:4.4.4-1 library for configuring KDE Notifi
ii libkparts4 4:4.4.4-1 the Framework for the KDE Platform
ii libkresources4 4:4.4.4-1 the KDE Resource framework library
ii libkutils4 4:4.4.4-1 various utility classes for the KD
ii liblcms1 1.18.dfsg-1.2+b2 Color management library
ii liblensfun0 0.2.4-1 Lens Correction library - Runtime
ii liblqr-1-0 0.4.1-1 converts plain array images into m
ii libmarblewidget4 4:4.4.4-1+b1 Marble globe widget library
ii libphonon4 4:4.6.0really4.4.2-1 the core library of the Phonon mul
ii libpng12-0 1.2.43-1 PNG library - runtime
ii libqt4-dbus 4:4.6.3-1 Qt 4 D-Bus module
ii libqt4-network 4:4.6.3-1 Qt 4 network module
ii libqt4-qt3support 4:4.6.3-1 Qt 3 compatibility library for Qt
ii libqt4-sql 4:4.6.3-1 Qt 4 SQL module
ii libqt4-sql-sqlite 4:4.6.3-1 Qt 4 SQLite 3 database driver
ii libqt4-svg 4:4.6.3-1 Qt 4 SVG module
ii libqt4-xml 4:4.6.3-1 Qt 4 XML module
ii libqtcore4 4:4.6.3-1 Qt 4 core module
ii libqtgui4 4:4.6.3-1 Qt 4 GUI module
ii libsolid4 4:4.4.4-1 Solid Library for KDE Platform
ii libstdc++6 4.4.4-5 The GNU Standard C++ Library v3
ii libtiff4 3.9.2-3+b1 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxau6 1:1.0.5-2 X11 authorisation library
ii libxdmcp6 1:1.0.3-2 X11 Display Manager Control Protoc
ii phonon 4:4.6.0really4.4.2-1 metapackage for the Phonon multime
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages digikam recommends:
ii amaya [www-browser] 10.1~pre4+dfsg.0-2 Web Browser, HTML Editor and Testb
ii chimera2 [www-browse 2.0a19-5.1 Web browser for X
ii chromium-browser [ww 5.0.375.70~r48679-2 Chromium browser
ii dillo [www-browser] 0.8.6-3 Small and fast web browser
ii elinks-lite [www-bro 0.12~pre5-2 advanced text-mode WWW browser - l
ii elvis [www-browser] 2.2.0-11.1 powerful clone of the vi/ex text e
ii iceape-browser [www- 2.0.4-2 Iceape Navigator (Internet browser
ii iceweasel [www-brows 3.5.9-3 Web browser based on Firefox
ii kipi-plugins 1.2.0-2 image manipulation/handling plugin
ii konqueror [www-brows 4:4.4.4-1 KDE 4's advanced file manager, web
ii links [www-browser] 2.2-1+b2 Web browser running in text mode
ii links2 [www-browser] 2.2-1+b2 Web browser running in both graphi
ii lynx-cur [www-browse 2.8.8dev.3-3 Text-mode WWW Browser with NLS sup
ii netrik [www-browser] 1.16.1-1 text mode WWW browser with vi like
ii opera [www-browser] 10.60.6374 A fast and secure web browser and
ii w3m [www-browser] 0.5.2-4 WWW browsable pager with excellent
ii w3mmee [www-browser] 0.3.p24.20-3+b3 WWW browsable pager with excellent
Versions of packages digikam suggests:
ii digikam-doc 1.2~svn1134171-1 handbook for digikam and showfoto
-- no debconf information
More information about the pkg-kde-extras
mailing list