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

I get an error in arch after installing the aur package #39

Open
iqzer0 opened this issue Apr 23, 2020 · 3 comments
Open

I get an error in arch after installing the aur package #39

iqzer0 opened this issue Apr 23, 2020 · 3 comments

Comments

@iqzer0
Copy link

iqzer0 commented Apr 23, 2020

I have attached a screenshot of the error i get.. am using a Toughpower DPS G RGB 1250W Titanium

Screenshot from 2020-04-23 18-11-45

Could you assist me in solving the issue please

@snuffysasa
Copy link

The error is because the previous line of code fails to find a device. You will likely need to find the product ID of your device.

You should be able to run the command "lsusb" and look for the line that is this device and look for something like "264a:1fa6" where the left side is "2641" the vendor ID for thermaltake.. then the right side will be product ID.. then you'll need to enter that is the product ID the code searches for.

@iqzer0
Copy link
Author

iqzer0 commented Apr 24, 2020

thats the device ID i found which matches it.. Bus 001 Device 004: ID 264a:2329

where should i enter that product ID ? much appreciate ur support.. thanks

@snuffysasa
Copy link

well one place where you could put it would be right before you get that error:

def _initialize_device(self):
    self.device = usb.core.find(idVendor=self.vendor_id,
                                idProduct=self.product_id)

put 0x2329 in for product ID....

However, that is not a very clean solution at all, that will break other devices (are you using other devices)... I might be leading you astray, and you might run into additional errors, and there is definitely a more elegant solution... but you could try this and post back and figure out where to go from there.

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

2 participants