EDID icon indicating copy to clipboard operation
EDID copied to clipboard

duplicate EDIDs

Open joevt opened this issue 4 years ago • 5 comments

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!(?:&nbsp;)*(</td>)!\1!g;
		s!&amp;!&!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

joevt avatar Sep 25 '21 08:09 joevt

The dups have been removed from the repository. Thank you!

Could you please attach the pnp_id_list.txt to this issue? The script is failed to run on my computer.

linuxhw avatar Oct 05 '21 08:10 linuxhw

I've attached the pnp_id_list.txt

pnp_id_list.txt.zip

joevt avatar Oct 05 '21 11:10 joevt

I've attached the pnp_id_list.txt

pnp_id_list.txt.zip

Thanks! This will help to identify vendor.

linuxhw avatar Oct 05 '21 14:10 linuxhw

I've also found https://raw.githubusercontent.com/vcrhonek/hwdata/master/pnp.ids

linuxhw avatar Oct 05 '21 14:10 linuxhw

Oh, I see they use the same source but apply a patch file on top of that. https://github.com/vcrhonek/hwdata/blob/master/Makefile https://github.com/vcrhonek/hwdata/blob/master/pnp.ids.patch

joevt avatar Oct 05 '21 15:10 joevt