From: Marcus M. <ma...@je...> - 2007-10-29 08:02:05
|
On Sun, Oct 28, 2007 at 12:50:45PM +0100, Marcus Meissner wrote: > On Sun, Oct 28, 2007 at 12:21:06PM +0100, gab wrote: > > Hi all, > > i'm trying to use gphoto to control my D2Xs and it doesn't work fine. > > I tried with nikon camera control demo and all works well so i don't think > > it's a camera problem, it's probably a soft pb. > > > > libgphoto2 and gphoto2 installed throught darwinports on Leopard. > > i killed the apple PTP process but it seems that the ptp protocol is not > > recognized by gphoto. > > > > here'a a --capture-image debug file (i cut a little in the usb port > > detection to make the file smaller) > > > > 0.941825 gphoto2-port(2): Writing 16=0x10 byte(s) to port... > > 0.941864 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows: > > 0000 10 00 00 00 01 00 c0 90-04 00 00 00 ff ff ff ff ................ > > > > 0.942191 gphoto2-port(2): Reading 4096=0x1000 bytes from port... > > 0.942447 gphoto2-port(2): Could only read 12 out of 4096 byte(s) > > 0.942490 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows: > > 0000 0c 00 00 00 03 00 04 20-04 00 00 00 ....... .... > > > > 0.942529 context(0): PTP Invalid Transaction ID > > Funny error, we did send a good transaction id here... > > Do other operations work, like listing files? > > Also try: > gphoto2 --set-config capturetarget=card > gphoto2 --capture-image Did you get my mail where I asked you to: gphoto2 --get-config capturetarget gphoto2 --set-config capturetarget=<number> of the entry with "card" gphoto2 --capture-image Ciao, Marcus |