€•JŒ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/i2c/slave-eeprom-backend”Œ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/i2c/slave-eeprom-backend”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ,/translations/it_IT/i2c/slave-eeprom-backend”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ,/translations/ja_JP/i2c/slave-eeprom-backend”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ,/translations/ko_KR/i2c/slave-eeprom-backend”Œ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/i2c/slave-eeprom-backend”Œ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ŒLinux I2C slave EEPROM backend”h]”hŒLinux I2C slave EEPROM backend”…””}”(hh¨hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hh£hžhhŸŒF/var/lib/git/docbuild/linux/Documentation/i2c/slave-eeprom-backend.rst”h KubhŒ paragraph”“”)”}”(hŒ5by Wolfram Sang in 2014-20”h]”(hŒby Wolfram Sang <”…””}”(hh¹hžhhŸNh NubhŒ reference”“”)”}”(hŒwsa@sang-engineering.com”h]”hŒwsa@sang-engineering.com”…””}”(hhÃhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:wsa@sang-engineering.com”uh1hÁhh¹ubhŒ > in 2014-20”…””}”(hh¹hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒŽThis backend simulates an EEPROM on the connected I2C bus. Its memory contents can be accessed from userspace via this file located in sysfs::”h]”hŒThis backend simulates an EEPROM on the connected I2C bus. Its memory contents can be accessed from userspace via this file located in sysfs:”…””}”(hhÝhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubhŒ literal_block”“”)”}”(hŒ4/sys/bus/i2c/devices//slave-eeprom”h]”hŒ4/sys/bus/i2c/devices//slave-eeprom”…””}”hhísbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hëhŸh¶h K hh£hžhubh¸)”}”(hŒ¾The following types are available: 24c02, 24c32, 24c64, and 24c512. Read-only variants are also supported. The name needed for instantiating has the form 'slave-[ro]'. Examples follow:”h]”hŒÂThe following types are available: 24c02, 24c32, 24c64, and 24c512. Read-only variants are also supported. The name needed for instantiating has the form ‘slave-[ro]’. Examples follow:”…””}”(hhýhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K hh£hžhubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒc24c02, read/write, address 0x64: # echo slave-24c02 0x1064 > /sys/bus/i2c/devices/i2c-1/new_device ”h]”(hŒterm”“”)”}”(hŒ 24c02, read/write, address 0x64:”h]”hŒ 24c02, read/write, address 0x64:”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h KhjubhŒ definition”“”)”}”(hhh]”h¸)”}”(hŒA# echo slave-24c02 0x1064 > /sys/bus/i2c/devices/i2c-1/new_device”h]”hŒA# echo slave-24c02 0x1064 > /sys/bus/i2c/devices/i2c-1/new_device”…””}”(hj+hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1j&hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h Khj ubj)”}”(hŒf24c512, read-only, address 0x42: # echo slave-24c512ro 0x1042 > /sys/bus/i2c/devices/i2c-1/new_device ”h]”(j)”}”(hŒ 24c512, read-only, address 0x42:”h]”hŒ 24c512, read-only, address 0x42:”…””}”(hjIhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h KhjEubj')”}”(hhh]”h¸)”}”(hŒD# echo slave-24c512ro 0x1042 > /sys/bus/i2c/devices/i2c-1/new_device”h]”hŒD# echo slave-24c512ro 0x1042 > /sys/bus/i2c/devices/i2c-1/new_device”…””}”(hjZhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KhjWubah}”(h]”h ]”h"]”h$]”h&]”uh1j&hjEubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h Khj hžhubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hh£hžhhŸh¶h Nubh¸)”}”(hŒ}You can also preload data during boot if a device-property named 'firmware-name' contains a valid filename (DT or ACPI only).”h]”hŒYou can also preload data during boot if a device-property named ‘firmware-name’ contains a valid filename (DT or ACPI only).”…””}”(hjzhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒ‚As of 2015, Linux doesn't support poll on binary sysfs files, so there is no notification when another master changed the content.”h]”hŒ„As of 2015, Linux doesn’t support poll on binary sysfs files, so there is no notification when another master changed the content.”…””}”(hjˆhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubeh}”(h]”Œlinux-i2c-slave-eeprom-backend”ah ]”h"]”Œlinux i2c slave eeprom backend”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”}”j›j˜sŒ nametypes”}”j›‰sh}”j˜h£sŒ 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.