[opensuse] USB permissions and resource manager; no access to camera



Hello,

Today I wanted to move some xmas images from my digital camera,
using digikam. I hadn't done so since November last year. To my
astonishment, it didn't work any more.

Since lsusb under root showed my camera, but lsusb under my personal
account didn't, I quickly discovered that this is related to the
permission of one of /dev/usbdev*. chmod 666 on them; then lsusb and digikam worked and I was again able to access my camera with my personal acount.
Well, but of course this will only last only until the next boot, when udev establishs the default access rights again.

Checking the mailing list's archive, I discovered a thread from Nov
28 where this problem was mentioned by Martin Mielke, but no
solution was posted.

So I was wondering:
-- Has this been resolved somehow and I missed the resolution?
-- Shouldn't the devices made available to the user that is logged
in on the console? I.e., shouldn't resmgr care for them?
No ACL is set on usbdev*, unlike /dev/sr0 or other devices.

And really, in /etc/resmgr.conf there is an entry for "class usb".

Hmm, but there seems to be something missing. When I call (as root) resmgr list usb, it outputs "no devices available". hwinfo --usb finds usb hardware, but doesn't output device files in /dev either.

Therefore my final questions:
-- Should the ACLs for the USB devices be changed by resmgr?
-- If yes, how does resmgr determine which devices shall be
changed?
-- If no, how is a desktop user expected to use a USB device?


Thanks in advance for any answer,

Joachim

PS: In case that KDE or GNOME are expected to do some magic during login; I use neither of them.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [SLE] *&^^%$ Resmgr again
    ... >> You did not login via kdm or gdm, so resmgr did not see you login ... I think what happened with my previous resmgr list results was that I had done ... camera to connect. ... The camera is good only for the session where digikam is allowed to ...
    (SuSE)
  • Re: USB problem: /dev/ugen* dynamically auto-reconfigures to root:operator 644, so non-root user una
    ... >>I want to download pics from my digicam using digikam application ... > Use the devfscommand to request changes the owner or modes to ... You see the camera is on, therefore the ugen1 devices have been ... ther permission are wrong again. ...
    (freebsd-current)
  • Re: Making hotplugging my camera work
    ... camera in and kde pops up a dialog asking whether I want to ... download to digiKam, or open in a new window. ... Cameras handle off-loading pictures in two different ways. ...
    (Debian-User)
  • Re: [SLE] *&^^%$ Resmgr again
    ... >> I can run digikam as root and the camera gets connected just fine. ... It is a USB device and shows up as such and resmgr.conf seems to ... Photo Transfer Protocol which really shouldn't enter into the connection ...
    (SuSE)
  • Re: [SLE] How to address this USB port?
    ... My camera is indeed serial and in digikam and other camera programs the USB ... Does your computer have a serial port on it? ...
    (SuSE)