PDA

View Full Version : [cooking]simple camera driver on/off trick for cookers...


nothin
15th November 2007, 08:12 PM
small hint for mem maxxing madmen:
camera driver on/off trick(i got almost 38 mb mem with my rom without cam driver):

find something like that(just rgu part related to camera and cameradriver) in \sys rgu:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Camera]
"Dll" = "OV9650.Dll"
"Prefix" = "CAM"
"Index" = dword:1
"OperatorCode" = dword:0
"CameraKeyPosition" = dword:0
"SensorType" = dword:0
"Order"=dword:3
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}" ; GUID for generic power-manageable devices.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CameraDriver]
"Prefix"="CAP"
"Dll"="CameraDriver.dll"
"Order"=dword:10
"Index"=dword:1

make cab with these, then remove from kitchen rgu's,
add cab into autorun process.
cook, flash.
then, uninstalling cab and soft reset will give you more mem(2.5 - 3mb),
installing cab and SR will activate cam again.

it WONT work, if that reg is already in ROM.
(i do not know if any cab can remove reg entries, if so, simplier method(no cooking) would need 2 cabs).

cheerz.

da_jojo
15th November 2007, 11:49 PM
while ur at it...

im looking for a while now for a way to turn on/off the built-in flashlight
there seems to be no answer anywhere ..
there must be a registry setting for the light itself somewhere
or at least a device node and/or driver..
or its connected to the cam module and this driver from cam can only do it..
can you perhaps shine a light on this ? :)

nothin
16th November 2007, 12:32 AM
while ur at it...

im looking for a while now for a way to turn on/off the built-in flashlight
there seems to be no answer anywhere ..
there must be a registry setting for the light itself somewhere
or at least a device node and/or driver..
or its connected to the cam module and this driver from cam can only do it..
can you perhaps shine a light on this ? :)

upd: i cannot help..it may be inside cam driver...so it cannot be done, as cam or below tricks.

----------------
make an experiment:

launch task manager 2.7.
go to "devices" tab.
now, find BKL1:
hold stylus on name, then click "stop"
now, check kbd(AND phone buttons)....

BUT, you will lose "turn off backlight" timings too...did not check if "turnoff device, if not used..." timing, but possible, that it is gone too.

da_jojo
16th November 2007, 12:41 AM
no.. no.. no..

i mean the flashlight next to the camera on the back of the wizard :)

not ze backlight lol

yup these lights in the buttons are annoying too ;)

i looked in the registry and everywhere on the internet but cant find to
much of info about this.
there is a prog called VJCandela but it doesnt work on the wizard :/
i mailed the author and send him PM and more but he doesnt answer
and as far as i know there is no program that can turn on the light of the
camera..
it must have a hardware adress or a registrysetting or something like that
maybe its mapped through the camera device on the wizard , i donno
but i really need to know as i use the flashlight very often and hate it
to start the cam app and press this lightning-bolt everytime..
i just want it mapped to a button :)

nothin
16th November 2007, 12:53 AM
yeah, i took it wrong lol..

i think it is driver function, so..it may be hard to override it..
i will give you a word, if i find anything.

da_jojo
16th November 2007, 12:56 AM
lol :)

cheers mate :D

now all we have to do is strip the camera app untill there is only this lightning bolt switch left ^^

Tsuioku
18th November 2007, 10:00 AM
Looking in your !driverkamery.cab, there's also an "IClass" key in [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CameraDriver]. Or more specifically, "IClass"="{CB998A05-122C-4166-846A-933E4D7E3C86}"

Do I remove this too?

Should I also remove the [HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX\Dire ctShow\Capture] settings? Namely:
"Prefix"="PIN"
"Dll"="CameraDriver.dll"
"Order"=dword:00000011
"Index"=dword:00000001
"IClass"="{C9D092D6-827A-45E2-8144-DE1982BFC3A8}"

nothin
19th November 2007, 11:12 AM
it is not important, you may remove or leave it..imo.


btw, i made some experiments, and i see, that same method may be used to on/off trick for ircomm and error reporting devices.
(more free mem, no side effects).

patek
19th November 2007, 12:40 PM
Please give more details and cabs to reinstall them.

Thanks

it is not important, you may remove or leave it..imo.


btw, i made some experiments, and i see, that same method may be used to on/off trick for ircomm and error reporting devices.
(more free mem, no side effects).

nothin
19th November 2007, 01:11 PM
ok, i will post cabs and reg to remove(before you will install on/off cabs) ircomm, serialirda, error reporting.

link: soon.

epimazzo
19th November 2007, 06:20 PM
Nothin,

Really interesting trick!:D

With all respect I have for ya, I made the cabs. I haven't tested yet...I'm doing right away..but I guess it will work just fine. :cool: The cabs only contains those reg keys as you pointed out above.

Rgs:cool:

epimazzo
19th November 2007, 08:28 PM
OK...

I tested these 2 cabs I have posted and both are working fine at least on my Wizard!:p I got 30.21Mb free after have done the Nothins' trick! Really nice!:D See Attachment.

But as he said, you need reinstall both cabs to have you CAM working back properly! That's the bad side.:( That will be cool if it would be possible to have the CAM function without having to uninstall and install those cabs!

Anyway, that's the beginning....:cool:

epimazzo
21st November 2007, 02:15 PM
Nothin,

I'm a bit confused...

I was actually thinking over and I still haven't had a clue regarding the ON/OFF trick. I mean, if you have to install back the cabs to have CAM working fine all the time you need it, why should we use it? But if you did this trick succesfully as you mention on Paradox 4, what else Am I missing?:o
I got the extra room but no camera. To use the cam, I had to install the cabs! That's not the deal!:eek:

I'm probably doing something wrong or left a step behind...Just clear deeply this process!

Thanks man.:cool:

nothin
21st November 2007, 06:40 PM
this is simple..
you may have memory OR camera..
i think, that whole microsoft way of thinking is making OTHER way impossible.
this is so simple....
you cannot make driver/device activated without softreset.
this is NOT hotswap..

so, on system that have removed cam reg entries is a must to install cab and make SR to get it working, uninstallation removes reg entries, and system start will not have cam at all.

sorry, cannot explain it simplier.

there are NO miracles.

btw, there will be no paradox anymore, and please, do not make any comments 'bout it.