diff options
author | P.K. Lee <pkleequanta@gmail.com> | 2025-09-12 08:55:10 +0300 |
---|---|---|
committer | P.K. Lee <p.k.lee@quantatw.com> | 2025-09-18 12:28:42 +0300 |
commit | f97a18e6ac04262f629b1428c65fd55168c40c0c (patch) | |
tree | f1a6cb2519d1d9d38e1028ed29b8de98bfb5ef4d /meta-openembedded/meta-python/recipes-devtools/python/python3-autoflake_2.3.1.bb | |
parent | 9222eb5bf1982db7637e9d29cc367b2aa5df79cd (diff) | |
download | openbmc-master.tar.xz |
Since the number of USB-to-RS485 chips differs between RMCv1 and RMCv1+,
placing both rs485 port mapping rules in the same udev rules file may
lead to conflicts. The same rule could result in different port mappings
depending on the RMC revision.
To address this issue, the number of ttyUSB* devices is counted to
identify the RMC hardware revision, and the correct udev rules are then
applied automatically.
Tested:
We have verified that the rules work on the RMCv1 and RMCv1+ machines.
Change-Id: Ic0aa011871a3cbf19884e8b45172c72466220745
Signed-off-by: P.K. Lee <p.k.lee@quantatw.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-autoflake_2.3.1.bb')
0 files changed, 0 insertions, 0 deletions