There's a bug in the python script.
DRI device 0 DMCUB F/W version: 0x0400003e Traceback (most recent call last): File "/home/farr/Downloads/psr.py", line 81, in <module> decode_psr_support(f) File "/home/farr/Downloads/psr.py", line 20, in decode_psr_support print("○ %s [%d]" % (PSR_SUPPORT[v], v)) ~~~~~~~~~~~^^^ KeyError: 0
I don't really know much python. I commented the line and added as the PSR_SUPPORT[v] is error, and added new line print("o [%d]" % v).
Output is: DRI device 0 DMCUB F/W version: 0x0400003e o [0] ○ Sink OUI: 38-ec-11 ○ resv_40f: 00 ○ ID String: 00-00 ○ PSR Status: 00-00-00
There's a bug in the python script.
DRI device 0 DMCUB F/W version: 0x0400003e farr/Downloads/ psr.py" , line 81, in <module> psr_support( f) farr/Downloads/ psr.py" , line 20, in decode_psr_support
~~~ ~~~~~~~ ~^^^
Traceback (most recent call last):
File "/home/
decode_
File "/home/
print("○ %s [%d]" % (PSR_SUPPORT[v], v))
KeyError: 0
I don't really know much python. I commented the line and added as the PSR_SUPPORT[v] is error, and added new line print("o [%d]" % v).
Output is:
DRI device 0 DMCUB F/W version: 0x0400003e
o [0]
○ Sink OUI: 38-ec-11
○ resv_40f: 00
○ ID String: 00-00
○ PSR Status: 00-00-00