DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've discovered gtkam on ubuntu, and i wanted to use it on debian, but it seems that the usb system has some problem with the camera... Here is the thread url: http://www.linuxquestions.org/questi...hreadid=321362
--------------------------
And here is a copy of it if you don't want to follow the link
I'm under debian testing, and i've tried to plug my camera on the usb port... i works fine on ubuntu, but on debian i got some problem...
it recognizes the camera:
Quote:
creak@slibar:~$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 010: ID 040a:0568 Kodak Co. LS443
Bus 001 Device 008: ID 046d:c00b Logitech, Inc. MouseMan Wheel
Bus 001 Device 001: ID 0000:0000
creak@slibar:~$
But just for 1 second and then nothing:
Quote:
creak@slibar:~$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 008: ID 046d:c00b Logitech, Inc. MouseMan Wheel
Bus 001 Device 001: ID 0000:0000
creak@slibar:~$
So when i launch gtkam and try to auto-detect it, it just says "no camera detected."
dude, i personally haf trouble getting gphoto2 to run as a normal account user in Sarge.
i did a search on google and i realised that i m not the only one.
if gphoto2 cant work, dun expect gtkam to work. In the end, i download my photos as Root.
login as root in konsole and see whether debian recognises ur camera.
gphoto2 --auto-detect
if it does, then you can get the photos by
gphoto2 -P
the disadvantage is you haf to chown, chgrp and chmod 755 your photos later.
Arf, you're right... even gtkam works when you're root (except for some segfault), which is normal because it uses the same library than gphoto...
It seems that the problem comes from the fact that debian says that the usb device should be used by the root only... It has it's advantages and inconvienients... it's safer, but damn not user-friendly!
Even though it says to use this in fstab: usbdevfs /proc/bus/usb usbdevfs defaults 0 0
I use this line: usbfs /proc/bus/usb usbfs defaults,devuid=0,devgid=106,devmode=0666 0 0
106 is my group for usb.
makuyl: it seems that usbfs is already mounted (try a mount -l). at least in the recent sarge release... but there is no /etc/hotplug/usb/usbcam.usermap file... i don't see why it is necessary...
yotamk: indeed, when you add yourself to the camera group, the cam devices doesn't disapear from the lsusb command
I just got one last problem... now i can use gphoto2 whithout any problem as a normal user, but when i plug the camera, i have the popup that ask me what to do after having plugged the camera... i push the button "get the images" (or something like that, it's in french here ), but gtkam doesn't launch... i don't understand why..
I suppose the usermap isn't necessary if the camera supports usb-storage. For canons it's needed and using it would allow to plug in several cameras without storage support. If you just use the one that works, you can probably skip the usermap.
BTW, the second howto said: # gphoto2 --print-usb-usermap >> /etc/hotplug/usb.usermap
So the /etc/hotplug/usb/usbcam.usermap isn't necessary either. You have some choises here and several ways work.
The devmode in fstab is to give userrights so you don't have to use it as root, but like I said, the howto also it isn't necessary.
BTW again, I changed the script to set group to users instead of camera.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.