[PLUG] Fwd: gphoto2 error

Anthony Schlemmer aschlemm at attbi.com
Thu Sep 5 21:29:13 UTC 2002


This is not so in some cases. I access my Kodak DX4900 directly using 
"gphoto2" without using the USBdevfs support. I have found that KDE 
incorrectly assumes that all digital cameras require the usbdevfs 
through a "kioslave" for digital camera access and I get I/O errors 
because of it. It is true that some cameras are accessed through a USB 
filesystem but there are quite a few cameras that aren't as well. I 
believe in the case of a camera that is mounted using the USBdevfs that 
there is no need to use "gphoto2" at all since I assume the pictures 
would be accessed like any other mounted filesystem Linux supports 
using common file utilities like "ls", and "cp" to list and copy the 
files from the camera to another location.

You are correct about the use of the "hotplug" service so permissions 
can be set to allow non-root users access to a digital camera.

On Thursday 05 September 2002 12:02 pm, Christopher E. Brown wrote:
> You need to mount the USBdevfs under /proc.  The generic usb libs
> that gphoto2 uses can detect a device, but to do IO with it they use
> the /proc/bus/usb entries.
>
> *If* you will be using the devices as a normal user (non-root) you
> need to install the hotplug system and configure its scripting to set
> permissions on the usb device as it becomes active.
>
>
> Anyway to make it work as root, add
>
> none   /proc/bus/usb   usbdevfs   defaults   0 0
>
> or similar to your fstab, and make sure usbdevfs is compiled in or
> module is loaded.
>
>  --
> I route, therefore you are.
>
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Anthony Schlemmer
aschlemm at attbi.com
>>>>This machine was last rebooted:   5 days 17:15 hours ago<<





More information about the PLUG mailing list