guillaumezin / nvidiabl

/!\ Please note that I don't maintain this repository anymore, please have a look at forked projects. /!\
82 stars 82 forks source link

Y500 GT 750M (product 20193) max brightness incorrect #81

Open Githlar opened 10 years ago

Githlar commented 10 years ago

Not really sure how I managed to get this rectified, but upon initial load and several subsequent reloads of nvidiabl, the auto-detected max brightness just wasn't truly the max. However, somehow I managed to trick it into auto-detecting the actual max of the display.

Anyway, I've been playing with it a bit and I can get it to auto-detect the correct max value constantly and seemingly correctly after many unloads/reloads of the module afterwards.

$ dmesg | tail -n 13 [ 9198.167374] nvidiabl: loading driver version 0.85 [ 9198.167383] nvidiabl: LENOVO - 20193 model detected in DMI tables [ 9198.167392] nvidiabl: Supported Nvidia graphics adapter 10de:0fe4:17aa:3802 detected [ 9198.167434] nvidiabl: smartdimmer register at address 0xc261c084 mapped at address 0xffffc900040d6084 [ 9198.167436] nvidiabl: backlight type is raw [ 9198.167494] nvidiabl: backup register value 0x40020f58 [ 9198.167495] nvidiabl: autodetecting maximum [ 9198.167496] nvidiabl: using value 0x20f58 as maximum [ 9198.167497] nvidiabl: autodetecting off [ 9198.167498] nvidiabl: using value 0x0 as off [ 9198.167499] nvidiabl: autodetecting minimum [ 9198.167501] nvidiabl: minimum is 5% of maximum [ 9198.167502] nvidiabl: using value 0x1a5e as minimum

From a reboot, the max value gets auto-detected incorrectly as 0x2650.

guillaumezin commented 10 years ago

The max will be fixed to 0x20f58 in version 0.86