aux=$(ls /sys/class/drm/card0-eDP-1/ | grep drm_dp_aux)

echo PSR DPCD reads over /dev/$aux

r=$(dd if=/dev/$aux bs=1 count=1 skip=$((0x170)) 2> /dev/null | xxd -p)
echo 0x170=$r

r=$(dd if=/dev/$aux bs=1 count=1 skip=$((0x2006)) 2> /dev/null | xxd -p)
echo 0x2006=$r

r=$(dd if=/dev/$aux bs=1 count=1 skip=$((0x2007)) 2> /dev/null | xxd -p)
echo 0x2007=$r

r=$(dd if=/dev/$aux bs=1 count=1 skip=$((0x2008)) 2> /dev/null | xxd -p)
echo 0x2008=$r

r=$(dd if=/dev/$aux bs=1 count=1 skip=$((0x2009)) 2> /dev/null | xxd -p)
echo 0x2009=$r

r=$(dd if=/dev/$aux bs=1 count=1 skip=$((0x200A)) 2> /dev/null | xxd -p)
echo 0x200A=$r



