kusti8 / hue-plus

A Windows and Linux driver in Python for the NZXT Hue+
GNU General Public License v3.0
229 stars 18 forks source link

could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0' #56

Open jodusan opened 5 years ago

jodusan commented 5 years ago

Any ideas why this happens?

ghost commented 5 years ago

Same issue here. I would really like to use this software so hopefully this gets worked out!

Edit: I also tried running the program from the command line as sudo hui_ui ... and get the error "Serial port is invalid. Try /dev/ttyACM0 for Linux or COM3 or COM4 for Windows" The terminal has the message, "QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'" Not sure if this helps.

Running this command sometimes does open up the program itself. however, none of the effects work, only raising the error message raised above about the serial port being invalid.

jantobola commented 5 years ago

Same here.

Gooberpatrol66 commented 4 years ago

try modprobe cdc-acm

JakubBrom commented 4 years ago

try modprobe cdc-acm

Does'nt work for me

joapuiib commented 4 years ago

Same here

viniciusvivan commented 4 years ago

I'm having the same problem here.

BrianCote commented 4 years ago

Having exact same problem as OP.

uchaudh commented 4 years ago

Same problem me too! Did anyone get a solution?

saltchicken commented 4 years ago

Does it work if you run sudo hue fixed AAAAAA?

What OS are you running?

What is your output for dmesg |grep tty

BrianCote commented 4 years ago

Hi @saltchicken ,

  1. The command spat back the same error, serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'

  2. Pop_OS 19.10

  3. [ 0.000000] printk: console [tty0] enabled [ 0.370926] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A

EDIT: Followup: Ran sudo hue_ui and it opened but spat a warning QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'. Tried to add a fixed color, and spat the following error:

https://imgur.com/hQc3Zws

So same port issue.

BoomWortel commented 4 years ago

@bcote94 @saltchicken i have the exact same issue first i used OpenRGB but i it did not reconise my LED. the LED that im using ar the NZXT H500i case led in windows it works fine but in linux i cant get them to work in OpenRGB i can change my x52 kraken watercoller leds and my ram modules but not the led

  1. The command spat back te same error, serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'

  2. i use also Pop!_OS 19.10

  3. [ 0.104640] printk: console [tty0] enabled [ 0.590103] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A

ghost commented 4 years ago

@BoomWortel so for OpenRGB, some motherboards need to have a patch applied to the kernal first. Once I applied the patch, OpenRGB works like a charm.

Rpascar1 commented 4 years ago

@BoomWortel so for OpenRGB, some motherboards need to have a patch applied to the kernal first. Once I applied the patch, OpenRGB works like a charm.

What is this patch - can you please provide more information about solving this?

abhi-iyer commented 4 years ago

@Frick-David do you mean you got hue_ui working on linux?

dpawlows commented 3 years ago

@BoomWortel Did you ever solve this? I'm running into the same issue. I've tracked down my smart device to be connected to /dev/bus/usb/003 but that port doesn't work either, so I'm missing something.

Sacerdos1990 commented 3 years ago

https://gitlab.com/CalcProgrammer1/OpenRGB this worked for me. at the end it says: Run the application with ./OpenRGB use sudo ./openrgb
that is what worked for me.

ghost commented 3 years ago

This issue should probably be closed. Like @Sacerdos1990 said, look at openRGB, liquidctl, and there are some others as well.