Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb.core can't find usb device by idVendor=0x0BDA and idProduct=0x5830 #13

Open
AsherPhan opened this issue Aug 5, 2023 · 0 comments
Open

Comments

@AsherPhan
Copy link

The camera is connected and I can open it using the default camera app in windows 10.
If I use:

import win32com.client
wmi = win32com.client.GetObject ("winmgmts:")
for usb in wmi.InstancesOf ("Win32_USBHub"):
print(usb.DeviceID)

It returns:
USB\VID_0BDA&PID_5830\200901010001

when I run:
python main.py

It returns:
INFO:P2Pro.recorder:Starting video recording to file test.mkv ...
Traceback (most recent call last):
File "C:\path\P2Pro-Viewer-main\main.py", line 25, in
cam_cmd = P2Pro_CMD.P2Pro()
File "C:\path\P2Pro-Viewer-main\P2Pro\P2Pro_cmd.py", line 84, in init
raise FileNotFoundError("Infiray P2 Pro thermal module not found, please connect and try again!")
FileNotFoundError: Infiray P2 Pro thermal module not found, please connect and try again!

The problem is in line 84: self._dev = usb.core.find(idVendor=0x0BDA, idProduct=0x5830)

I tried this line only
import usb.core
dev = usb.core.find(idVendor=0x0BDA, idProduct=0x5830)
print(dev)

It returns:
None

Please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant