# Reverse brightness control with commandline

**URL:** <https://forums.blinkstick.com/t/reverse-brightness-control-with-commandline/923>\
**Category:** Support\
**Created:** [February 27, 2018, 1:46pm UTC](https://forums.blinkstick.com/t/reverse-brightness-control-with-commandline/923 "2018-02-27T13:46:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahyar\_moqimi](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/m/e68b1a/32.png) [@mahyar\_moqimi](https://forums.blinkstick.com/u/mahyar_moqimi)\
**Post date:** [February 27, 2018, 1:46pm UTC](https://forums.blinkstick.com/t/reverse-brightness-control-with-commandline/923/1 "2018-02-27T13:46:32Z")

</div>

Hi all

I have been using the blinkstick pro beside (with the LED adapter) with command line in Linux without any problem.  
This is the command I am using to turn on all the LEDs:  
Blinkstick --set-color=FFFFFF --brightness=100  
. Recently I opened a new blinkstick out of the package and the brightness works exactly the opposite. So to turn on all the LEDs I have to use zero brightness:  
Blinkstick --set-color=FFFFFF --brightness=0

I tried both blink sticks on the same system and the same adapter and they work opposite. Does anybody have an idea why is this the case? Is there a jumper setting or something like that?

Best Regards  
Mahyar

---

<div class="post-metadata">

**Author:** ![Diff](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/diff/32/553_2.png) [@Diff](https://forums.blinkstick.com/u/Diff)\
**Post date:** [February 27, 2018, 2:06pm UTC](https://forums.blinkstick.com/t/reverse-brightness-control-with-commandline/923/2 "2018-02-27T14:06:07Z")

</div>

Just curious, what happens if you --set-color=000000, and what does --info spit out?

---

<div class="post-metadata">

**Author:** ![mahyar\_moqimi](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/m/e68b1a/32.png) [@mahyar\_moqimi](https://forums.blinkstick.com/u/mahyar_moqimi)\
**Post date:** [February 28, 2018, 11:13am UTC](https://forums.blinkstick.com/t/reverse-brightness-control-with-commandline/923/3 "2018-02-28T11:13:53Z")

</div>

ok very interesting question  
$ blinkstick --set-color=000000 --brightness=0  
Turns on the led strip. and  
$ blinkstick --set-color=000000 --brightness=100  
also turn the light on  
and after that  
$ blinkstick -i  
gives:  
Found device:  
Manufacturer: Agile Innovative Ltd  
Description: BlinkStick  
Serial: BS009449-2.2  
Current Color: #000000  
Mode: 0  
LEDs: unsupported  
Info Block 1:  
Info Block 2:

---

<div class="post-metadata">

**Author:** ![mahyar\_moqimi](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/m/e68b1a/32.png) [@mahyar\_moqimi](https://forums.blinkstick.com/u/mahyar_moqimi)\
**Post date:** [February 28, 2018, 11:18am UTC](https://forums.blinkstick.com/t/reverse-brightness-control-with-commandline/923/4 "2018-02-28T11:18:18Z")

</div>

* * *

and more interesting is when I do $ blinkstick -i  
right after $ blinkstick --set-color=FFFFFF --brightness=0 (lights go on)  
The results is surprisingly:

$ sudo blinkstick -i  
Found device:  
Manufacturer: Agile Innovative Ltd  
Description: BlinkStick  
Serial: BS009449-2.2  
Current Color: #000000  
Mode: 0  
LEDs: unsupported  
Info Block 1:  
Info Block 2:

but after --set-color=FFFFFF --brightness=100 (lights go off)  
the color shown by --info is  
Current Color: #ffffff

Is this insane or am I getting this wrong?

(I just need to declare that I am only using one led strip connected to the “Red” now, but I also tested once with my previous working setup and the problem was the same. However I guess this is not important)

---

<div class="post-metadata">

**Author:** ![arvydas](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/arvydas/32/242_2.png) [@arvydas](https://forums.blinkstick.com/u/arvydas)\
**Post date:** [February 28, 2018, 11:27am UTC](https://forums.blinkstick.com/t/reverse-brightness-control-with-commandline/923/5 "2018-02-28T11:27:05Z")

</div>

@mahyar_moqimi is it Pro with LED adapter?

---

<div class="post-metadata">

**Author:** ![mahyar\_moqimi](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/m/e68b1a/32.png) [@mahyar\_moqimi](https://forums.blinkstick.com/u/mahyar_moqimi)\
**Post date:** [February 28, 2018, 11:27am UTC](https://forums.blinkstick.com/t/reverse-brightness-control-with-commandline/923/6 "2018-02-28T11:27:12Z")

</div>

Ok I got it. This was on “reverse mode”  
The only thing I needed was to set to normal mode  
$ sudo blinkstick --set-mode=1

However still the behavior on mode “0” sounds weird to me and I don’t understand it.  
But the problem is solved.  
Thanks

---

<div class="post-metadata">

**Author:** ![mahyar\_moqimi](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/m/e68b1a/32.png) [@mahyar\_moqimi](https://forums.blinkstick.com/u/mahyar_moqimi)\
**Post date:** [February 28, 2018, 11:28am UTC](https://forums.blinkstick.com/t/reverse-brightness-control-with-commandline/923/7 "2018-02-28T11:28:13Z")

</div>

Hi Arvydas  
Yes it is. a pro with adapter

---

<div class="post-metadata">

**Author:** ![arvydas](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/arvydas/32/242_2.png) [@arvydas](https://forums.blinkstick.com/u/arvydas)\
**Post date:** [February 28, 2018, 11:29am UTC](https://forums.blinkstick.com/t/reverse-brightness-control-with-commandline/923/8 "2018-02-28T11:29:08Z")

</div>

Was about to suggest this 🙂 Pro with LED adapter needs to be set to inverse mode 1. This is because LEDs have common anode.
