€•ÓlŒ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/w1/w1-generic”Œ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/w1/w1-generic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ!/translations/it_IT/w1/w1-generic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ!/translations/ja_JP/w1/w1-generic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ!/translations/ko_KR/w1/w1-generic”Œ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/w1/w1-generic”Œ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/w1/w1-generic”Œ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Œ)Introduction to the 1-wire (w1) subsystem”h]”hŒ)Introduction to the 1-wire (w1) subsystem”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³Œ;/var/lib/git/docbuild/linux/Documentation/w1/w1-generic.rst”h´KubhŒ paragraph”“”)�”}”(hŒsThe 1-wire bus is a simple master-slave bus that communicates via a single signal wire (plus ground, so two wires).”h]”hŒsThe 1-wire bus is a simple master-slave bus that communicates via a single signal wire (plus ground, so two wires).”…”�”}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)�”}”(hŒ‹Devices communicate on the bus by pulling the signal to ground via an open drain output and by sampling the logic level of the signal line.”h]”hŒ‹Devices communicate on the bus by pulling the signal to ground via an open drain output and by sampling the logic level of the signal line.”…”�”}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)�”}”(hŒ^The w1 subsystem provides the framework for managing w1 masters and communication with slaves.”h]”hŒ^The w1 subsystem provides the framework for managing w1 masters and communication with slaves.”…”�”}”(hhéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hh·h²hubhÌ)�”}”(hŒAAll w1 slave devices must be connected to a w1 bus master device.”h]”hŒAAll w1 slave devices must be connected to a w1 bus master device.”…”�”}”(hh÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)�”}”(hŒExample w1 master devices:”h]”hŒExample w1 master devices:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhŒ block_quote”“”)�”}”(hŒŠ- DS9490 usb device - W1-over-GPIO - DS2482 (i2c to w1 bridge) - Emulated devices, such as a RS232 converter, parallel port adapter, etc ”h]”hŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒDS9490 usb device”h]”hÌ)�”}”(hj"h]”hŒDS9490 usb device”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒ W1-over-GPIO”h]”hÌ)�”}”(hj9h]”hŒ W1-over-GPIO”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒDS2482 (i2c to w1 bridge)”h]”hÌ)�”}”(hjPh]”hŒDS2482 (i2c to w1 bridge)”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjNubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒIEmulated devices, such as a RS232 converter, parallel port adapter, etc ”h]”hÌ)�”}”(hŒGEmulated devices, such as a RS232 converter, parallel port adapter, etc”h]”hŒGEmulated devices, such as a RS232 converter, parallel port adapter, etc”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjeubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1jh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Khh·h²hubh¶)�”}”(hhh]”(h»)�”}”(hŒWhat does the w1 subsystem do?”h]”hŒWhat does the w1 subsystem do?”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj‹h²hh³hÊh´KubhÌ)�”}”(hŒNWhen a w1 master driver registers with the w1 subsystem, the following occurs:”h]”hŒNWhen a w1 master driver registers with the w1 subsystem, the following occurs:”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj‹h²hubj)�”}”(hŒk- sysfs entries for that w1 master are created - the w1 bus is periodically searched for new slave devices ”h]”j)�”}”(hhh]”(j)�”}”(hŒ,sysfs entries for that w1 master are created”h]”hÌ)�”}”(hj³h]”hŒ,sysfs entries for that w1 master are created”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj®ubj)�”}”(hŒ:the w1 bus is periodically searched for new slave devices ”h]”hÌ)�”}”(hŒ9the w1 bus is periodically searched for new slave devices”h]”hŒ9the w1 bus is periodically searched for new slave devices”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjÈubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj®ubeh}”(h]”h ]”h"]”h$]”h&]”jƒj„uh1jh³hÊh´Khjªubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Khj‹h²hubhÌ)�”}”(hXìWhen a device is found on the bus, w1 core tries to load the driver for its family and check if it is loaded. If so, the family driver is attached to the slave. If there is no driver for the family, default one is assigned, which allows to perform almost any kind of operations. Each logical operation is a transaction in nature, which can contain several (two or one) low-level operations. Let's see how one can read EEPROM context: 1. one must write control buffer, i.e. buffer containing command byte and two byte address. At this step bus is reset and appropriate device is selected using either W1_SKIP_ROM or W1_MATCH_ROM command. Then provided control buffer is being written to the wire. 2. reading. This will issue reading eeprom response.”h]”hXîWhen a device is found on the bus, w1 core tries to load the driver for its family and check if it is loaded. If so, the family driver is attached to the slave. If there is no driver for the family, default one is assigned, which allows to perform almost any kind of operations. Each logical operation is a transaction in nature, which can contain several (two or one) low-level operations. Let’s see how one can read EEPROM context: 1. one must write control buffer, i.e. buffer containing command byte and two byte address. At this step bus is reset and appropriate device is selected using either W1_SKIP_ROM or W1_MATCH_ROM command. Then provided control buffer is being written to the wire. 2. reading. This will issue reading eeprom response.”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hj‹h²hubhÌ)�”}”(hŒ¼It is possible that between 1. and 2. w1 master thread will reset bus for searching and slave device will be even removed, but in this case 0xff will be read, since no device was selected.”h]”hŒ¼It is possible that between 1. and 2. w1 master thread will reset bus for searching and slave device will be even removed, but in this case 0xff will be read, since no device was selected.”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K,hj‹h²hubeh}”(h]”Œwhat-does-the-w1-subsystem-do”ah ]”h"]”Œwhat does the w1 subsystem do?”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒW1 device families”h]”hŒW1 device families”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´K2ubhÌ)�”}”(hŒISlave devices are handled by a driver written for a family of w1 devices.”h]”hŒISlave devices are handled by a driver written for a family of w1 devices.”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K4hjh²hubhÌ)�”}”(hŒgA family driver populates a struct w1_family_ops (see w1_family.h) and registers with the w1 subsystem.”h]”hŒgA family driver populates a struct w1_family_ops (see w1_family.h) and registers with the w1 subsystem.”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K6hjh²hubhÌ)�”}”(hŒCurrent family drivers:”h]”hŒCurrent family drivers:”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K9hjh²hubhŒdefinition_list”“”)�”}”(hhh]”(hŒdefinition_list_item”“”)�”}”(hŒ¤w1_therm - (ds18?20 thermal sensor family driver) provides temperature reading function which is bound to ->rbin() method of the above w1_family_ops structure. ”h]”(hŒterm”“”)�”}”(hŒw1_therm”h]”hŒw1_therm”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jVh³hÊh´K>hjRubhŒ definition”“”)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒ•(ds18?20 thermal sensor family driver) provides temperature reading function which is bound to ->rbin() method of the above w1_family_ops structure. ”h]”hÌ)�”}”(hŒ”(ds18?20 thermal sensor family driver) provides temperature reading function which is bound to ->rbin() method of the above w1_family_ops structure.”h]”hŒ”(ds18?20 thermal sensor family driver) provides temperature reading function which is bound to ->rbin() method of the above w1_family_ops structure.”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjMubjQ)�”}”(hŒJw1_smem - driver for simple 64bit memory cell provides ID reading method. ”h]”(jW)�”}”(hŒw1_smem”h]”hŒw1_smem”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jVh³hÊh´KAhj˜ubjg)�”}”(hhh]”j)�”}”(hhh]”j)�”}”(hŒ@driver for simple 64bit memory cell provides ID reading method. ”h]”hÌ)�”}”(hŒ?driver for simple 64bit memory cell provides ID reading method.”h]”hŒ?driver for simple 64bit memory cell provides ID reading method.”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KAhj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj­ubah}”(h]”h ]”h"]”h$]”h&]”jƒj„uh1jh³hÊh´KAhjªubah}”(h]”h ]”h"]”h$]”h&]”uh1jfhj˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jPh³hÊh´KAhjMh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jKhjh²hh³Nh´NubhÌ)�”}”(hŒ>You can call above methods by reading appropriate sysfs files.”h]”hŒ>You can call above methods by reading appropriate sysfs files.”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KChjh²hubeh}”(h]”Œw1-device-families”ah ]”h"]”Œw1 device families”ah$]”h&]”uh1hµhh·h²hh³hÊh´K2ubh¶)�”}”(hhh]”(h»)�”}”(hŒ/What does a w1 master driver need to implement?”h]”hŒ/What does a w1 master driver need to implement?”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjöh²hh³hÊh´KGubhÌ)�”}”(hŒCThe driver for w1 bus master must provide at minimum two functions.”h]”hŒCThe driver for w1 bus master must provide at minimum two functions.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KIhjöh²hubhÌ)�”}”(hŒ|Emulated devices must provide the ability to set the output signal level (write_bit) and sample the signal level (read_bit).”h]”hŒ|Emulated devices must provide the ability to set the output signal level (write_bit) and sample the signal level (read_bit).”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KKhjöh²hubhÌ)�”}”(hŒ†Devices that support the 1-wire natively must provide the ability to write and sample a bit (touch_bit) and reset the bus (reset_bus).”h]”hŒ†Devices that support the 1-wire natively must provide the ability to write and sample a bit (touch_bit) and reset the bus (reset_bus).”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KNhjöh²hubhÌ)�”}”(hŒ€Most hardware provides higher-level functions that offload w1 handling. See struct w1_bus_master definition in w1.h for details.”h]”hŒ€Most hardware provides higher-level functions that offload w1 handling. See struct w1_bus_master definition in w1.h for details.”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KQhjöh²hubeh}”(h]”Œ.what-does-a-w1-master-driver-need-to-implement”ah ]”h"]”Œ/what does a w1 master driver need to implement?”ah$]”h&]”uh1hµhh·h²hh³hÊh´KGubh¶)�”}”(hhh]”(h»)�”}”(hŒw1 master sysfs interface”h]”hŒw1 master sysfs interface”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjGh²hh³hÊh´KVubhŒtable”“”)�”}”(hhh]”hŒtgroup”“”)�”}”(hhh]”(hŒcolspec”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jbhj_ubjc)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K5uh1jbhj_ubhŒtbody”“”)�”}”(hhh]”(hŒrow”“”)�”}”(hhh]”(hŒentry”“”)�”}”(hhh]”hÌ)�”}”(hŒ”h]”hŒ”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KYhj„ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ;A directory for a found device. The format is family-serial”h]”hŒ;A directory for a found device. The format is family-serial”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KYhj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒbus”h]”hŒbus”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K[hj»ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj¸ubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ (standard) symlink to the w1 bus”h]”hŒ (standard) symlink to the w1 bus”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K[hjÒubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj¸ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒdriver”h]”hŒdriver”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K\hjòubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjïubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ#(standard) symlink to the w1 driver”h]”hŒ#(standard) symlink to the w1 driver”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K\hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjïubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒ w1_master_add”h]”hŒ w1_master_add”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K]hj)ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj&ubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ%(rw) manually register a slave device”h]”hŒ%(rw) manually register a slave device”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K]hj@ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒw1_master_attempts”h]”hŒw1_master_attempts”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K^hj`ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj]ubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ/(ro) the number of times a search was attempted”h]”hŒ/(ro) the number of times a search was attempted”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K^hjwubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj]ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒw1_master_max_slave_count”h]”hŒw1_master_max_slave_count”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K_hj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj”ubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ5(rw) maximum number of slaves to search for at a time”h]”hŒ5(rw) maximum number of slaves to search for at a time”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K_hj®ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒw1_master_name”h]”hŒw1_master_name”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K`hjÎubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjËubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ,(ro) the name of the device (w1_bus_masterX)”h]”hŒ,(ro) the name of the device (w1_bus_masterX)”…”�”}”(hjèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K`hjåubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjËubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒw1_master_pullup”h]”hŒw1_master_pullup”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kahjubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ+(rw) 5V strong pullup 0 enabled, 1 disabled”h]”hŒ+(rw) 5V strong pullup 0 enabled, 1 disabled”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kahjubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒw1_master_remove”h]”hŒw1_master_remove”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kbhj<ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj9ubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ#(rw) manually remove a slave device”h]”hŒ#(rw) manually remove a slave device”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KbhjSubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒw1_master_search”h]”hŒw1_master_search”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kchjsubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjpubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ>(rw) the number of searches left to do, -1=continual (default)”h]”hŒ>(rw) the number of searches left to do, -1=continual (default)”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KchjŠubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjpubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒw1_master_slave_count”h]”hŒw1_master_slave_count”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kehjªubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj§ubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ(ro) the number of slaves found”h]”hŒ(ro) the number of slaves found”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KehjÁubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj§ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒw1_master_slaves”h]”hŒw1_master_slaves”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kfhjáubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjÞubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ*(ro) the names of the slaves, one per line”h]”hŒ*(ro) the names of the slaves, one per line”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kfhjøubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjÞubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒw1_master_timeout”h]”hŒw1_master_timeout”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kghjubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ*(ro) the delay in seconds between searches”h]”hŒ*(ro) the delay in seconds between searches”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kghj/ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubj~)�”}”(hhh]”(jƒ)�”}”(hhh]”hÌ)�”}”(hŒw1_master_timeout_us”h]”hŒw1_master_timeout_us”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhhjOubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjLubjƒ)�”}”(hhh]”hÌ)�”}”(hŒ/(ro) the delay in microseconds between searches”h]”hŒ/(ro) the delay in microseconds between searches”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khhjfubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjLubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hjzubeh}”(h]”h ]”h"]”h$]”h&]”uh1jxhj_ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j]hjZubah}”(h]”h ]”h"]”h$]”h&]”uh1jXhjGh²hh³hÊh´NubhÌ)�”}”(hXIf you have a w1 bus that never changes (you don't add or remove devices), you can set the module parameter search_count to a small positive number for an initially small number of bus searches. Alternatively it could be set to zero, then manually add the slave device serial numbers by w1_master_add device file. The w1_master_add and w1_master_remove files generally only make sense when searching is disabled, as a search will redetect manually removed devices that are present and timeout manually added devices that aren't on the bus.”h]”hX!If you have a w1 bus that never changes (you don’t add or remove devices), you can set the module parameter search_count to a small positive number for an initially small number of bus searches. Alternatively it could be set to zero, then manually add the slave device serial numbers by w1_master_add device file. The w1_master_add and w1_master_remove files generally only make sense when searching is disabled, as a search will redetect manually removed devices that are present and timeout manually added devices that aren’t on the bus.”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KkhjGh²hubhÌ)�”}”(hX'Bus searches occur at an interval, specified as a sum of timeout and timeout_us module parameters (either of which may be 0) for as long as w1_master_search remains greater than 0 or is -1. Each search attempt decrements w1_master_search by 1 (down to 0) and increments w1_master_attempts by 1.”h]”hX'Bus searches occur at an interval, specified as a sum of timeout and timeout_us module parameters (either of which may be 0) for as long as w1_master_search remains greater than 0 or is -1. Each search attempt decrements w1_master_search by 1 (down to 0) and increments w1_master_attempts by 1.”…”�”}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KthjGh²hubeh}”(h]”Œw1-master-sysfs-interface”ah ]”h"]”Œw1 master sysfs interface”ah$]”h&]”uh1hµhh·h²hh³hÊh´KVubh¶)�”}”(hhh]”(h»)�”}”(hŒw1 slave sysfs interface”h]”hŒw1 slave sysfs interface”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjºh²hh³hÊh´K{ubjY)�”}”(hhh]”j^)�”}”(hhh]”(jc)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jbhjÎubjc)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K