How about "logical" disconnecting USB cable from camera? In any kbd.c present code like:if (conf.remote_enable) physw_status[2] = physw_status[2] & ~(SD_READONLY_FLAG | USB_MASK);which "disconnects" cable from camera.
edit: In my private build camera stays in PTP mode if camera is switched to record mode.
How does that happen? With these?NHSTUB(DisableNotificationPTP, 0xFFE4D6E4) NHSTUB(EnableNotificationPTP, 0xFFE4D6F8)
They are laid out similarly in a570 1.00e but could you educate me how to deduce those those entry points from the disassembly?
Not here. DisableNotificationPTP() prohibits the "black camera screen" on USB transfer.See usb_controller_magic camera variable:if (get_usb_power()) usb_controller_magic=0; // when camera switched to record modeif (get_usb_power()) usb_controller_magic=1; // when camera switched to playback modeFor A570 address of this variable is 0x53B20.
In generally, these functions can be found as follows (my example for a570 1.01a. Why not 1.00e explained below):
Maybe dump of A570 1.00E is broken. Dump from drop.io have same error. Maybe error was made at dump blinking.Can you make new dump of your camera (using universal dumper or modified dump_memory() function in core/main.c)?
...The original & old blinked dump from >year ago was broken, there is/was a newer one from universal dumper or internal memdump out there that gives a saner result:...The one in drop.io is significantly different from mine in a binary diff when cropped to same length so I guess it's the old broken one from some old collection.
I wouldn't be surprised if other means (keyboard hack) of switching between REC and PLAY could work as well. The other ways should be preferred, since PB2Rec/Rec2PB have issues as I mentioned above.
I've produced a diff (against rev596) of my 'dial mode' changes for the a560, a570 ad a720, which include the ability to switch between record and play on the a570. However I don't know where to put the diff. Where do such things go?
...However I don't know where to put the diff. Where do such things go?