€•ƒ'Œ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/usb/misc_usbsevseg”Œ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/usb/misc_usbsevseg”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/it_IT/usb/misc_usbsevseg”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/ja_JP/usb/misc_usbsevseg”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/ko_KR/usb/misc_usbsevseg”Œ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/usb/misc_usbsevseg”Œ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/usb/misc_usbsevseg”Œ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ŒUSB 7-Segment Numeric Display”h]”hŒUSB 7-Segment Numeric Display”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³Œ@/var/lib/git/docbuild/linux/Documentation/usb/misc_usbsevseg.rst”h´KubhŒ paragraph”“”)”}”(hŒ"Manufactured by Delcom Engineering”h]”hŒ"Manufactured by Delcom Engineering”…””}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)”}”(hhh]”(h»)”}”(hŒDevice Information”h]”hŒDevice Information”…””}”(hhÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhhÛh²hh³hÊh´KubhÌ)”}”(hŒÝUSB VENDOR_ID 0x0fc5 USB PRODUCT_ID 0x1227 Both the 6 character and 8 character displays have PRODUCT_ID, and according to Delcom Engineering no queryable information can be obtained from the device to tell them apart.”h]”hŒÝUSB VENDOR_ID 0x0fc5 USB PRODUCT_ID 0x1227 Both the 6 character and 8 character displays have PRODUCT_ID, and according to Delcom Engineering no queryable information can be obtained from the device to tell them apart.”…””}”(hhìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hhÛh²hubeh}”(h]”Œdevice-information”ah ]”h"]”Œdevice information”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒ Device Modes”h]”hŒ Device Modes”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´KubhÌ)”}”(hŒ]By default, the driver assumes the display is only 6 characters The mode for 6 characters is:”h]”hŒ]By default, the driver assumes the display is only 6 characters The mode for 6 characters is:”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjh²hubhŒ block_quote”“”)”}”(hŒMSB 0x06; LSB 0x3f ”h]”hÌ)”}”(hŒMSB 0x06; LSB 0x3f”h]”hŒMSB 0x06; LSB 0x3f”…””}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1j!h³hÊh´Khjh²hubhÌ)”}”(hŒFor the 8 character display:”h]”hŒFor the 8 character display:”…””}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjh²hubj")”}”(hŒMSB 0x08; LSB 0xff ”h]”hÌ)”}”(hŒMSB 0x08; LSB 0xff”h]”hŒMSB 0x08; LSB 0xff”…””}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjIubah}”(h]”h ]”h"]”h$]”h&]”uh1j!h³hÊh´Khjh²hubhÌ)”}”(hŒàThe device can accept "text" either in raw, hex, or ascii textmode. raw controls each segment manually, hex expects a value between 0-15 per character, ascii expects a value between '0'-'9' and 'A'-'F'. The default is ascii.”h]”hŒôThe device can accept “text†either in raw, hex, or ascii textmode. raw controls each segment manually, hex expects a value between 0-15 per character, ascii expects a value between ‘0’-‘9’ and ‘A’-‘F’. The default is ascii.”…””}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjh²hubeh}”(h]”Œ device-modes”ah ]”h"]”Œ device modes”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒDevice Operation”h]”hŒDevice Operation”…””}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjwh²hh³hÊh´K!ubhŒenumerated_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒ5Turn on the device: echo 1 > /sys/bus/usb/.../powered”h]”hÌ)”}”(hŒ5Turn on the device: echo 1 > /sys/bus/usb/.../powered”h]”hŒ5Turn on the device: echo 1 > /sys/bus/usb/.../powered”…””}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K"hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŠh²hh³hÊh´NubjŽ)”}”(hŒlSet the device's mode: echo $mode_msb > /sys/bus/usb/.../mode_msb echo $mode_lsb > /sys/bus/usb/.../mode_lsb”h]”hÌ)”}”(hŒlSet the device's mode: echo $mode_msb > /sys/bus/usb/.../mode_msb echo $mode_lsb > /sys/bus/usb/.../mode_lsb”h]”hŒnSet the device’s mode: echo $mode_msb > /sys/bus/usb/.../mode_msb echo $mode_lsb > /sys/bus/usb/.../mode_lsb”…””}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K$hj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŠh²hh³hÊh´NubjŽ)”}”(hŒ /sys/bus/usb/.../textmode”h]”hÌ)”}”(hŒ /sys/bus/usb/.../textmode”h]”hŒ /sys/bus/usb/.../textmode”…””}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K'hj¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŠh²hh³hÊh´NubjŽ)”}”(hŒ«set the text (for example): echo "123ABC" > /sys/bus/usb/.../text (ascii) echo "A1B2" > /sys/bus/usb/.../text (ascii) echo -ne "\x01\x02\x03" > /sys/bus/usb/.../text (hex)”h]”hÌ)”}”(hŒ«set the text (for example): echo "123ABC" > /sys/bus/usb/.../text (ascii) echo "A1B2" > /sys/bus/usb/.../text (ascii) echo -ne "\x01\x02\x03" > /sys/bus/usb/.../text (hex)”h]”hŒ·set the text (for example): echo “123ABC†> /sys/bus/usb/.../text (ascii) echo “A1B2†> /sys/bus/usb/.../text (ascii) echo -ne “x01x02x03†> /sys/bus/usb/.../text (hex)”…””}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K)hj×ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŠh²hh³hÊh´NubjŽ)”}”(hX*Set the decimal places. The device has either 6 or 8 decimal points. to set the nth decimal place calculate 10 ** n and echo it in to /sys/bus/usb/.../decimals To set multiple decimals points sum up each power. For example, to set the 0th and 3rd decimal place echo 1001 > /sys/bus/usb/.../decimals”h]”hÌ)”}”(hX*Set the decimal places. The device has either 6 or 8 decimal points. to set the nth decimal place calculate 10 ** n and echo it in to /sys/bus/usb/.../decimals To set multiple decimals points sum up each power. For example, to set the 0th and 3rd decimal place echo 1001 > /sys/bus/usb/.../decimals”h]”hX*Set the decimal places. The device has either 6 or 8 decimal points. to set the nth decimal place calculate 10 ** n and echo it in to /sys/bus/usb/.../decimals To set multiple decimals points sum up each power. For example, to set the 0th and 3rd decimal place echo 1001 > /sys/bus/usb/.../decimals”…””}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K-hjïubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŠh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ.”uh1jˆhjwh²hh³hÊh´K"ubeh}”(h]”Œdevice-operation”ah ]”h"]”Œdevice operation”ah$]”h&]”uh1hµhh·h²hh³hÊh´K!ubeh}”(h]”Œusb-7-segment-numeric-display”ah ]”h"]”Œusb 7-segment numeric display”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”jEŒ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”}”(jjhÿhüjtjqjjuŒ nametypes”}”(j‰hÿ‰jt‰j‰uh}”(jh·hühÛjqjjjwuŒ 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.