cm-rgb icon indicating copy to clipboard operation
cm-rgb copied to clipboard

Segmentation Fault when trying to get cli version

Open irvingwa opened this issue 4 years ago • 3 comments

Was wondering if anyone could help me with running the CLI on Ubuntu Server 20.04.4 LTS when running the following this error occurs.

$ cm-rgb-cli version V1.01.00 python3: io.c:2115: handle_events: Assertion `ctx->pollfds_cnt >= internal_nfds' failed. Aborted (core dumped)

irvingwa avatar Feb 02 '22 02:02 irvingwa

I can see that issue originates from libusb. There are related issues https://github.com/signal11/hidapi/issues/397 But no ready to use solution as of yet.

gfduszynski avatar Feb 02 '22 08:02 gfduszynski

Also, when something like cm-rgb-monitor is already running, cm-rgb-cli complains about not being able to access the usb device and spews out lots of stuff but no version.

dominalien avatar Feb 19 '22 08:02 dominalien

@dominalien It tries to read firmware version from the device itself, that's why it fails.

gfduszynski avatar Feb 19 '22 08:02 gfduszynski