Open
Description
There are some EDIDs that are duplicated in the Others folder.
for thefile in $(
find bsdhw-EDID linuxhw-EDID \( -name \
$(echo \
$(for base in bsdhw-EDID linuxhw-EDID; do
find "$base" -type f \( -path '*/Analog/*' -o -path '*/Digital/*' \) -not -name ".DS_Store" -print0 | xargs -0 basename | sort | uniq -d
done) | sed -e 's/ / -o -name /g'
) \)
); do
echo $(basename $thefile) $thefile
done | sort
13334255FF87 linuxhw-EDID/Digital/HP/HPN3424/13334255FF87
13334255FF87 linuxhw-EDID/Digital/Others/HPN3424/13334255FF87
255E01473B16 linuxhw-EDID/Digital/Others/SAN0000/255E01473B16
255E01473B16 linuxhw-EDID/Digital/Sanyo/SAN0000/255E01473B16
4975724560DC linuxhw-EDID/Digital/Gericom/QMX2421/4975724560DC
4975724560DC linuxhw-EDID/Digital/Others/QMX2421/4975724560DC
7421C5E94A79 linuxhw-EDID/Digital/HP/HPN335A/7421C5E94A79
7421C5E94A79 linuxhw-EDID/Digital/Others/HPN335A/7421C5E94A79
D4C9E7470F3D linuxhw-EDID/Digital/HP/HPN3424/D4C9E7470F3D
D4C9E7470F3D linuxhw-EDID/Digital/Others/HPN3424/D4C9E7470F3D
FAA6DC41AC05 linuxhw-EDID/Digital/Lenovo/QWA3602/FAA6DC41AC05
FAA6DC41AC05 linuxhw-EDID/Digital/Others/QWA3602/FAA6DC41AC05
Maybe the vendor ID wasn't valid when it was uploaded to Others?
159 of the 325 vendor IDs in Others seem to be valid though (at least they match an ID in the list at https://uefi.org/pnp_id_list )
if [[ ! -f ~/pnp_id_list.txt ]]; then
curl -s "https://uefi.org/uefi-pnp-export" | \
tidy -wrap 0 -raw -utf8 -q | \
perl -0777 -nE '
s!(?: )*(</td>)!\1!g;
s!&!&!g;
while (
m!
^<tr\ class=\"(?:odd|even)">\n
<td>(.*)</td>\n
<td>(...)</td>\n
<td>(../../....)</td>\n
</tr>
!xmg
) {
print $3 . " " . $2 . " " . $1 . "\n"
}
' | \
sort -f -k 3 -k 2 -k 1 > ~/pnp_id_list.txt
fi
for thepnp in $(ls -d *hw-EDID/*/Others/??????? | sed -E 's/.*\/(...).*/\1/' | sort -u); do
sed -nE '/^.......... ('$thepnp') (.*)/ { s//\1 \2/p ; q ; };$s/.*/____ '$thepnp'/p' ~/pnp_id_list.txt
done | sort
Metadata
Metadata
Assignees
Labels
No labels