This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF Connect Linux - not able to find ttyACM0

I couldn't use nRF Connect (BLE) under Linux, after updating the FW, it tries to open /dev/ttyACM0 but fails to do so.

  1. Not a "permission" problem: the user is in uucp and dialup groups already. Even tried to change permissions on /dev/ttyACM0 to 777 - still the same problem.
  2. I observe some led activity on PCA10000 when it tries to "open" the port.
  3. I see it detected FW version, so "Not able to find" is definitely misleading error message.

I'm ready to provide strace log, feel free to PM me.

Thank you.

image description

Parents
  • Hi,

    PCA10000 is not supported in nRF Connect. Use PCA10031 if you want a dongle. Alternatively you may use any of the following DKs: PCA10028, PCA10040 or PCA10056.

    Ketil

  • Hi Ketil, I am observing exactly the same behavior when connecting to PCA10068. strace shows that ttyACM0 can be opened: open("/dev/ttyACM0", O_RDWR|O_NOCTTY|O_NONBLOCK|O_SYNC|O_CLOEXEC) = 37

    It seems that it scans /sys to associate the tty with USB (or something). [pid 10126] open("/sys/devices/pci0000:00/0000:00:06.0/usb1/1-2/1-2:1.0/tty/ttyACM0/uevent", O_RDONLY|O_CLOEXEC) = 37

    Anyway the effect is the same as in the bug: "Not able to find /dev/ttyACM0" Is PCA10068 also not supported?

Reply
  • Hi Ketil, I am observing exactly the same behavior when connecting to PCA10068. strace shows that ttyACM0 can be opened: open("/dev/ttyACM0", O_RDWR|O_NOCTTY|O_NONBLOCK|O_SYNC|O_CLOEXEC) = 37

    It seems that it scans /sys to associate the tty with USB (or something). [pid 10126] open("/sys/devices/pci0000:00/0000:00:06.0/usb1/1-2/1-2:1.0/tty/ttyACM0/uevent", O_RDONLY|O_CLOEXEC) = 37

    Anyway the effect is the same as in the bug: "Not able to find /dev/ttyACM0" Is PCA10068 also not supported?

Children
No Data
Related