Quote from: ewavr on 10 / October / 2009, 17:35:07How about disable "Canon Camera Access Library" service (and in extreme case, WIA service) in services applet?Is there any way the ptpcam code can do that ?
How about disable "Canon Camera Access Library" service (and in extreme case, WIA service) in services applet?
p.s. For a710 NHSTUB(add_ptp_handler, 0xFFE59FE4) - and transfer works!
But uploading/downloading of files fails - ptpcam reports about unexpected result code, then camera shuts down.
Hmm.. If the code is something like 0x2ff it usually means the camera has crashed; 0x2002 means a less critical error (e.g. alloc failed). Perhaps the functions passed to the handler work a bit different for VxWorks. I deduced their workings by looking at how they were used by handlers for things like PTP_OC_GetObject.
It was my stupid error - remote filename must begin with 'A/' (not with 'a/')
Yeah, I fell for that one too... However, it shouldn't really cause a crash. It is likely a problem caused by the fact that one side still expects to send/receive data.
No, in my a710FILE* f=fopen("a/1.txt","wb");really crashes the camera (and "A/1.txt" not).
Quote from: mweerden on 11 / October / 2009, 15:52:17Yeah, I fell for that one too... However, it shouldn't really cause a crash. It is likely a problem caused by the fact that one side still expects to send/receive data.No, in my a710FILE* f=fopen("a/1.txt","wb");really crashes the camera (and "A/1.txt" not).
int open (const char *name, int flags, int mode ){ if(name[0]!='A')return -1;//on the SD980, it will crash if a file path doesn't start with A return _Open(name, flags, mode);//hmm}
Started by bullfrog Feature Requests
Started by fudgey « 1 2 » General Discussion and Assistance
Started by ntstatic General Discussion and Assistance
Started by enki General Help and Assistance on using CHDK stable releases
Started by KNEi General Discussion and Assistance