CHDK firmware hack discussion (15)

Started Sep 3, 2007 | Discussions
microfunguy
Regular MemberPosts: 234
Like?
Re: Strange Compilation problem.
In reply to GrAnd, Sep 21, 2007

GrAnd wrote:

The compiler environment does not use cygwin

Then why does the error message refer to 'zsh' which is not part of the ready-made environment ?

It seems you have a conflict between various binaries.

Is there any way I can check this ?

If ANT and Perl variables are in the Path, can they cause a conflict ?

Or your environment is not set up properly.

Is 'Path' the only System environment variable that I have to set ?

This is very strange ..........

Reply   Reply with quote   Complain
GrAnd
Regular MemberPosts: 325
Like?
Digic III
In reply to Vit40, Sep 21, 2007

Vit40 wrote:

GrAnd, are there any news about Digic III CHDK?

It's successfully ported to G7 1.00I (not in my branch yet).
Binaries: http://www.zshare.net/download/37426216a0c975/
Sources: http://www.zshare.net/download/3742688c747661/

Reply   Reply with quote   Complain
GrAnd
Regular MemberPosts: 325
Like?
Re: Strange Compilation problem.
In reply to microfunguy, Sep 21, 2007

microfunguy wrote:

GrAnd wrote:

The compiler environment does not use cygwin

Then why does the error message refer to 'zsh' which is not part of
the ready-made environment ?

zsh.exe = sh.exe
Because it was just renamed.

It seems you have a conflict between various binaries.

Is there any way I can check this ?

Try to clean your PATH variable (just keep an environment directory).

If ANT and Perl variables are in the Path, can they cause a conflict ?

I have no idea here. But I can just say, that it could be.

I had have the problem with zsh - it crashed randomly in various places. The issue was ... (could you guess?) with web-camera server process. If I kill the web-camera related process the zsh does not crash anymore.

Or your environment is not set up properly.

Is 'Path' the only System environment variable that I have to set ?

Yes. I did not set any other variables.

This is very strange ..........

I agree. Because many people (include you in the past) use this environment.

Reply   Reply with quote   Complain
microfunguy
Regular MemberPosts: 234
Like?
Re: Strange Compilation problem.
In reply to GrAnd, Sep 21, 2007

OK, two 'actions' have recently taken place.

I have installed a Logitech webcam driver.

I do not know if this 'server' process runs if I am not running an application that uses the webcam.

I accidentally (a few days ago) ran a BAT file that deleted my system 'Path' variable and replaced it with a path variable with just the location of gmake.exe in.

On a USB drive, I do have a copy of the system as it was 12 months ago.
The 'Path' variable will not have been over-written.

I temporarily made that drive my main drive and added location of gmake.exe to 'Path'.

Same problem, but I had also installed the webcam driver a few minutes earlier.

When you say 'clean' the Path variable do you mean replace existing entry with just the location of gmake.exe ?

Does it matter if it is User or System environment variable ?

When I restarted my computer this morning there was a message about Administrator that was too fast to read, then Windows
checked the C: drive and finally reported that the system had recovered from
a serious error.

I do not know if that is because I had just installed Cygwin.

Anyway, I will remove Cygwin.

Reply   Reply with quote   Complain
GrAnd
Regular MemberPosts: 325
Like?
Re: Strange Compilation problem.
In reply to microfunguy, Sep 21, 2007

microfunguy wrote:

I have installed a Logitech webcam driver.
I do not know if this 'server' process runs if I am not running an
application that uses the webcam.

I have a Logitech web-camera too. The process name is one of: LVPrcSrv or LVComSX.

When you say 'clean' the Path variable do you mean replace existing
entry with just the location of gmake.exe ?

Yes. Just PATH to system dirs and gmake.exe.

Does it matter if it is User or System environment variable ?

User variable (if exists) overwrites the System one.

Reply   Reply with quote   Complain
microfunguy
Regular MemberPosts: 234
Like?
Re: Strange Compilation problem.
In reply to GrAnd, Sep 21, 2007

The path variable is probably causing the problem.

'David' user-variable is 'path' and only contains :-

k:\chdk\gcc\bin

System variable is 'Path' and contains :-

C:\WINDOWS\system32;C:\WINDOWS;k:\chdk\gcc\bin

So, I am not sure if they are the exact original names for PATH and if 'path' takes priority over 'Path'.

Reply   Reply with quote   Complain
jose42
Junior MemberPosts: 32
Like?
Re: Digic III
In reply to GrAnd, Sep 21, 2007

Hello GRand.
I´ve tried the CHDK in the G7, it works.
So far the only function I understood is the battery voltmeter.
On the way to lern the use of the whole system.

When I removed the card with the files (PS and DISKBOOT) the G7 went back to original.

Thanks a lot. Jose

Reply   Reply with quote   Complain
RembertRover
New MemberPosts: 9
Like?
Re: Digic III
In reply to jose42, Sep 21, 2007

Hi GrAnd,

I just tried the Hack on my G7. Works perfectly. Thanks a lot!

The CRW files the cam writes cannot be read by any of my programs. (RAW-Shooter, Lightroom, MAXView).
Everything else I tried seems to work as intended.
Card is bootable also.

Thanks again.
Rembert

Reply   Reply with quote   Complain
Vit40
Regular MemberPosts: 269
Like?
Re: Digic III
In reply to RembertRover, Sep 21, 2007

Did you try converting crw to dng with DNG4PS ? I think it should work, since sensor seems to be the same as in A640

I'll try to provide a color matrix if needed, if someone send some samples

My congratulations to GrAnd & Co for this

Vit

Reply   Reply with quote   Complain
yournamehere
Junior MemberPosts: 42
Like?
Re: Digic III
In reply to GrAnd, Sep 21, 2007

Hi GrAnd

First off, thanks a lot for your time.

I tried in my G7 and it just hangs brain dead with green power light on as soon as I confirm firmware upload and the only way to get it back into life is removing the battery.

Y copy both "PS.fir" and "Bootdisk.bin" in the root directoy of the card (I tried with two cards and downloaded three times just in case) and I get a UpgradeLog.txt back which isn't an understandable txt file, by the way.

Booted in "Play" mode, "Menu" key, scrolled down to "Firm Update" and got to the "Update firmware version? 1.0.0.0 -> 1.0.1.0" screen. Then it hangs as soon as I press the "OK" button

I have tried at different modes (auto, P, AV, M...), copying the files a few times, with both linux and windows boxes...

Any idea?

Regards

Reply   Reply with quote   Complain
marirose3657
Senior MemberPosts: 1,329Gear list
Like?
Re: Digic III
In reply to jose42, Sep 21, 2007

Which camera's version are you using for the G7? I am interested in trying this but do not know which files to download (I use the hack on my S3 and works great)

-- hide signature --

Marirose
Keep Smiling... it can always be worse!!
Canon 20D, Canon S3, Canon SD900, Canon G7 Kodak Z712 and Fuji F30

 marirose3657's gear list:marirose3657's gear list
Canon PowerShot G9 Panasonic Lumix DMC-FZ200 Canon EOS 5D Mark II Canon EOS 50D Olympus PEN E-PL2 +2 more
Reply   Reply with quote   Complain
yournamehere
Junior MemberPosts: 42
Like?
Re: Digic III
In reply to marirose3657, Sep 21, 2007

marirose3657 wrote:

Which camera's version are you using for the G7? I am interested in
trying this but do not know which files to download (I use the hack
on my S3 and works great)

this one, for sure!!!...

GrAnd wrote:

Vit40 wrote:

GrAnd, are there any news about Digic III CHDK?

It's successfully ported to G7 1.00I (not in my branch yet).
Binaries: http://www.zshare.net/download/37426216a0c975/
Sources: http://www.zshare.net/download/3742688c747661/

Reply   Reply with quote   Complain
microfunguy
Regular MemberPosts: 234
Like?
Re: Strange Compilation problem.
In reply to GrAnd, Sep 21, 2007

GrAnd wrote:

The process name is one of: LVPrcSrv or LVComSX.

UNBELIEVABLE !!!

So, installing my Logitech webcam completely messed-up the compilation process ?

How on earth did you discover that ?

What does it do that causes the problem ?

Many thanks.

David

Reply   Reply with quote   Complain
js2020
New MemberPosts: 2
Like?
Re: Digic III
In reply to yournamehere, Sep 21, 2007

i have an sd800is - will i be able to update my firmware using this fix? or must i wait until it's ported to an sd800is? thanks

Reply   Reply with quote   Complain
GrAnd
Regular MemberPosts: 325
Like?
Re: Digic III
In reply to yournamehere, Sep 21, 2007

yournamehere wrote:

Hi GrAnd

I tried in my G7 and it just hangs brain dead with green power light
on as soon as I confirm firmware upload and the only way to get it
back into life is removing the battery.

It seems that you have not the 1.00I version of original firmware. There is the another version known (1.00G), but we don't have a dump of it yet.

Reply   Reply with quote   Complain
GrAnd
Regular MemberPosts: 325
Like?
Re: Strange Compilation problem.
In reply to microfunguy, Sep 21, 2007

microfunguy wrote:

GrAnd wrote:

The process name is one of: LVPrcSrv or LVComSX.

UNBELIEVABLE !!!

So, installing my Logitech webcam completely messed-up the
compilation process ?

So, is the problem solved by killing one or both of these processes?

Reply   Reply with quote   Complain
marirose3657
Senior MemberPosts: 1,329Gear list
Like?
GrAnd
In reply to GrAnd, Sep 21, 2007

Hi and thanks for all you hard work. Is the hack available for the G7 and if so, where can I download it?
Thanks in advance.
--
Marirose
Keep Smiling... it can always be worse!!
Canon 20D, Canon S3, Canon SD900, Canon G7 Kodak Z712 and Fuji F30

 marirose3657's gear list:marirose3657's gear list
Canon PowerShot G9 Panasonic Lumix DMC-FZ200 Canon EOS 5D Mark II Canon EOS 50D Olympus PEN E-PL2 +2 more
Reply   Reply with quote   Complain
RembertRover
New MemberPosts: 9
Like?
Re: Digic III
In reply to yournamehere, Sep 21, 2007

Thats right, its the aforementioned version.
Rembert

Reply   Reply with quote   Complain
microfunguy
Regular MemberPosts: 234
Like?
Re: Strange Compilation problem.
In reply to GrAnd, Sep 21, 2007

GrAnd wrote:

So, is the problem solved by killing one or both of these processes?

Yes .... LVPrcSrv.

A Google search for 'sh.exe logitech' shows this has caused problems for a lot of people.

I wonder what it does ?

David

Reply   Reply with quote   Complain
RembertRover
New MemberPosts: 9
Like?
Re: Digic III
In reply to Vit40, Sep 21, 2007

Thank you for the advice! I got myself the DNG-Converter and it works.
What a great piece of software!

Reply   Reply with quote   Complain
Keyboard shortcuts:
FForum MMy threads