associating w1 bus masters to parent device
Billie Alsup <[email protected]> Wed, 19 Aug 2020 18:11:00 -0700
| Newsgroups | gmane.linux.newbie |
|---|---|
| Message-ID | <[email protected]> |
I have hardware with multiple ds2482 devices (i2c to 1-wire bridge). Each instantiation of a ds2482 results in a new w1_bus_master%d device. However, I cannot figure out how to correlate the w1_bus_master%d device to the original ds2482 device (from user space looking at sysfs entries). Each master has the same type of device behind it (a ds2433 eeprom), but I still need to know which is which. The i2c devices (and thus the w1_bus_master%d devices) do not necessarily probe consecutively, so I can't just presume a mapping at any instance in time. Am I missing something? Currently on 4.9.189 (debian:9), but am planning to move to 4.19.118 (debian:10).