Jump to content


Photo

HTC WM6 adjusting backlight brightness (C#/C++)

- - - - -

  • Please log in to reply
7 replies to this topic

#1
taridzo

taridzo

    Newbie

  • Members
  • Pip
  • 3 posts
  • Devices:HTC Touch P3450
I have a HTC Touch WM6 and cannot find a working solution to programmatically adjust the backlight brightness. All the solutions I find seem to have worked on early devices. Does anyone have an idea how HTC implements the backlight driver? Thanks in advance for any help.

  • 0

#2
shootydogthing

shootydogthing

    Diehard

  • Members
  • PipPipPipPip
  • 313 posts
  • Location:Edinburgh
  • Devices:MDA Vario III
You can add a backlight button to the HTC Homeplug, aside from that it's in the settings

  • 0

#3
taridzo

taridzo

    Newbie

  • Members
  • Pip
  • 3 posts
  • Devices:HTC Touch P3450

You can add a backlight button to the HTC Homeplug, aside from that it's in the settings


Thanks for the response, but would the HTC Homeplugin have a programming interface that I can use in C# or C++. For instance, does it have a brightness.exe that I can call within my program with commandline arguments?

  • 0

#4
Mr_Gee

Mr_Gee

    Regular

  • Members
  • PipPip
  • 73 posts
  • Devices:MDA Vario 3

Thanks for the response, but would the HTC Homeplugin have a programming interface that I can use in C# or C++. For instance, does it have a brightness.exe that I can call within my program with commandline arguments?

thats something I'd also like to see

Offtopic
Something similar for the sound level would also be nice :-)

  • 0

#5
shootydogthing

shootydogthing

    Diehard

  • Members
  • PipPipPipPip
  • 313 posts
  • Location:Edinburgh
  • Devices:MDA Vario III
O.o'
Sorry, can't help. no idea what you're going on about. :D

  • 0

#6
NuShrike

NuShrike

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 291 posts
  • Gender:Male
  • Devices:T-Mobile HD2/G2, Nexus 7
Disassemble backlight.dll. That's how I got my program working.

You'll need to DeviceIoControl("BKL1:") and send it some control codes. The HTCutil.dll has most of the API you need.

When I have more free time, I can put out an exe you can call to with params to do that ... otherwise, I'm sure you can figure it out.

Edited by NuShrike, 01 May 2008 - 07:42 PM.

  • 0
KaiserSimFix: soft-reset-safe sim contacts hiding
CamerAware Buddy | HTCClassAction.org | KaiserGL SDK | LevelSight | FusionGPSFix
Support what I do and buy me a drink.

#7
taridzo

taridzo

    Newbie

  • Members
  • Pip
  • 3 posts
  • Devices:HTC Touch P3450

Disassemble backlight.dll. That's how I got my program working.

You'll need to DeviceIoControl("BKL1:") and send it some control codes. The HTCutil.dll has most of the API you need.

When I have more free time, I can put out an exe you can call to with params to do that ... otherwise, I'm sure you can figure it out.


That sound exciting already, NuShrike. I'd greatly appreciate the exe (and code possibly?). I'm not sure how I should dissamble a dll file, the best i've done is getting the exported methods names (e.g. BKL_Open).

  • 0

#8
karpikpl

karpikpl

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:ASSUS p552

That sound exciting already, NuShrike. I'd greatly appreciate the exe (and code possibly?). I'm not sure how I should dissamble a dll file, the best i've done is getting the exported methods names (e.g. BKL_Open).


can someone please help...
I need to fix this backlight problem but I don't know how to get and dissasemble backlight.dll

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users