Jump to content

Problem '/dev/serial/by-id': No such file or directory


Recommended Posts

Hello!

I have Orange Pi Zero 3

I got Armbian image from this link - https://github.com/armbian/community/releases/download/24.5.0-trunk.474/Armbian_community_24.5.0-trunk.474_Orangepizero3_bookworm_current_6.6.28_minimal.img.xz
Of course I've made apt update and apt upgrade

And now I'm tying to install zigbee2mqtt using this guide -  https://www.zigbee2mqtt.io/guide/installation/01_linux.html
So, I can't list USB devices 

root@orangepizero3:~# ls -l /dev/ttyACM0
ls: cannot access '/dev/ttyACM0': No such file or directory
root@orangepizero3:~# ls -l /dev/serial/by-id
ls: cannot access '/dev/serial/by-id': No such file or directory

 

I have tryed some tips I've found but no result, only I can see my device in this- 

root@orangepizero3:~# dmesg -w
 . . . 
 [ 1958.349181] usb 4-1: new full-speed USB device number 2 using ohci-platform
[ 1958.585233] usb 4-1: New USB device found, idVendor=1a86, idProduct=55d4, bcdDevice= 4.42
[ 1958.585266] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1958.585286] usb 4-1: Product: SONOFF Zigbee 3.0 USB Dongle Plus V2
 . . .
 

So, do someone have idea how to fix it and get /dev/serial/by-id****  usb addres for config need?
Thanks) 

Link to comment
Share on other sites

After the usb4-1 lines, you should have seen cdc_acm something

 

You can check that you have the acm driver with:

zcat /proc/config.gz|grep ACM

 

you should see config_usb_acm=m
 

Have you tried: ls /dev/ttyUSB* ?

 

When you see the ttyACM*, you should get the by-serial files appear automatically (devrules function)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines