linux-newbie.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Billie Alsup <billie.alsup@gmail.com>
To: linux-newbie@vger.kernel.org
Subject: associating w1 bus masters to parent device
Date: Wed, 19 Aug 2020 18:11:00 -0700	[thread overview]
Message-ID: <BA6555F3-C73F-4D0F-A2D8-FABB3CAAE517@gmail.com> (raw)

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).





                 reply	other threads:[~2020-08-20  1:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BA6555F3-C73F-4D0F-A2D8-FABB3CAAE517@gmail.com \
    --to=billie.alsup@gmail.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).