goodix-fp-linux-dev/goodix-fp-dump

unsupported operand type(s) for |: 'type' and 'NoneType'

polkornyipt opened this issue · 1 comments

sudo lsusb -vd "27c6:" | grep "idProduct" # Returns the device ID
can't get debug descriptor: Resource temporarily unavailable
idProduct 0x55a4

sudo python3 run_55a4.py
Traceback (most recent call last):
File "run_55a4.py", line 1, in
import driver_55x4
File "/goodix-fp-dump/driver_55x4.py", line 11, in
import goodix
File "goodix-fp-dump/goodix.py", line 5, in
import protocol
File "/goodix-fp-dump/protocol.py", line 10, in
class Protocol(abc.ABC):
File "/goodix-fp-dump/protocol.py", line 13, in Protocol
def init(self, vendor: int, product: int, timeout: float | None = 5):
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

mpi3d commented

Please read the README