Arthur Marsh wrote: > gthumb had been working happily until sometime after 23 May 2006 when > some upgrade or other stopped the running of the script that sets the > permissions on the file created when my Canon Ixus v camera is plugged > in via USB.
SHIT. I'm getting sick of udev, sorry. > I have found it difficult to debug since I do not know how to find out what > is being done by "udev_run_hotplugd usb" and what is being done by > "udev_run_devd usb", and why /etc/hotplug/usb/libgphoto2 is not > apparently being run and in any case is not setting the groups of the > created files to "camera" so that gthumb can access the camera. /etc/hotplug/usb/libgphoto2 is not run when udev is used; instead there are rules in /etc/udev/libgphoto2.rules to set appropriate ownerships. What is your kernel version ? Do you have a /etc/udev/rules.d/025_libgphoto2.rules symlink ? > Can you suggest how to debug the failure of udev to cause the running of > the libgphoto2 script to change the permissions of the /dev/bus/usb > and/or /proc/bus/usb file(s) needed by gthumb? The udev guys are silent[1], I'm shooting in the dark. You can use udevmonitor before plugging your camera, it will output several /devices/ lines, which you can pass to udevinfo, like this: udevinfo -a -p /devices/pci0000:00/0000:00:1d.7/usb4/4-1/4-1:1.0 It will output things which will look correct and you'll then be in the dark. Welcome. Anyway there were two changes in 2.1.6-12, you could try to undo them, one by one, in /etc/udev/libgphoto2-2.rules, 1. SUBSYSTEM!="usb_device", GOTO="libgphoto2_rules_end" replace it with BUS!="usb", GOTO="libgphoto2_rules_end" (and remove the line if that still fails) 2. prefix each SYSFS{idVendor}=="0553" by SUBSYSTEM=="usb_device", -> SYSFS{idVendor}=="0553", SYSFS{idProduct}=="0202", MODE="0660", GROUP="camera" to SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0553", SYSFS{idProduct... You could also test if compatibility hotplug script is being run, add something like `echo "hello world" > /tmp/hello' to the top of /etc/hotplug/usb/libgphoto2; while you are at it you could also echo $ACTION, $DEVICE and $DEVNAME. Sorry I can't help you more. Frederic [1] http://marc.theaimsgroup.com/?l=linux-hotplug-devel&m=114876475106203&w=2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]