€•`0Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ$/translations/zh_CN/leds/leds-blinkm”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/zh_TW/leds/leds-blinkm”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/it_IT/leds/leds-blinkm”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/ja_JP/leds/leds-blinkm”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/ko_KR/leds/leds-blinkm”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/pt_BR/leds/leds-blinkm”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ$/translations/sp_SP/leds/leds-blinkm”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒLeds BlinkM driver”h]”hŒLeds BlinkM driver”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³Œ>/var/lib/git/docbuild/linux/Documentation/leds/leds-blinkm.rst”h´KubhŒ paragraph”“”)”}”(hŒAThe leds-blinkm driver supports the devices of the BlinkM family.”h]”hŒAThe leds-blinkm driver supports the devices of the BlinkM family.”…””}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hŒñThey are RGB-LED modules driven by a (AT)tiny microcontroller and communicate through I2C. The default address of these modules is 0x09 but this can be changed through a command. By this you could daisy-chain up to 127 BlinkMs on an I2C bus.”h]”hŒñThey are RGB-LED modules driven by a (AT)tiny microcontroller and communicate through I2C. The default address of these modules is 0x09 but this can be changed through a command. By this you could daisy-chain up to 127 BlinkMs on an I2C bus.”…””}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hŒ³The device accepts RGB and HSB color values through separate commands. Also you can store blinking sequences as "scripts" in the controller and run them. Also fading is an option.”h]”hŒ·The device accepts RGB and HSB color values through separate commands. Also you can store blinking sequences as “scripts†in the controller and run them. Also fading is an option.”…””}”(hhéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hh·h²hubhÌ)”}”(hŒ-The interface this driver provides is 3-fold:”h]”hŒ-The interface this driver provides is 3-fold:”…””}”(hh÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)”}”(hhh]”(h»)”}”(hŒ7a) LED multicolor class interface for use with triggers”h]”hŒ7a) LED multicolor class interface for use with triggers”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´KubhÌ)”}”(hŒ%The registration follows the scheme::”h]”hŒ$The registration follows the scheme:”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjh²hubhŒ literal_block”“”)”}”(hŒÇblinkm--:rgb:indicator $ ls -h /sys/class/leds/blinkm-1-9:rgb:indicator brightness device max_brightness multi_index multi_intensity power subsystem trigger uevent”h]”hŒÇblinkm--:rgb:indicator $ ls -h /sys/class/leds/blinkm-1-9:rgb:indicator brightness device max_brightness multi_index multi_intensity power subsystem trigger uevent”…””}”hj&sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1j$h³hÊh´Khjh²hubhÌ)”}”(hŒaHue is controlled by the multi_intensity file and lightness is controlled by the brightness file.”h]”hŒaHue is controlled by the multi_intensity file and lightness is controlled by the brightness file.”…””}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjh²hubhÌ)”}”(hŒ­The order in which to write the intensity values can be found in multi_index. Exactly three values between 0 and 255 must be written to multi_intensity to change the color::”h]”hŒ¬The order in which to write the intensity values can be found in multi_index. Exactly three values between 0 and 255 must be written to multi_intensity to change the color:”…””}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjh²hubj%)”}”(hŒ#$ echo 255 100 50 > multi_intensity”h]”hŒ#$ echo 255 100 50 > multi_intensity”…””}”hjRsbah}”(h]”h ]”h"]”h$]”h&]”j4j5uh1j$h³hÊh´K#hjh²hubhÌ)”}”(hŒ]The overall lightness be changed by writing a value between 0 and 255 to the brightness file.”h]”hŒ]The overall lightness be changed by writing a value between 0 and 255 to the brightness file.”…””}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K%hjh²hubeh}”(h]”Œ6a-led-multicolor-class-interface-for-use-with-triggers”ah ]”h"]”Œ7a) led multicolor class interface for use with triggers”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒ,b) LED class interface for use with triggers”h]”hŒ,b) LED class interface for use with triggers”…””}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjvh²hh³hÊh´K)ubhÌ)”}”(hŒ%The registration follows the scheme::”h]”hŒ$The registration follows the scheme:”…””}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K+hjvh²hubj%)”}”(hX†blinkm--- $ ls -h /sys/class/leds/blinkm-6-* /sys/class/leds/blinkm-6-9-blue: brightness device max_brightness power subsystem trigger uevent /sys/class/leds/blinkm-6-9-green: brightness device max_brightness power subsystem trigger uevent /sys/class/leds/blinkm-6-9-red: brightness device max_brightness power subsystem trigger uevent”h]”hX†blinkm--- $ ls -h /sys/class/leds/blinkm-6-* /sys/class/leds/blinkm-6-9-blue: brightness device max_brightness power subsystem trigger uevent /sys/class/leds/blinkm-6-9-green: brightness device max_brightness power subsystem trigger uevent /sys/class/leds/blinkm-6-9-red: brightness device max_brightness power subsystem trigger uevent”…””}”hj•sbah}”(h]”h ]”h"]”h$]”h&]”j4j5uh1j$h³hÊh´K-hjvh²hubhÌ)”}”(hŒ*(same is /sys/bus/i2c/devices/6-0009/leds)”h]”hŒ*(same is /sys/bus/i2c/devices/6-0009/leds)”…””}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K9hjvh²hubhÌ)”}”(hŒ_We can control the colors separated into red, green and blue and assign triggers on each color.”h]”hŒ_We can control the colors separated into red, green and blue and assign triggers on each color.”…””}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K;hjvh²hubhÌ)”}”(hŒE.g.::”h]”hŒE.g.:”…””}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K>hjvh²hubj%)”}”(hŒš$ cat blinkm-6-9-blue/brightness 05 $ echo 200 > blinkm-6-9-blue/brightness $ $ modprobe ledtrig-heartbeat $ echo heartbeat > blinkm-6-9-green/trigger $”h]”hŒš$ cat blinkm-6-9-blue/brightness 05 $ echo 200 > blinkm-6-9-blue/brightness $ $ modprobe ledtrig-heartbeat $ echo heartbeat > blinkm-6-9-green/trigger $”…””}”hjÍsbah}”(h]”h ]”h"]”h$]”h&]”j4j5uh1j$h³hÊh´K@hjvh²hubeh}”(h]”Œ+b-led-class-interface-for-use-with-triggers”ah ]”h"]”Œ,b) led class interface for use with triggers”ah$]”h&]”uh1hµhh·h²hh³hÊh´K)ubh¶)”}”(hhh]”(h»)”}”(hŒ5b) Sysfs group to control rgb, fade, hsb, scripts ...”h]”hŒ5b) Sysfs group to control rgb, fade, hsb, scripts ...”…””}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjãh²hh³hÊh´KLubhÌ)”}”(hŒŠThis extended interface is available as folder blinkm in the sysfs folder of the I2C device. E.g. below /sys/bus/i2c/devices/6-0009/blinkm”h]”hŒŠThis extended interface is available as folder blinkm in the sysfs folder of the I2C device. E.g. below /sys/bus/i2c/devices/6-0009/blinkm”…””}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KNhjãh²hubhŒ block_quote”“”)”}”(hŒC$ ls -h /sys/bus/i2c/devices/6-0009/blinkm/ blue green red test ”h]”hÌ)”}”(hŒB$ ls -h /sys/bus/i2c/devices/6-0009/blinkm/ blue green red test”h]”hŒB$ ls -h /sys/bus/i2c/devices/6-0009/blinkm/ blue green red test”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KRhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´KRhjãh²hubhÌ)”}”(hŒICurrently supported is just setting red, green, blue and a test sequence.”h]”hŒICurrently supported is just setting red, green, blue and a test sequence.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KUhjãh²hubhÌ)”}”(hŒE.g.::”h]”hŒE.g.:”…””}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KXhjãh²hubj%)”}”(hŒa$ cat * 00 00 00 #Write into test to start test sequence!# $ echo 1 > test $ $ echo 255 > red $”h]”hŒa$ cat * 00 00 00 #Write into test to start test sequence!# $ echo 1 > test $ $ echo 255 > red $”…””}”hj8sbah}”(h]”h ]”h"]”h$]”h&]”j4j5uh1j$h³hÊh´KZhjãh²hubhÌ)”}”(hŒ as of 07/2024”h]”hŒ as of 07/2024”…””}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khhjãh²hubhÌ)”}”(hŒ7dl9pf gmx de jstrauss mailbox org”h]”hŒ7dl9pf gmx de jstrauss mailbox org”…””}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kjhjãh²hubeh}”(h]”Œ-b-sysfs-group-to-control-rgb-fade-hsb-scripts”ah ]”h"]”Œ5b) sysfs group to control rgb, fade, hsb, scripts ...”ah$]”h&]”uh1hµhh·h²hh³hÊh´KLubeh}”(h]”Œleds-blinkm-driver”ah ]”h"]”Œleds blinkm driver”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j•Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jojljsjpjàjÝjgjduŒ nametypes”}”(jo‰js‰jà‰jg‰uh}”(jlh·jpjjÝjvjdjãuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.