Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightpack LED´s are not shutdown when windows pc goes to standby #28

Closed
Tobias-De opened this issue Mar 10, 2016 · 14 comments
Closed

Lightpack LED´s are not shutdown when windows pc goes to standby #28

Tobias-De opened this issue Mar 10, 2016 · 14 comments

Comments

@Tobias-De
Copy link

Hi, i updatet yesterday to Version 5.11.2.6
Everytime i put my Windows 10 (64 bit) Computer to standy or shut it down the 2 Lightpacks i have stay on.
The Options
"keep light ON after lock computer"
and
"keep lights ON after exit" are not checked.
I have the 2 Lightpacks powered by an active usb hub.
in Logfile there is only this after i boot the computer after the shutdown again:
`

15:30:48:491 Debug: void __cdecl SettingsWindow::ledDeviceOpenSuccess(bool) true
22:29:36:326 Warning: enum GrabResult __cdecl DDuplGrabber::grabScreens(void) Lost Access to desktop 0x10001: 0x887A0026, requesting realloc
22:29:36:344 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:362 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:395 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:435 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:464 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:494 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:517 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:564 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:595 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:627 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:664 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:695 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:734 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:755 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:794 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:814 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:854 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:878 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:915 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:949 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:36:972 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:015 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:034 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:064 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:099 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:128 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:164 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:194 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:224 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:264 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:295 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:318 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:354 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:377 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:408 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:444 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:471 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:514 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:544 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:564 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:598 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:635 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:658 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:705 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:724 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:753 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:788 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:815 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:845 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:878 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:914 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:954 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:37:974 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5
22:29:38:004 Warning: unsigned long __cdecl DDuplGrabberThreadProc(void *) Failed to open input desktop: 5

`

Is this a Problem from the that i use an active usb hub?

@psieg
Copy link
Owner

psieg commented Mar 11, 2016

Did it work properly on 5.11.2.5?
I would be surprised, but have you tried running the Lightpacks from the PC directly without a hub? That should help narrowing down the problem. I currently have no device available to test things.
The log entries you posted are from the time on the logon screen and probably not related. I'm not sure why there are so many of them, I'll have to test that when I have time.

@Tobias-De
Copy link
Author

After some more testing i can say the problem is with windows 10 standy.
this is the full Log. i marked when i hit standby and when i hit shutdown
i think the problem was also in "5.11.2.5"
Problem is "not" without the usb hub, because the lightpacks are "forcefully" powered off (they flash bright white then) because then there is no power on usb.
This means Prismatik does not turn of the Lightpack at all, when the pc goes to standby. :/

2016_03_11 11:53:25:504 Prismatik 5.11.2.6
11:53:25:526 Debug: __cdecl LightpackApplication::LightpackApplication(int &,char *)
11:53:25:526 Debug: Prismatik: 5.11.2.6 rev. 9015752
11:53:25:526 Debug: Build with Qt verison: 5.5.0
11:53:25:526 Debug: Qt version currently in use: 5.5.0
11:53:25:526 Debug: Unknown windows version: 192
11:53:25:527 Debug: bool __cdecl SettingsScope::Settings::Initialize(const class QString &,bool)
11:53:25:527 Debug: class QString __cdecl SettingsScope::Settings::getMainConfigPath(void) "C:/Users/user/Prismatik/main.conf"
11:53:25:527 Debug: class QString __cdecl SettingsScope::Settings::getMainConfigPath(void) "C:/Users/user/Prismatik/main.conf"
11:53:25:529 Debug: bool __cdecl SettingsScope::Settings::Initialize(const class QString &,bool) debugLevel = 1
11:53:25:532 Debug: Settings file: "C:/Users/user/Prismatik/Profiles/Lightpack.ini"
11:53:25:532 Debug: void __cdecl SettingsScope::Settings::initDevicesMap(void)
11:53:25:532 Debug: void __cdecl SettingsScope::Settings::initCurrentProfile(bool) false
11:53:25:536 Debug: void __cdecl SettingsScope::Settings::initCurrentProfile(bool) led
11:53:25:537 Debug: __cdecl SettingsWindow::SettingsWindow(class QWidget *) thread id: 0x15b8
11:53:25:538 Warning: libpng warning: iCCP: known incorrect sRGB profile
11:53:25:539 Warning: libpng warning: iCCP: known incorrect sRGB profile
11:53:25:539 Warning: libpng warning: iCCP: known incorrect sRGB profile
11:53:25:540 Warning: libpng warning: iCCP: known incorrect sRGB profile
11:53:25:540 Warning: libpng warning: iCCP: known incorrect sRGB profile
11:53:25:541 Warning: libpng warning: iCCP: known incorrect sRGB profile
11:53:25:851 Debug: void __cdecl SettingsWindow::initLanguages(void)
11:53:25:851 Debug: void __cdecl SettingsWindow::initVirtualLeds(int) 10
11:53:25:852 Debug: void __cdecl SettingsWindow::loadTranslation(const class QString &) ""
11:53:25:852 Debug: void __cdecl SettingsScope::Settings::setLanguage(const class QString &)
11:53:25:852 Debug: System locale "de_DE"
11:53:25:852 Debug: void __cdecl SettingsScope::Settings::setLanguage(const class QString &)
11:53:25:852 Warning: Fail load translation for locale "de_DE" pathToLocale ":/translations/de_DE"
11:53:25:873 Debug: __cdecl SettingsWindow::SettingsWindow(class QWidget *) initialized
11:53:25:873 Debug: void __cdecl SettingsWindow::createTrayIcon(void)
11:53:25:873 Debug: void __cdecl SysTrayIconPrivate::createActions(void)
11:53:25:875 Debug: class QStringList __cdecl SettingsScope::Settings::findAllProfiles(void)
11:53:25:878 Debug: void __cdecl SettingsWindow::connectSignalsSlots(void)
11:53:25:879 Warning: QObject::connect: No such slot SettingsWindow::onHotkeyChanged(QString,QKeySequence,QKeySequence)
11:53:25:879 Warning: QObject::connect: (receiver name: 'SettingsWindow')
11:53:25:879 Debug: void __cdecl LightpackApplication::startLedDeviceManager(void)
11:53:25:879 Debug: void __cdecl LightpackPluginInterface::initColors(int) 10
11:53:25:879 Debug: void __cdecl LightpackApplication::startLedDeviceManager(void) end
11:53:25:879 Debug: void __cdecl LightpackApplication::startApiServer(void) Start API server
11:53:25:879 Debug: void __cdecl ApiServerSetColorTask::setApiDeviceNumberOfLeds(int) 20
11:53:25:879 Debug: void __cdecl ApiServer::setInterface(class LightpackPluginInterface *) "1.5"
11:53:25:879 Warning: QObject::connect: No such slot LightpackPluginInterface::updateColors(const QList &)
11:53:25:879 Debug: void __cdecl LedDeviceManager::initLedDevice(void)
11:53:25:879 Debug: class AbstractLedDevice *__cdecl LedDeviceManager::createLedDevice(enum SupportedDevices::DeviceType) SupportedDevices::LightpackDevice
11:53:25:879 Debug: void __cdecl LightpackApplication::initGrabManager(void)
11:53:25:879 Debug: __cdecl LedDeviceLightpack::LedDeviceLightpack(class QObject *)
11:53:25:879 Debug: __cdecl GrabManager::GrabManager(class QWidget *)
11:53:25:879 Debug: __cdecl LedDeviceLightpack::LedDeviceLightpack(class QObject *) thread id: 0x15f0
11:53:25:879 Debug: void __cdecl GrabManager::initGrabbers(void)
11:53:25:879 Debug: __cdecl LedDeviceLightpack::LedDeviceLightpack(class QObject *) initialized
11:53:25:879 Debug: int __cdecl SettingsScope::Settings::getGrabSlowdown(void)
11:53:25:880 Debug: int __cdecl SettingsScope::Settings::getGrabSlowdown(void)
11:53:25:880 Debug: enum Grab::GrabberType __cdecl SettingsScope::Settings::getGrabberType(void)
11:53:25:880 Debug: class GrabberBase *__cdecl GrabManager::queryGrabber(enum Grab::GrabberType) grabberType: 7
11:53:25:880 Debug: int __cdecl SettingsScope::Settings::getGrabSlowdown(void)
11:53:25:880 Debug: void __cdecl GrabberBase::setGrabInterval(int) DDuplGrabber
11:53:25:880 Debug: void __cdecl GrabManager::initColorLists(int) 10
11:53:25:880 Debug: void __cdecl GrabManager::initLedWidgets(int) 10
11:53:25:880 Debug: void __cdecl GrabManager::initLedWidgets(int) First widget initialization
11:53:25:880 Debug: void __cdecl LedDeviceLightpack::updateDeviceSettings(void) LedDeviceManager(0x22d8bb138e0)
11:53:25:880 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 0
11:53:25:880 Debug: void __cdecl LedDeviceLightpack::closeDevices(void)
11:53:25:880 Debug: void __cdecl LedDeviceLightpack::open(void) "hid_open(0x1d50, 0x6022)"
11:53:25:881 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 0
11:53:25:881 Debug: void __cdecl GrabManager::initLedWidgets(int) Append 9 grab widgets
11:53:25:881 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 1
11:53:25:882 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 1
11:53:25:883 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 2
11:53:25:883 Debug: found Lightpack, serial number: "95330313939351D0B1C0"
11:53:25:883 Debug: found Lightpack, serial number: "95230303231351E05070"
11:53:25:883 Debug: void __cdecl LedDeviceLightpack::open(void) Lightpack opened
11:53:25:883 Debug: void __cdecl LedDeviceLightpack::updateDeviceSettings(void) LedDeviceManager(0x22d8bb138e0)
11:53:25:883 Debug: void __cdecl LedDeviceLightpack::setRefreshDelay(int) 100
11:53:25:883 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 2
11:53:25:884 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 3
11:53:25:885 Debug: void __cdecl LedDeviceLightpack::setColorDepth(int) 128
11:53:25:885 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 3
11:53:25:885 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 4
11:53:25:885 Debug: void __cdecl LedDeviceLightpack::setSmoothSlowdown(int) 30
11:53:25:886 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 4
11:53:25:886 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 5
11:53:25:886 Debug: void __cdecl LedDeviceLightpack::requestFirmwareVersion(void)
11:53:25:886 Debug: bool __cdecl LedDeviceLightpack::readDataFromDevice(void)
11:53:25:886 Debug: void __cdecl LedDeviceLightpack::requestFirmwareVersion(void) Version: "0.0"
11:53:25:886 Debug: bool __cdecl LedDeviceLightpack::tryToReopenDevice(void) Reopen success
11:53:25:886 Debug: void __cdecl LedDeviceLightpack::setRefreshDelay(int) 100
11:53:25:887 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 5
11:53:25:887 Debug: void __cdecl LedDeviceLightpack::setColorDepth(int) 128
11:53:25:887 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 6
11:53:25:888 Debug: void __cdecl LedDeviceLightpack::setSmoothSlowdown(int) 30
11:53:25:888 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 6
11:53:25:888 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 7
11:53:25:889 Debug: void __cdecl LedDeviceLightpack::requestFirmwareVersion(void)
11:53:25:889 Debug: bool __cdecl LedDeviceLightpack::readDataFromDevice(void)
11:53:25:889 Debug: void __cdecl LedDeviceLightpack::requestFirmwareVersion(void) Version: "0.0"
11:53:25:889 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 7
11:53:25:890 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 8
11:53:25:891 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 8
11:53:25:891 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 9
11:53:25:892 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 9
11:53:25:892 Debug: void __cdecl GrabManager::updateScreenGeometry(void)
11:53:25:892 Debug: void __cdecl GrabManager::settingsProfileChanged(const class QString &)
11:53:25:892 Debug: void __cdecl GrabManager::setNumberOfLeds(int) 20
11:53:25:892 Debug: void __cdecl GrabManager::initColorLists(int) 20
11:53:25:892 Debug: void __cdecl GrabManager::initLedWidgets(int) 20
11:53:25:892 Debug: void __cdecl GrabManager::initLedWidgets(int) Append 10 grab widgets
11:53:25:892 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 10
11:53:25:893 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 10
11:53:25:894 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 11
11:53:25:895 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 11
11:53:25:895 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 12
11:53:25:896 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 12
11:53:25:896 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 13
11:53:25:897 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 13
11:53:25:897 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 14
11:53:25:898 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 14
11:53:25:898 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 15
11:53:25:899 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 15
11:53:25:900 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 16
11:53:25:901 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 16
11:53:25:901 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 17
11:53:25:902 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 17
11:53:25:902 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 18
11:53:25:903 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 18
11:53:25:903 Debug: __cdecl GrabWidget::GrabWidget(int,class QWidget *) 19
11:53:25:904 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 19
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 0
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 1
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 2
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 3
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 4
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 5
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 6
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 7
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 8
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 9
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 10
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 11
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 12
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 13
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 14
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 15
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 16
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 17
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 18
11:53:25:905 Debug: void __cdecl GrabWidget::settingsProfileChanged(void) 19
11:53:25:905 Debug: __cdecl GrabManager::GrabManager(class QWidget *) initialized
11:53:25:905 Debug: bool __cdecl SettingsScope::Settings::isMoodLampLiquidMode(void)
11:53:25:905 Debug: int __cdecl SettingsScope::Settings::getMoodLampSpeed(void)
11:53:25:905 Debug: class QColor __cdecl SettingsScope::Settings::getMoodLampColor(void)
11:53:25:905 Debug: int __cdecl SettingsScope::Settings::getMoodLampSpeed(void)
11:53:25:905 Debug: class QColor __cdecl SettingsScope::Settings::getMoodLampColor(void)
11:53:25:905 Debug: bool __cdecl SettingsScope::Settings::isMoodLampLiquidMode(void)
11:53:25:905 Debug: void __cdecl MoodLampManager::setLiquidMode(bool) true
11:53:25:905 Debug: void __cdecl MoodLampManager::initColors(int) 20
11:53:25:906 Warning: QObject::connect: No such signal GrabManager::changeScreen(QRect)
11:53:25:906 Debug: void __cdecl SettingsWindow::startBacklight(void) m_backlightStatus = 1 m_deviceLockStatus = 0
11:53:25:907 Debug: void __cdecl LightpackApplication::settingsChanged(void)
11:53:25:907 Debug: void __cdecl LightpackPluginInterface::changeProfile(class QString) "Lightpack"
11:53:25:907 Debug: void __cdecl GrabManager::onSendDataOnlyIfColorsEnabledChanged(bool) true
11:53:25:907 Debug: void __cdecl MoodLampManager::setSendDataOnlyIfColorsChanged(bool) true
11:53:25:907 Debug: class QColor __cdecl SettingsScope::Settings::getMoodLampColor(void)
11:53:25:907 Debug: int __cdecl SettingsScope::Settings::getMoodLampSpeed(void)
11:53:25:907 Debug: void __cdecl MoodLampManager::setLiquidModeSpeed(int) 1
11:53:25:907 Debug: bool __cdecl SettingsScope::Settings::isMoodLampLiquidMode(void)
11:53:25:907 Debug: void __cdecl MoodLampManager::setLiquidMode(bool) true
11:53:25:907 Debug: enum Lightpack::Mode __cdecl SettingsScope::Settings::getLightpackMode(void)
11:53:25:907 Debug: void __cdecl GrabManager::start(bool) true
11:53:25:907 Debug: void __cdecl GrabberBase::startGrabbing(void) DDuplGrabber
11:53:25:907 Debug: void __cdecl MoodLampManager::start(bool) false
11:53:25:907 Debug: void __cdecl LightpackApplication::startPluginManager(void)
11:53:25:907 Debug: class QString __cdecl SettingsScope::Settings::getApplicationDirPath(void) "C:/Users/user/Prismatik/"
11:53:25:907 Debug: void __cdecl PluginsManager::LoadPlugins(class QString) "C:/Users/user/Prismatik/Plugins"
11:53:25:907 Debug: void __cdecl PluginsManager::StartPlugins(void)
11:53:25:913 Debug: void __cdecl SettingsWindow::updateUiFromSettings(void)
11:53:25:913 Debug: class QStringList __cdecl SettingsScope::Settings::findAllProfiles(void)
11:53:25:913 Debug: void __cdecl SettingsWindow::profilesLoadAll(void) found profiles: ("chill", "Lightpack")
11:53:25:914 Debug: void __cdecl SettingsWindow::profileSwitch(const class QString &) "Lightpack"
11:53:25:914 Debug: class QStringList __cdecl SettingsScope::Settings::findAllProfiles(void)
11:53:25:914 Debug: void __cdecl SettingsWindow::profilesLoadAll(void) found profiles: ("chill", "Lightpack")
11:53:25:914 Debug: class QStringList __cdecl SettingsScope::Settings::findAllProfiles(void)
11:53:25:915 Debug: enum Lightpack::Mode __cdecl SettingsScope::Settings::getLightpackMode(void)
11:53:25:915 Debug: void __cdecl SettingsWindow::onLightpackModeChanged(enum Lightpack::Mode) 0 0
11:53:25:915 Debug: void __cdecl LightpackApplication::showLedWidgets(bool) false
11:53:25:915 Debug: void __cdecl GrabManager::setVisibleLedWidgets(bool) false
11:53:25:916 Debug: void __cdecl LightpackApplication::setStatusChanged(enum Backlight::Status) 1
11:53:25:916 Debug: void __cdecl LightpackApplication::startBacklight(void) m_backlightStatus = 1 m_deviceLockStatus = 0
11:53:25:916 Debug: void __cdecl SettingsScope::Settings::setIsBacklightEnabled(bool)
11:53:25:916 Debug: enum Lightpack::Mode __cdecl SettingsScope::Settings::getLightpackMode(void)
11:53:25:916 Debug: void __cdecl GrabManager::start(bool) true
11:53:25:916 Debug: void __cdecl GrabberBase::startGrabbing(void) DDuplGrabber
11:53:25:916 Debug: void __cdecl MoodLampManager::start(bool) false
11:53:25:916 Warning: void __cdecl LightpackApplication::startBacklight(void) status contains crap = 1
11:53:25:916 Debug: void __cdecl SettingsScope::Settings::setExpertModeEnabled(bool)
11:53:25:916 Debug: void __cdecl SettingsWindow::updateDeviceTabWidgetsVisibility(void)
11:53:25:916 Debug: void __cdecl SettingsWindow::setDeviceTabWidgetsVisibility(enum DeviceTab::Options) 63
11:53:25:916 Debug: void __cdecl SettingsWindow::onPingDeviceEverySecond_Toggled(bool) true
11:53:25:916 Debug: void __cdecl SettingsScope::Settings::setPingDeviceEverySecond(bool)
11:53:25:916 Debug: int __cdecl SettingsScope::Settings::getGrabSlowdown(void)
11:53:25:916 Debug: void __cdecl SettingsWindow::onGrabSlowdown_valueChanged(int) 50
11:53:25:916 Debug: void __cdecl SettingsScope::Settings::setGrabSlowdown(int)
11:53:25:916 Debug: bool __cdecl SettingsScope::Settings::isMoodLampLiquidMode(void)
11:53:25:916 Debug: bool __cdecl SettingsScope::Settings::isMoodLampLiquidMode(void)
11:53:25:916 Debug: void __cdecl SettingsWindow::onMoodLampLiquidMode_Toggled(bool) true
11:53:25:916 Debug: void __cdecl SettingsScope::Settings::setMoodLampLiquidMode(bool)
11:53:25:916 Debug: void __cdecl MoodLampManager::setLiquidMode(bool) true
11:53:25:916 Debug: bool __cdecl SettingsScope::Settings::isMoodLampLiquidMode(void)
11:53:25:916 Debug: class QColor __cdecl SettingsScope::Settings::getMoodLampColor(void)
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setMoodLampColor(class QColor) "#02ffea"
11:53:25:917 Debug: int __cdecl SettingsScope::Settings::getMoodLampSpeed(void)
11:53:25:917 Debug: void __cdecl SettingsWindow::onDeviceRefreshDelay_valueChanged(int) 100
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setDeviceRefreshDelay(int)
11:53:25:917 Debug: void __cdecl SettingsWindow::onDeviceBrightness_valueChanged(int) 99
11:53:25:917 Debug: void __cdecl LedDeviceLightpack::setRefreshDelay(int) 100
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setDeviceBrightness(int)
11:53:25:917 Debug: void __cdecl SettingsWindow::onDeviceSmooth_valueChanged(int) 30
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setDeviceSmooth(int)
11:53:25:917 Debug: void __cdecl SettingsWindow::onDeviceColorDepth_valueChanged(int) 128
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setDeviceColorDepth(int)
11:53:25:917 Debug: void __cdecl SettingsWindow::onDeviceGammaCorrection_valueChanged(double) 2
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setDeviceGamma(double)
11:53:25:917 Debug: void __cdecl SettingsWindow::onSliderDeviceGammaCorrection_valueChanged(int) 200
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setDeviceGamma(double)
11:53:25:917 Debug: void __cdecl SettingsWindow::onEnableApi_Toggled(bool) false
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setIsApiEnabled(bool)
11:53:25:917 Debug: void __cdecl SettingsWindow::onListenOnlyOnLoInterface_Toggled(bool) true
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setListenOnlyOnLoInterface(bool)
11:53:25:917 Debug: void __cdecl ApiServer::apiServerSettingsChanged(void)
11:53:25:917 Debug: void __cdecl ApiServer::stopListening(void)
11:53:25:917 Debug: void __cdecl SettingsWindow::onLoggingLevel_valueChanged(int) 1
11:53:25:917 Debug: void __cdecl ApiServer::apiServerSettingsChanged(void)
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setDebugLevel(int)
11:53:25:917 Debug: void __cdecl ApiServer::stopListening(void)
11:53:25:917 Debug: enum Grab::GrabberType __cdecl SettingsScope::Settings::getGrabberType(void)
11:53:25:917 Debug: void __cdecl SettingsWindow::onMoodLampLiquidMode_Toggled(bool) true
11:53:25:917 Debug: void __cdecl SettingsScope::Settings::setMoodLampLiquidMode(bool)
11:53:25:917 Debug: void __cdecl MoodLampManager::setLiquidMode(bool) true
11:53:25:917 Debug: bool __cdecl SettingsScope::Settings::isMoodLampLiquidMode(void)
11:53:25:917 Debug: void __cdecl SettingsWindow::updateDeviceTabWidgetsVisibility(void)
11:53:25:917 Debug: void __cdecl SettingsWindow::setDeviceTabWidgetsVisibility(enum DeviceTab::Options) 63
11:53:25:917 Debug: void __cdecl SettingsWindow::settingsProfileChanged_UpdateUI(const class QString &)
11:53:25:917 Debug: class QStringList __cdecl SettingsScope::Settings::findAllProfiles(void)
11:53:25:918 Debug: void __cdecl LedDeviceLightpack::setSmoothSlowdown(int) 30
11:53:25:919 Debug: void __cdecl LedDeviceLightpack::setColorDepth(int) 128
11:53:25:919 Debug: void __cdecl LedDeviceLightpack::requestFirmwareVersion(void)
11:53:25:919 Debug: bool __cdecl LedDeviceLightpack::readDataFromDevice(void)
11:53:25:919 Debug: void __cdecl LedDeviceLightpack::requestFirmwareVersion(void) Version: "7.5"
11:53:26:010 Warning: QSslSocket: cannot resolve TLSv1_1_client_method
11:53:26:010 Warning: QSslSocket: cannot resolve TLSv1_2_client_method
11:53:26:010 Warning: QSslSocket: cannot resolve TLSv1_1_server_method
11:53:26:010 Warning: QSslSocket: cannot resolve TLSv1_2_server_method
11:53:26:010 Warning: QSslSocket: cannot resolve SSL_select_next_proto
11:53:26:010 Warning: QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb
11:53:26:010 Warning: QSslSocket: cannot resolve SSL_get0_next_proto_negotiated
11:53:27:048 Debug: int __cdecl main(int,char *
) thread id: 0x15b8
11:53:27:048 Debug: Start main event loop: lightpackApp.exec();
11:53:27:065 Debug: void __cdecl GrabberBase::setGrabInterval(int) WinAPIGrabber
11:53:27:065 Debug: void __cdecl GrabberBase::setGrabInterval(int) DDuplGrabber
11:53:27:065 Debug: void __cdecl SettingsWindow::ledDeviceFirmwareVersionResult(const class QString &) "0.0"
11:53:27:065 Debug: void __cdecl SettingsWindow::setFirmwareVersion(const class QString &)
11:53:27:065 Debug: void __cdecl SettingsWindow::versionsUpdate(void)
11:53:27:065 Debug: void __cdecl SettingsWindow::updateDeviceTabWidgetsVisibility(void)
11:53:27:065 Debug: void __cdecl SettingsWindow::setDeviceTabWidgetsVisibility(enum DeviceTab::Options) 63
11:53:27:065 Debug: int __cdecl SettingsWindow::getLigtpackFirmwareVersionMajor(void) Prismatik major version: 0
11:53:27:065 Debug: void __cdecl SettingsWindow::ledDeviceOpenSuccess(bool) true
11:53:27:065 Debug: void __cdecl SettingsWindow::ledDeviceFirmwareVersionResult(const class QString &) "0.0"
11:53:27:065 Debug: void __cdecl SettingsWindow::setFirmwareVersion(const class QString &)
11:53:27:065 Debug: void __cdecl SettingsWindow::versionsUpdate(void)
11:53:27:065 Debug: void __cdecl SettingsWindow::updateDeviceTabWidgetsVisibility(void)
11:53:27:065 Debug: void __cdecl SettingsWindow::setDeviceTabWidgetsVisibility(enum DeviceTab::Options) 63
11:53:27:065 Debug: int __cdecl SettingsWindow::getLigtpackFirmwareVersionMajor(void) Prismatik major version: 0
11:53:27:065 Debug: void __cdecl SettingsWindow::ledDeviceOpenSuccess(bool) true
11:53:27:065 Debug: void __cdecl SettingsWindow::updatePlugin(class QList<class Plugin *>)
11:53:27:065 Debug: void __cdecl LightpackPluginInterface::updatePlugin(class QList<class Plugin *>)
11:53:27:080 Debug: void __cdecl GrabManager::onGrabSlowdownChanged(int) 50
11:53:27:080 Debug: void __cdecl GrabberBase::setGrabInterval(int) DDuplGrabber
11:53:27:080 Debug: void __cdecl SettingsWindow::ledDeviceFirmwareVersionResult(const class QString &) "7.5"
11:53:27:080 Debug: void __cdecl SettingsWindow::setFirmwareVersion(const class QString &)
11:53:27:080 Debug: void __cdecl SettingsWindow::versionsUpdate(void)
11:53:27:080 Debug: void __cdecl SettingsWindow::updateDeviceTabWidgetsVisibility(void)
11:53:27:080 Debug: void __cdecl SettingsWindow::setDeviceTabWidgetsVisibility(enum DeviceTab::Options) 63
11:53:27:080 Debug: int __cdecl SettingsWindow::getLigtpackFirmwareVersionMajor(void) Prismatik major version: 7
---------------------------------------> Standby--------------------------------------
11:57:31:457 Warning: enum GrabResult __cdecl DDuplGrabber::grabScreens(void) Lost Access to desktop 0x10001: 0x887A0026, requesting realloc
---------------------------------------Standby-> wake up ------------------------------------ (11:57:44)
11:57:45:054 Debug: void __cdecl GrabManager::updateScreenGeometry(void)
11:57:45:098 Debug: void __cdecl GrabManager::updateScreenGeometry(void)
--------------------------------------> shutdown
11:57:53:544 Debug: void __cdecl LedDeviceLightpack::switchOffLeds(void)

@Tobias-De Tobias-De changed the title Lightpack fails to recognize that Windows was shutdown or in standby mode Lightpack LED´s are not shutdown when windows pc goes to standby Mar 11, 2016
@psieg
Copy link
Owner

psieg commented Mar 13, 2016

Okay thanks. I'll look into it as soon as I can but obviously this can't be tested with a virtual device, so I have to wait until I'm back at home (read: Mid April)

@psieg
Copy link
Owner

psieg commented Apr 17, 2016

I just tried and things seem to be working in my setup: I also have my Lightpacks running off a powered USB Hub and the blue LED stays on if put the system to standby and they go dark when locking, going to standby and hibernating if "keep lights ON after lock computer" is unchecked.

If you just lock the computer (Win+L), do the lights turn off?

@Tobias-De
Copy link
Author

If you just lock the computer (Win+L), do the lights turn off?

yes
If i put my computer to energy saving lights stay on. even without an powered usb hub

@psieg
Copy link
Owner

psieg commented Apr 20, 2016

Problem is "not" without the usb hub, because the lightpacks are "forcefully" powered off (they flash bright white then) because then there is no power on usb.

This is a change in behavior that doesn't really make sense to me - what changed? Did you change any hardware?

@Tobias-De
Copy link
Author

so to wrap everything up. I dont know whats causing this.
i tried to reinstall prismatik - no change. i even used a new profile.

  1. both "keep lights ON" options are not checked
  2. display duplication is used

The LED´s always stay on if i put computer to energy saving (because power stays on usb, so that i can reactivate with keyboard or mouse).
They "sometimes"(like 10% or so?) stay on if i shut down the computer.
If my computer then turns off (power wise) the LED´s of the 2 Lightpacks flash bright white and then turn off.

Should i try to make a video of the problem (would take some weeks because i currently cannot film with my smartphone)?

@psieg
Copy link
Owner

psieg commented Apr 22, 2016

I think I understand, a video won't be necessary. Can you do it again and post the log, but make sure to turn the log level to 2 or higher. You can change the log level in the experimental tab. If you don't have an experimental tab, go to Profiles and check Expert mode

@Tobias-De
Copy link
Author

Tobias-De commented Apr 25, 2016

i created the log. its very big, so i uploaded it
Log level 3,
time i hit standby was: 10:22:19
time i reactivated my computer was 10:22:33
the led´s stayed on during this time.
i x ed out the serial numbers of my lightpacks.

Prismatik.1.txt

@psieg
Copy link
Owner

psieg commented Apr 25, 2016

I can see from the log that the lights are not switched off, presumably because Lightpack does not realize the machine is sent to standby.

Here's a bunch of questions, maybe one leads somewhere or helps me reproduce it:

  • Are you on regular Windows 10 or Pro?
  • Does your user account have a password?
  • Locking (Win+L) stays on too, right?
  • How do you start Prismatik?

Please run this special version from the Prismatik directory and post the log.
Prismatik_testBuild.zip

@Tobias-De
Copy link
Author

Tobias-De commented Apr 26, 2016

  • my windows 10 version is called "Education"
  • my windows user has a password
  • Locking with Win+L turns off the lights
  • it starts with windows bootup. it does not change anything if i manually start it with administrator rights

Is it correct that i copied your .exe file to my existing installation and executet it there? i noticed no differences with administrator rights.

In this log i used win + L command and standby
Win+L is at: 10:55:38
win+L ends at: 10:55:41

standby start is : 10:55:47
standby end is: 10:55:57

Prismatik.0.log.both.txt

@psieg
Copy link
Owner

psieg commented Apr 26, 2016

You ran it correctly 👍

It seems your computer suspends without locking the session. Do you have to enter your password when resuming?

I was able to reproduce your problem: You have the setting mentioned here to not require a password. I think I'll add an option to keep lights on after sleep.

Note to self: https://msdn.microsoft.com/en-us/library/windows/desktop/aa373248%28v=vs.85%29.aspx

@Tobias-De
Copy link
Author

i didnt notice yet that i didnt have to enter my password after standby. that fixed it for me thanks ;)

@psieg
Copy link
Owner

psieg commented Apr 30, 2016

Fixed in c983d62 and 7bf78e0

@psieg psieg closed this as completed Apr 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants