Alexander Pilipovsky wrote:
> Thanks, Dale, after your letter I found some solution :) I unmerged
> libphoto and downloaded it's latest version from
> http://www.gphoto.org/ and images are downloading by gphoto2 and
> gtkam. But when I works not under root any program cannot get access
> to /dev/ttS0. Changing permissions to 777 for ttS0 does not take any
> effect. What permissions these programs need?
>
> Dale wrote:
>> Alexander Pilipovsky wrote:
>>   
>>> Hello all!
>>>
>>> When I used Ubuntu :)), I got files from my camera by F-Spot. Now I
>>> compiled f-spot (http://www.gentoo-wiki.info/F-Spot), but now camera 
>>> does  not see PC and  F-Spot does not see camera too. What it need for work?
>>>
>>> Thanks!
>>>
>>>   
>>>     
>
> -- 
> Alexander Pilipovsky aka Engraver

Make sure you are in the following groups and it should work.  This is
my list:

r...@smoker / # cat /etc/group | grep dale
tty:x:5:dale
lp:x:7:lp,dale
wheel:x:10:root,dale
floppy:x:11:root,haldaemon,dale
uucp:x:14:uucp,nut,dale
audio:x:18:dale
cdrom:x:19:dale,haldaemon
dialout:x:20:root,dale
video:x:27:root,dale
cdrw:x:80:haldaemon,dale
usb:x:85:haldaemon,dale
users:x:100:games,dale
portage:x:250:portage,dale
cron:x:16:dale
messagebus:x:440:dale
lpadmin:x:106:dale
haldaemon:x:441:haldaemon,dale
plugdev:x:442:haldaemon,dale
games:x:35:dale
nut:x:84:nut,dale
wireshark:x:444:dale
camera:x:450:root,dale
r...@smoker / #

I think plugdev, camera, usb and haldaemon are the important ones.  You
can run gtkam as root to test this theory.  If it works as root, you
have a permissions problem for sure.

This may help too:

r...@smoker / # equery list gphoto
[ Searching for package 'gphoto' in all categories among: ]
 * installed packages
[I--] [  ] media-libs/libgphoto2-2.4.3 (0)
r...@smoker / # equery list gtkam
[ Searching for package 'gtkam' in all categories among: ]
 * installed packages
[I--] [  ] media-gfx/gtkam-0.1.16.1 (0)
r...@smoker / #

I'm not sure why it is using ttS0 tho.  Mine is found under /dev/bus/usb/. 

A long time ago I had trouble with udev not setting permissions
correctly but I think that has been fixed for a good while now.  I do
recall having to copy a file over to /etc/udev.  The rule had libgphoto
in the name.  May want to make sure it is there.

Hope that helps.

Dale

:-)  :-)

Reply via email to