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

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

Open
jodusan opened this issue Oct 5, 2019 · 17 comments

Comments

@jodusan
Copy link

jodusan commented Oct 5, 2019

Any ideas why this happens?

@ghost
Copy link

ghost commented Oct 6, 2019

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
Copy link

Same here.

@Gooberpatrol66
Copy link

try modprobe cdc-acm

@JakubBrom
Copy link

try modprobe cdc-acm

Does'nt work for me

@joapuiib
Copy link

joapuiib commented Feb 7, 2020

Same here

@viniciusvivan
Copy link

I'm having the same problem here.

@BrianCote
Copy link

Having exact same problem as OP.

@uchaudh
Copy link

uchaudh commented Mar 5, 2020

Same problem me too! Did anyone get a solution?

@saltchicken
Copy link

Does it work if you run sudo hue fixed AAAAAA?

What OS are you running?

What is your output for dmesg |grep tty

@BrianCote
Copy link

BrianCote commented Mar 16, 2020

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

[ 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
Copy link

@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

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

@ghost
Copy link

ghost commented Apr 12, 2020

@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
Copy link

@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
Copy link

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

@dpawlows
Copy link

@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
Copy link

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
Copy link

ghost commented Dec 8, 2020

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

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