The only check inside the firmware's mkdir function for the second parameter is that whether it equals to 1 or not! Sometimes, return values are subject to change. I would expect that the SX260's mkdir behaves the same, as both of these cameras use a newer DryOS revision. Try to figure out the real return values of the firmware function, and adjust the wrapper in CHDK according to that. Obviously, CHDK needs the case where the created directory doesn't disappear.
Quote from: srsa_4c on 26 / July / 2012, 21:11:09The only check inside the firmware's mkdir function for the second parameter is that whether it equals to 1 or not! Sometimes, return values are subject to change. I would expect that the SX260's mkdir behaves the same, as both of these cameras use a newer DryOS revision. Try to figure out the real return values of the firmware function, and adjust the wrapper in CHDK according to that. Obviously, CHDK needs the case where the created directory doesn't disappear.CHDK works well using -1, 0, or 1. The problem was detected only with chdkptp, which requires 1. According to SX260 forum, SX260 mkdir works well with all values, even using chdptp. So, I continued with the porting process, and I'll see mkdir+chdkptp problem later.
Using chdkptp, UI Overlay objects are shown with wrong colors, see image in attachment.What could be the problem? Thanks
Is there any other buffer for Capture modes like MODE_SCN_FISHEYE, MODE_SCN_MINIATURE, MODE_VIDEO_IFRAME_MOVIE, MODE_SCN_TOY_CAMERA? Activating this modes, I lost the live view. See the second image in attachment.
I don't have a camera with any of these modes, but given what the live view shows, it must be different. This would also be a problem for zebra, histogram, motion detection and edge overlay.Have you implemented vid_get_viewport_live_fb, or are you just using a fixed address (vid_get_viewport_fb) ?
void *vid_get_viewport_live_fb(){ return (void*)(*(int*)(0x20BC+0x134)); //ff8490f8 + ff849150 a2300}
I'm not sure what the first screenshot is showing, since I don't know what it is supposed to look like.
Started by nafraf Firmware Dumping
Started by thunder.thehedgehog.1 General Discussion and Assistance
Started by MiguelQ General Help and Assistance on using CHDK stable releases
Started by stagdriver General Discussion and Assistance
Started by pecck General Help and Assistance on using CHDK stable releases