500d development - page 126 - DSLR Hack development - CHDK Forum

500d development

  • 2487 Replies
  • 952883 Views
Re: 500d development
« Reply #1250 on: 26 / May / 2011, 08:59:00 »
Advertisements
Thanks everyone for listening and working so hard. Should I test it again? Was his fix related to my post? Let me know when you're ready.

Edit: I've gotten no response since yesterday, so I looked in your code.  Clearly this fix will not resolve the issue I raised.
« Last Edit: 26 / May / 2011, 12:36:00 by sbright33 »

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #1251 on: 26 / May / 2011, 15:05:47 »
i think there might be properties for the custom function groups:

0xFF2DD158 - GUI_SetCFnForTab1 - 0x80010004
0xFF2DD204 - GUI_SetCFnForTab2 - 0x80010005
0xFF2DD390 - GUI_SetCFnForTab3 - 0x80010006
0xFF2DD400 - GUI_SetCFnForTab4 - 0x80010007

Right now only the property for cfn tab 1 is defined / used, and bitwise operations are used to turn different custom functions on/off (HTP, MLU, etc). This might fix ALO toggle (right now it's either ALO std or HTP, different ALO values aren't selected for some reason).
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #1252 on: 26 / May / 2011, 21:36:18 »
merged to the latest 550d codebase again, took all day to figure out. Had to find 14 new stubs so that took the longest time, but no problem because I'm really getting comfortable with the 500d dump and IDA :)



full screen menu is implemented too, but we have one roadblock. I've emailed AJ asking for a fix so we'll see, crossing my fingers that he has an idea! Here's some of what I sent to him, to bring everybody up to speed:

Quote
Alex has a function called fake_simple_button which simulates button presses. The 550d has a function at 0xFF020878 which is called by fake_simple_button (defined as GUI_CONTROL in stubs I believe). The 500d (like the 5d2), has this function built inside gui_main_task, so as a result fake_simple_button does not work.

In this version of Alex's latest code he has switched to a full screen menu, which fakes a menu button press when the ML menu task starts (to bring up the canon menu), thus eliminating the menu flicker problem associated with the EV bar redrawing the screen while metering was active.

So the problem is, I can't implement this right now, because I can't use fake_simple_button. I am going to look into things and see if maybe I can call ctrlman_dispatch_event() to inject an event (I first have to see if there is an event that happens when the menu button is pressed), it might not work.

The only other option I can think of is find a function in the dump that opens the menu dialog, and just call that. But I'd need to find that first.

so getting closer :)


-by the way, GuiEdLedOn / GuiEdLedOff defined in the stubs file operates the blue led on our direct print / live view button, boy is that sucker bright :)
« Last Edit: 26 / May / 2011, 21:42:06 by Coutts »
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

*

Offline Jamez

  • **
  • 91
Re: 500d development
« Reply #1253 on: 27 / May / 2011, 00:11:52 »
Glad to see you decided to keep the black background rather than grey :)
Incidentally theres a small bug that I reported to Alex, Under shoot > HDR Bracketing the icons are reversed (ie green is showing when its off).
Edit: Looks like he fixed the above as its not in the latest code.
« Last Edit: 27 / May / 2011, 00:50:43 by Jamez »
Canon Kiss x3 Owner running...
Magic Lantern for 500D/T1i/Kiss X3
Canon EOS 500D/T1i - Magic Lantern Firmware Wiki

Re: 500d development
« Reply #1254 on: 27 / May / 2011, 01:23:44 »
can you release a new build? im going to F1 monaco :)

Re: 500d development
« Reply #1255 on: 27 / May / 2011, 01:58:41 »
Monaco is pretty plush, you have family there?

*

Offline Jamez

  • **
  • 91
Re: 500d development
« Reply #1256 on: 27 / May / 2011, 06:40:16 »
silasje1 - check your email, likewise yours pat.
Canon Kiss x3 Owner running...
Magic Lantern for 500D/T1i/Kiss X3
Canon EOS 500D/T1i - Magic Lantern Firmware Wiki

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #1257 on: 27 / May / 2011, 08:09:52 »
it's not very stable - might want to use magic_off ;)

after flipping your the camera on, immediately start pressing the shutter half way and releasing a few times, it should say MAGIC OFF and ML won't boot :)
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

Re: 500d development
« Reply #1258 on: 27 / May / 2011, 08:23:54 »
Monaco is pretty plush, you have family there?
going there forf Formula 1 (F1)

Re: 500d development
« Reply #1259 on: 27 / May / 2011, 08:26:30 »
Some underground Builds are sent via email ? huh ? lol

 

Related Topics


SimplePortal © 2008-2014, SimplePortal