-
Notifications
You must be signed in to change notification settings - Fork 236
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
How to switch on a color with blink1-tool permanent #653
Comments
Hi @sohamakl, Note you cannot run blink1-tool and Blink1Control simultaneously, as they'll conflict. |
If I do |
The output is correct. But the turning off is strange. |
Version is |
Yes, that is odd. A few more questions:
|
|
I have tested now on an other machine. Also windows 10. No other blink(1) software than blink1-tools.exe installed or downloaded on this machine but same behavior. |
Hi, I've been researching this on my end but cannot replicate the issue. Even though it seems that you're on the latest blink(1) firmware, perhaps try upgrading it just in case. You can find a download bundle here: https://github.com/todbot/blink1mk3/releases/download/firmware-v303/blink1mk3_fw_update_fw303-2Aug2019c.zip |
Hi, the firmware update has not changed anything. The delay with which blink(1) is switched off again is almost exactly 3 seconds. In the meantime I have tested on a third PC. On this one it works as expected. So now it's time to find out which process turns Blink(1) off again. I tried to find out more with HHD Software Device Monitoring Studio and Wireshark. I see that about every 4 seconds a packet is sent to the Blink(1) device. Unfortunately I am unable to find the responsible process. I have finished processes one by one but I have not yet found the responsible one. Do you have an idea how I can find the responsible process? At the beginning I asked the question how I can make sure that Blink(1) does not blink when the PC is turned off. Can you say something about this? Thanks for working so hard to find the problem. Excellent support :-) |
Thanks! That every 4 seconds packet is good diagnostic info. This to me sounds like either Windows or a driver (third-party mouse or keyboard driver, for instance) is polling any HID devices and then doing something. That make me think that one thing to try is to disable the "USB Selective Suspend" setting in power options. Details here: The blink(1) device is supposed to be set to not suspend, but maybe Windows changed how they handle this in the last year or so? Thanks for investigating this. If it becomes an issue for others, your work could help them too. |
USB Selective Suspend was truly enabled but changing to disable did not solve my issue. |
I have the exact same issue. It seems that when the process that commands the blink1 ends, it takes 3 seconds and then the blink1 shuts off. I wondered about it, as I only experienced the error when testing colors using the CLI tool. Then when running a control script in python I would not see the error. The following python code will have the blink1 turned on for approx 15+3 seconds from blink1.blink1 import Blink1 |
Hi @Measurelet, can you describe the OS, machine, and USB connectivity between your script and the blink(1) device? I'd really like to track down this issue. Also, which firmware version of blink(1) do you have ( |
Hi I am using the cable from the box that the blink(1) came in - if that is what you mean ? Experiencing the issue both using the blink1-tool in "cmd" and the Python API. Blink1 turns off shortly after the python process ends. Using the Blink1-tool it is very sporadic, and I completely gave up on using it with *.bat files. |
Hmm, it sounds like either somehow Windows is configured to do power-saving operations on USB and shutting down USB ports, or there's another HID driver that's interrogating the blink(1) in a way that's confusing it. So assuming one of those:
And apologies for not being very clear by "USB connectivity". I meant the USB path of the blink(1) device connected. For instance, "plugged in directly into PC's front USB jack" or "plugged into monitor's USB and monitor's USB is plugged into PC". If there's something in the middle that could be powering down the port, it's a big suspect. Thanks for helping diagnose this. I would love to a reliable test case here so I wouldn't have to pester you all with questions. :) If we can figure out the cause, and how your systems differ from the many other systems using blink(1)s, we may be able to either toggle some setting in Windows or modify blink(1)'s firmware to deal with it. |
Hi
I moved it to a powered USB hub recently, but I believe the problem was there before as well. I will try to test if the problem goes away by connecting directly to the PC. I will keep you updated Best regards |
Hi,
it might be easy but I'm totally confused. I just want to switch on a specific color with blink1-tool on my windows laptop. This should be on until I change to another color. When computer is shutdown Blink(1) should be off too.
Does anyone know a solution to this?
The text was updated successfully, but these errors were encountered: