社区应用 社区服务 最新帖子 精华区 搜索 帮助
主题 : 个人提取的sony nvidia显卡亮度调节代码,基本全面
级别: 骑士
UID: 55811
精华: 1
发帖: 18
金钱: 119 天空币
威望: 100 点
金币: 0 个
在线时间: 9(时)
注册时间: 2010-05-14
最后登录: 2013-01-23
楼主  发表于: 2012-02-17  

个人提取的sony nvidia显卡亮度调节代码,基本全面

管理提醒: 本帖被 鬼哭神嚎 执行置顶操作(2012-03-03)
年前在研究旧版(for vista)的sony官方驱动时偶然发现了用来键盘调节亮度的代码,当时发现了三种代码分别对应三种显示器的硬件ID,今日研究最新版的sony官方驱动时发现9组代码,和旧版驱动上的基本不相同,但是在我的8400M GS上测试可用,驱动修改添加代码的方法是我总结的,不知道是否完全正确,因为我只有一台sony的电脑,欢迎测试
代码如下:
[FAEIDS_630_640_addreg]
HKR,,OverrideEdidFlags0,%REG_BINARY%,7C,00,00,00,00,00,FF,FF,04,00,00,00,08,02,36,7F
HKR,,OverrideEdidFlags1,%REG_BINARY%,36,7f,45,00,00,00,ff,ff,0d,00,00,00,41,3e,0f,42,c9,10,00,00,18,e0,2e,a0,a0,50,84,58,32,20,50,cc,0f,42,c9,10,00,00,18,00,00,00,fc,00,4e,76,69,64,69,61,20,44,65,66,61,75,6c,00,00,00,fc,00,74,20,46,6c,61,74,20,50,61,6e,65,6c,00,00
HKR,,OverrideEdidFlags2,%REG_BINARY%,36,7f,4a,00,00,00,ff,ff,0d,00,00,00,41,3e,0f,42,c9,10,00,00,18,98,3a,90,40,61,1a,c2,41,60,82,cc,0f,42,c9,10,00,00,18,00,00,00,fc,00,4e,76,69,64,69,61,20,44,65,66,61,75,6c,00,00,00,fc,00,74,20,46,6c,61,74,20,50,61,6e,65,6c,00,00
HKR,,Panel0B,%REG_SZ%,",MS_,,0045"
HKR,,Panel0C,%REG_SZ%,",MS_,,004A"
[FAEIDS_78_addreg]
HKR,,OverrideEdidFlags0,%REG_BINARY%,7C,00,00,00,00,00,FF,FF,04,00,00,00,08,02,36,7F
HKR,,OverrideEdidFlags1,%REG_BINARY%,36,7f,fa,08,00,00,ff,ff,0d,00,00,00,15,6A,29,17,00,EA,A8,E0,99,57,4B,92,25,1C,50,54,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,37,2F,90,84,61,B1,1E,30,20,30,26,00,98,E6,10,00,00,18,9C,27,90,90,61,B1,1E,30,20,30,26,00,98,E6,10,00,00,18,00,00,00,FC,00,4E,76,69,64,69,61,20,44,65,66,61,75,6C,00,00,00,FC,00,74,20,46,6C,61,74,20,50,61,6E,65,6C,00,00
HKR,,OverrideEdidFlags2,%REG_BINARY%,36,7f,25,00,00,00,ff,ff,0d,00,00,00,15,6A,29,17,00,EA,A8,E0,99,57,4B,92,25,1C,50,54,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,69,3A,80,18,71,38,36,40,50,32,4A,00,99,E6,10,00,00,18,BB,30,80,20,71,38,32,40,50,32,4A,04,99,E6,10,00,00,18,00,00,00,FC,00,4E,76,69,64,69,61,20,44,65,66,61,75,6C,00,00,00,FC,00,74,20,46,6C,61,74,20,50,61,6E,65,6C,00,00
HKR,,Panel01,%REG_SZ%,",MS_,,08FA"
HKR,,Panel02,%REG_SZ%,",MS_,,0025"
HKR,,Panel03,%REG_SZ%,",MS_,,0025"
[FAEIDS_81_addreg]
HKR,,OverrideEdidFlags0,%REG_BINARY%,7C,00,00,00,00,00,FF,FF,04,00,00,00,08,02,36,7F
HKR,,OverrideEdidFlags1,%REG_BINARY%,36,7f,4A,00,00,00,ff,ff,0d,00,00,00,15,6A,2B,1B,00,EA,A8,E0,99,57,4B,92,25,1C,50,54,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,40,38,90,08,62,1A,2A,40,62,C4,5A,00,B1,0F,11,00,00,18,40,38,90,D0,62,1A,96,40,62,C4,5A,00,B1,0F,11,00,00,18,00,00,00,FC,00,4E,76,69,64,69,61,20,44,65,66,61,75,6C,00,00,00,FC,00,74,20,46,6C,61,74,20,50,61,6E,65,6C,00,00
HKR,,Panel01,%REG_SZ%,",MS_,,004A"
[FAEIDS_82_addreg]
HKR,,OverrideEdidFlags0,%REG_BINARY%,7C,00,00,00,00,00,FF,FF,04,00,00,00,08,02,36,7F
HKR,,OverrideEdidFlags1,%REG_BINARY%,36,7f,4A,00,00,00,ff,ff,0d,00,00,00,48,37,40,38,90,D0,62,1A,96,40,62,C4,5A,00,42,C9,10,00,00,18,00,00,00,FC,00,4E,76,69,64,69,61,20,44,65,66,61,75,6C,00,00,00,FC,00,74,20,46,6C,61,74,20,50,61,6E,65,6C,00,00
HKR,,OverrideEdidFlags2,%REG_BINARY%,36,7f,26,00,00,00,ff,ff,0d,00,00,00,48,37,DC,32,80,B4,70,B0,28,40,1A,34,5B,00,42,C9,10,00,00,18,00,00,00,FC,00,4E,76,69,64,69,61,20,44,65,66,61,75,6C,00,00,00,FC,00,74,20,46,6C,61,74,20,50,61,6E,65,6C,00,00
HKR,,Panel01,%REG_SZ%,",MS_,,004A"
HKR,,Panel02,%REG_SZ%,",MS_,,0026"
[FAEIDS_84_addreg]
HKR,,OverrideEdidFlags0,%REG_BINARY%,7C,00,00,00,00,00,FF,FF,04,00,00,00,08,02,36,7F
HKR,,OverrideEdidFlags1,%REG_BINARY%,36,7f,26,00,00,00,ff,ff,0d,00,00,00,48,37,DC,32,80,B4,70,B0,28,40,1A,34,5B,00,42,C9,10,00,00,18,00,00,00,FC,00,4E,76,69,64,69,61,20,44,65,66,61,75,6C,00,00,00,FC,00,74,20,46,6C,61,74,20,50,61,6E,65,6C,00,00
HKR,,Panel01,%REG_SZ%,",MS_,,0026"
[FAEIDS_MS0026_addreg]
HKR,,OverrideEdidFlags0,%REG_BINARY%,7C,00,26,00,00,00,FF,FF,04,00,00,00,08,02,36,7F
HKR,,Panel04,%REG_SZ%,",MS_,,0026"
[FAEIDS_MS0040_addreg]
HKR,,OverrideEdidFlags0,%REG_BINARY%,7C,00,40,00,00,00,FF,FF,04,00,00,00,08,02,36,7F
HKR,,Panel01,%REG_SZ%,",MS_,,0040"
HKR,,Panel02,%REG_SZ%,",MS_,,0040"
HKR,,Panel04,%REG_SZ%,",MS_,,0040"
HKR,,Panel05,%REG_SZ%,",MS_,,0040"
[FAEIDS_MS0045_addreg]
HKR,,OverrideEdidFlags0,%REG_BINARY%,7C,00,45,00,00,00,FF,FF,04,00,00,00,08,02,36,7F
HKR,,Panel01,%REG_SZ%,",MS_,,0045"
HKR,,Panel02,%REG_SZ%,",MS_,,0045"
每个[ ]跟下个[ ]之间的内容即为一种代码;其中MS0045,MS0040,MS0026等能确认代表的是显示器的硬件ID(不必全部对应)其它的是否代表硬件ID不能确认,猜想应该是,即使不是也一定和显示器的代号有关。
添加亮度调节代码的方法:
首先通过显卡硬件ID查找驱动中的控制文件对应的是哪个Section(章节)如sony的8400M GS的硬件ID为PCI\VEN_10DE&DEV_0427&SUBSYS_9008104D 其对应的Section为%NVIDIA_DEV.0427.9008.104D% = Section002
找到[ Section002]将亮度调节代码复制到该章节中,并在章节中添加上AddReg = FAEIDS_MS0040_addreg ( [ ]中的文字)
完整修改好的sony nvidia 8400M GS显卡,所用显示屏为MS0040文件如下:
[Section002]
AddReg = FAEIDS_MS0040_addreg
AddReg = nv_DRS_addreg
AddReg = nv_FTS_addreg
AddReg = nv_commonBase_addreg
AddReg = nv_commonDisplayModes_addreg__02
AddReg = nv_controlPanel_addreg
AddReg = nv_global_addreg
AddReg = nv_miscBase_addreg__02
AddReg = nv_opengl_addreg
AddReg = nv_timingRestrictions_addreg__01
CopyFiles = nv_Drs_copyfiles
CopyFiles = nv_cplSetup_copyfiles
CopyFiles = nv_license_copyfiles
CopyFiles = nv_sysDrivers_copyfiles
CopyFiles = nv_system32_copyfiles
DelFiles = nv_sysDrivers_delfiles
DelFiles = nv_system32_delfiles
DelFiles = nv_system64_delfiles
DelReg = nv_clearRegistrySwitches_delreg
FeatureScore = E6
RegisterDLLs = nv_common_registerdll__02
[Section002.CoInstallers]
AddReg = nv_commonCoinstaller_addreg
CopyFiles = nv_coinstaller_copyfiles
[Section002.GeneralConfigData]
MaximumDeviceMemoryConfiguration = 128
MaximumNumberOfDevices = 4

[FAEIDS_MS0040_addreg]
HKR,,OverrideEdidFlags0,%REG_BINARY%,7C,00,40,00,00,00,FF,FF,04,00,00,00,08,02,36,7F
HKR,,Panel01,%REG_SZ%,",MS_,,0040"
HKR,,Panel02,%REG_SZ%,",MS_,,0040"
HKR,,Panel04,%REG_SZ%,",MS_,,0040"
HKR,,Panel05,%REG_SZ%,",MS_,,0040"

[Section002.Services]
AddService = nvlddmkm, 0x00000002, nv_nvlddmkm_serviceInstall
驱动安装时应该是可以升级安装的,如果先卸载原驱动再安装时重启后一定先确认设备管理器中的显卡上有无黄色叹号,如果有请刷新硬件待安装上系统自认的驱动重启后再装新驱动,否则可能不能调亮度

本修改方法适用于自行修改nvidia公版驱动为兼容sony硬件后不能用键盘调节亮度的情形,如果连修改公版驱动的方法都还不会的先自行补课后再来研究
级别: 侠客
UID: 15933
精华: 0
发帖: 12
金钱: 32 天空币
威望: 2 点
金币: 0 个
在线时间: 9(时)
注册时间: 2008-08-17
最后登录: 2015-10-26
沙发  发表于: 2012-02-25  
楼主,怎样确定本机显示器的硬件ID?还有就是A卡和I卡的驱动调节有没有代码了?
级别: 新手
UID: 79009
精华: 0
发帖: 1
金钱: 1 天空币
威望: 0 点
金币: 0 个
在线时间: 0(时)
注册时间: 2012-02-25
最后登录: 2012-02-25
板凳  发表于: 2012-02-25  
楼主是高手呀
级别: 管理员
UID: 30
精华: 3
发帖: 8031
金钱: 9156 天空币
威望: 1683 点
金币: 38 个
在线时间: 3185(时)
注册时间: 2007-06-29
最后登录: 2017-08-18
3楼  发表于: 2012-02-25  
也就是需要知道显示器的硬件ID,是读取显示器都EDID信息吗?

可以用AIDA64看下相关信息。

【SONY VAIO 热键看这里】SONY热键如果声音正常说明热键组合没有问题,是SONY NC没有安装或者显卡驱动不对。

我不在线有问题可以微博留言给我。http://weibo.com/goroma
级别: 骑士
UID: 55811
精华: 1
发帖: 18
金钱: 119 天空币
威望: 100 点
金币: 0 个
在线时间: 9(时)
注册时间: 2010-05-14
最后登录: 2013-01-23
4楼  发表于: 2012-03-03  
回 3楼(鬼哭神嚎) 的帖子
aida64可以看到,电脑的设备管理器中也看得到
级别: 新手
UID: 91852
精华: 0
发帖: 1
金钱: 2 天空币
威望: 0 点
金币: 0 个
在线时间: 2(时)
注册时间: 2012-09-02
最后登录: 2012-09-10
5楼  发表于: 2012-09-10  
显示屏幕的硬件ID为:MONITOR\SNY06FA
要用哪个代吗,谢谢!
机器是VPCZ127FC
级别: 侠客
UID: 79435
精华: 0
发帖: 15
金钱: 36 天空币
威望: 0 点
金币: 0 个
在线时间: 4(时)
注册时间: 2012-03-02
最后登录: 2016-02-06
6楼  发表于: 2012-10-02  
回 楼主(1377495) 的帖子
你好,我的显示器ID为HSD03E9,请问要用那个代码呢,机器型号是VPCM128jc的上网本,拜托了,XP驱动用不了,用win7慢得像龟速。
新手,注意,是新手。
级别: 侠客
UID: 79435
精华: 0
发帖: 15
金钱: 36 天空币
威望: 0 点
金币: 0 个
在线时间: 4(时)
注册时间: 2012-03-02
最后登录: 2016-02-06
7楼  发表于: 2012-10-02  
回 楼主(1377495) 的帖子
不好意思了,这才是id:PCI\VEN_8086&DEV_A011&SUBSYS_9075104D&REV_00
,请问应该用哪个代码。
新手,注意,是新手。
级别: 新手
UID: 77095
精华: 0
发帖: 1
金钱: 22 天空币
威望: 0 点
金币: 0 个
在线时间: 0(时)
注册时间: 2012-01-26
最后登录: 2015-08-25
8楼  发表于: 2014-02-10  
我的代码是这个Monitor\SNY05FA
用哪个呢?
描述
快速回复

验证问题:
戴尔的英文名是什么【英文大写】 正确答案:DELL
按"Ctrl+Enter"直接提交