Contribute
Register

Enable Internal display when disconnecting from Dockingstation

Status
Not open for further replies.
How do you boot with the lid closed? The power button is under the lid. Lid must be opened to access the power button...
Docking station has power button. So you can power up laptop with lid closed :).
 
Compiled latest code from your repository.

Output:
Code:
8/18/15 11:35:10.000 PM kernel[0]: ACPIBacklightPanel::setDisplay()
8/18/15 11:35:10.000 PM kernel[0]: enter ACPIBacklightPanel::doUpdate()
8/18/15 11:35:10.000 PM kernel[0]: exit ACPIBacklightPanel::doUpdate()
8/18/15 11:35:10.000 PM kernel[0]: enter ACPIBacklightPanel::doUpdate()
8/18/15 11:35:10.000 PM kernel[0]: exit ACPIBacklightPanel::doUpdate()
8/18/15 11:35:10.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("brightness", 255)
8/18/15 11:35:10.000 PM kernel[0]: ACPIBacklightPanel::setBrightnessLevelSmooth(960)
8/18/15 11:35:11.000 PM kernel[0]: enter ACPIBacklightPanel::doUpdate()
8/18/15 11:35:11.000 PM kernel[0]: exit ACPIBacklightPanel::doUpdate()
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("brightness", 960)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::setBrightnessLevelSmooth(960)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("bklt", 1592)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("rgsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("ggsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("bgsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("gsc ", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("vblm", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("commit", 0)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("flush", 0)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::processWorkQueue() _workPending=3
8/18/15 11:35:11.000 PM kernel[0]: enter ACPIBacklightPanel::doUpdate()
8/18/15 11:35:11.000 PM kernel[0]: exit ACPIBacklightPanel::doUpdate()
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("brightness", 960)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::setBrightnessLevelSmooth(960)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("bklt", 1592)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("rgsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("ggsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("bgsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("gsc ", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("vblm", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("commit", 0)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("flush", 0)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::processWorkQueue() _workPending=3
 
Docking station has power button. So you can power up laptop with lid closed :).

I don't have a docking station (and the 4540s doesn't take one).

You'll need to use the debug version to discover what is going on.

I can't fix what I can't test...
 
Compiled latest code from your repository.

Output:
Code:
8/18/15 11:35:10.000 PM kernel[0]: ACPIBacklightPanel::setDisplay()
8/18/15 11:35:10.000 PM kernel[0]: enter ACPIBacklightPanel::doUpdate()
8/18/15 11:35:10.000 PM kernel[0]: exit ACPIBacklightPanel::doUpdate()
8/18/15 11:35:10.000 PM kernel[0]: enter ACPIBacklightPanel::doUpdate()
8/18/15 11:35:10.000 PM kernel[0]: exit ACPIBacklightPanel::doUpdate()
8/18/15 11:35:10.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("brightness", 255)
8/18/15 11:35:10.000 PM kernel[0]: ACPIBacklightPanel::setBrightnessLevelSmooth(960)
8/18/15 11:35:11.000 PM kernel[0]: enter ACPIBacklightPanel::doUpdate()
8/18/15 11:35:11.000 PM kernel[0]: exit ACPIBacklightPanel::doUpdate()
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("brightness", 960)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::setBrightnessLevelSmooth(960)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("bklt", 1592)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("rgsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("ggsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("bgsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("gsc ", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("vblm", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("commit", 0)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("flush", 0)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::processWorkQueue() _workPending=3
8/18/15 11:35:11.000 PM kernel[0]: enter ACPIBacklightPanel::doUpdate()
8/18/15 11:35:11.000 PM kernel[0]: exit ACPIBacklightPanel::doUpdate()
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("brightness", 960)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::setBrightnessLevelSmooth(960)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("bklt", 1592)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("rgsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("ggsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("bgsc", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("gsc ", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("vblm", 65536)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("commit", 0)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet("flush", 0)
8/18/15 11:35:11.000 PM kernel[0]: ACPIBacklightPanel::processWorkQueue() _workPending=3

Looks like brightness was set to 960 (about 93%).
 
By the way, I don't have a docking station neither but external monitor connected through HDMI.
 
What that means?

Not sure... Aren't you having some sort of issue with backlight (suspected)?

I think there may be two separate people with separate problems crowding the same thread.
 
Not sure... Aren't you having some sort of issue with backlight (suspected)?
On cold boot with lid open there are no issues with backlight.
 
Should I open a new thread?
 
On restart with lid closed.

Code:
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::probe()
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::findDevices()
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::hasBacklightMethods()
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: ACPI device PNLF has _BCL
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: ACPI device PNLF has XBCM/XBQC
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: PNLF has backlight Methods
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklight: ACPI Methods _DOS _BCL _BCM _BQC found. Device path: _SB.PCI0.IGPU.PNLF
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: probe(devices found : true)
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: PNLF has backlight Methods
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::start()
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::findDevices()
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::getDeviceControl()
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: BIOS control disabled: _DOS
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::hasSAVEMethod()
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::setupIndexedLevels()
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::queryACPISupportedBrightnessLevels()
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: PNLF _BCL 67
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: findIndexForLevel(1808) is 63
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: findIndexForLevel(479) is 31
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::loadFromNVRAM()
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: no /chosen/nvram, trying IODTNVRAM
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: read level from nvram = 0
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: loadFromNVRAM returns 0
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: findIndexForLevel(0) is 0
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: current brightness: 0 (0)
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: setting to value from nvram 0
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel::setBrightnessLevelSmooth(0)
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklightPanel: min = 0, max = 64
8/19/15 7:49:43.000 PM kernel[0]: ACPIBacklight: Version 3.0.3
 
Status
Not open for further replies.
Back
Top