The camera in question is a Canon Powershot A530 which only works in PTP mode (i.e no USB mass storage mode) with apps like gphoto2/digikam. When I try it on my main workstation, tybalt, every app fails to connect to and even detect the camera, even when run as root. On my mythtv box everything works as expected.
Both systems have the latest udev, libgphoto2 and digikam installed, all compiled against current libs. Plugging the camera in generates entries in dmesg;
Code: Select all
Nov 27 21:24:40 tybalt usb 2-1: new high speed USB device using ehci_hcd and address 12
Nov 27 21:24:40 tybalt usb 2-1: configuration #1 chosen from 1 choice
Nov 27 21:25:28 tybalt usb 2-1: USB disconnect, address 12Code: Select all
SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0664", GROUP="usb"Code: Select all
tybalt ~ # gphoto2 --auto-detect
Model Port
----------------------------------------------------------Code: Select all
mythtv@prospero ~ $ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Canon PowerShot A530 (PTP mode) usb:
Canon PowerShot A530 (PTP mode) usb:001,005Does anyone have any idea what the problem is here? I've tried every possible option with tinkering with udev, hotplug and all the rest of them that I can think of, all to no avail. The most annoying thing of all is that, up until a few weeks ago, tybalt worked perfectly too, and all other USB devices (keyboard, mouse, bluetooth) work perfectly. Neither machine has any weird CFLAGS or anything like that. I've tried different versions of libusb, running gphoto2 through strace and couldn't find anything suspicious, but I'm no expert...
A hojillion thanks in advance to anyone who can give me the faintest idea of what's going on...!

