EOS M3 porting - page 23 - DryOS Development - CHDK Forum

EOS M3 porting

  • 722 Replies
  • 335861 Views
Re: EOS M3 porting
« Reply #220 on: 04 / December / 2016, 20:50:15 »
Advertisements
Perhaps it would be possible to include a script to disable battery compatibility checks or set them however the user likes.  Does chdk support the idea of a script executed at startup like a users profile?
You can have a script autostart when the camera powers up.  But you can only have one currently "active" script, so that limits your ability to run other scripts.

Regardless, this would still put CHDK in the position of defeating something Canon has every right to put into their cameras. For the first time ever. 

Very much not a good idea.  Moves CHDK from a possible "fair use" position to something much, much more risky. 

If it goes down this route, I'm completely out of here!


« Last Edit: 04 / December / 2016, 20:52:14 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 13792
Re: EOS M3 porting
« Reply #221 on: 04 / December / 2016, 22:58:12 »
I checked in the non-battery parts of the patch posted earlier, trunk r4745.

I'm not inclined to add any code to specifically defeat the battery check.
Don't forget what the H stands for.

Re: EOS M3 porting
« Reply #222 on: 04 / December / 2016, 23:32:39 »
I'm not inclined to add any code to specifically defeat the battery check.
Non-Canon Battery  (as found, by H-H, on the 16/June/2016)

Note:- The LP-E17 Battery might also contain a microprocessor. !!!
(for the full Details, see the attached file "Non-Canon Battery.txt")

Ref:- Eos_M3-100d_Strings.txt

Latest usage history of Non-Canon Battery    0011FDE0
Whether any non-Canon battery was used      0011FE14

Also ... ,Some, ... CHDK Triva see attache file; CHDK - A_HAK.jpg

H-H
« Last Edit: 04 / December / 2016, 23:35:37 by Hardware_Hacker »

Re: EOS M3 porting
« Reply #223 on: 04 / December / 2016, 23:44:30 »
Ok a script not hosted on any chdk site.


*

Offline reyalp

  • ******
  • 13792
Re: EOS M3 porting
« Reply #224 on: 05 / December / 2016, 00:16:08 »
Ok a script not hosted on any chdk site.
Obviously, what users do with the existing startup script functionality or their own builds is up to them.

@Hardware_hacker
ldr   r0, [pc, #268]
ldr   r3, [pc, #272]

spells CHDK ;)
Don't forget what the H stands for.

*

Offline Ant

  • *****
  • 509
Re: EOS M3 porting
« Reply #225 on: 05 / December / 2016, 02:11:12 »
Perhaps it would be possible to include a script to disable battery compatibility checks or set them however the user likes.  Does chdk support the idea of a script executed at startup like a users profile?
I doubt that CHDK will have time to run the script before battery menu appears.
At this moment menu-disabling code is executed before the moment when camera initializes controllers and starts GUI.
On M3 battery menu appears only one time after battery cover was closed. How it works on your cameras?

Hardware_Hacker
Your strings are present in .xml file that I attached on previous page. But we don't know how Canon uses this information...
« Last Edit: 05 / December / 2016, 02:34:34 by Ant »

*

Offline c_joerg

  • *****
  • 1231
Re: EOS M3 porting
« Reply #226 on: 05 / December / 2016, 03:03:13 »
I own nine different Powershots - six of which use Canon proprietary batteries (i.e. not standard AA cells).  I have one genuine Canon battery for each and many low cost 3rd party batteries as well.   

All the Canon batteries still function properly, although the oldest have somewhat diminished capacity of course.  Of the 3rd party batteries (i have several per camera and many different "brands") more than half have swollen up enough that they don't fit into their camera very well, and about 20% will no longer charge.
 

I can agree this.
Just checked them
https://chdk.setepontos.com/index.php?topic=12939.0
Still my old batteries (15 year old) from my S45 have around 30% capacity…

It's interesting that camera is collecting information about batteries usage(G7X too) and maybe sends it to somewhere...


Note:- The LP-E17 Battery might also contain a microprocessor. !!!
...
Latest usage history of Non-Canon Battery    0011FDE0
Whether any non-Canon battery was used      0011FE14

Interesting stuff…
But what is the camera doing with a cheap plastic DC coupler?
As I know these couplers have no electronics inside…

M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline Ant

  • *****
  • 509
Re: EOS M3 porting
« Reply #227 on: 05 / December / 2016, 03:17:56 »
But what is the camera doing with a cheap plastic DC coupler?
As I know these couplers have no electronics inside…

In this case battery icon is not displayed and battery temperature is not measured
But in future I'm expecting new DC couplers with a chip. This corresponds to chosen marketing policy.
« Last Edit: 05 / December / 2016, 03:24:58 by Ant »


*

Offline c_joerg

  • *****
  • 1231
Re: EOS M3 porting
« Reply #228 on: 05 / December / 2016, 04:01:37 »
In this case battery icon is not displayed and battery temperature is not measured

Is the handling from DC couplers and non-Canon batteries different?
When yes => how the cam knows, that is a DC coupler?
When no => why it is so difficult to build non-Canon batteries?

But in future I'm expecting new DC couplers with a chip. This corresponds to chosen marketing policy.

But not actually for the M3 or G7x …
 
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline Ant

  • *****
  • 509
Re: EOS M3 porting
« Reply #229 on: 05 / December / 2016, 04:37:49 »
When yes => how the cam knows, that is a DC coupler?
the absence of thermistor

Quote
But not actually for the M3 or G7x …
and not for SX60HS too

 

Related Topics