First of all, thanks for all gphoto developers for make that
I don't know if this bug on aiptek smart megacam are reported previous,
(on that cam, since this is described in gphoto faq) but, after trying
more than 4 pics, the camera simple freeze and dmesg show the bulk error.
(generaly after the pic #3, and only in card mode, sdram works fine).
The camera show the usb idvendor 04fc and idproduct 504b, so the
spca504 bridge with firmware version 2.
After that, i downloaded the CVS tree and take a look on the source
and maked a estrange "discover": that camera use the firmware version 2, but
in the spca50x-flash.c in the function spca50x_flash_get_file, the
need to be set to 0x4000 (the same value used on firmware version 1) to
download all pics without failure or bulk timeout error.
I don't know if that modification will work all spca504 with fw
rev.2, but worked
with that aiptek model.
Another thing: in same source file, in function
after i reduced the timeout variable to 10, the camera stopped to freeze
bulk error. (pehaps 30 makes to much usb calls for that camera since usb
is only 5 seconds)
Thanks for all!! (and sorry for my english)
(i deleted for acident the debug files who i used on that experiment, so
a new one if someone wants)