Skip to content

/dev/serial/by-id/ path doesn't exists #3589

Answered by robertsLando
TonySeeley asked this question in Q&A
Discussion options

You must be logged in to vote

Tried to also check ls /dev/serial/by-path/ ? Otherwise try to check this: https://www.reddit.com/r/debian/comments/1331wlr/devserialbyid_suddenly_missing/?rdt=45983

TLDR;

sudo nano /lib/udev/rules.d/60-serial.rules

Create a backup of the content of that file and then replace it with this:

# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="serial_end"
SUBSYSTEM!="tty", GOTO="serial_end"

SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
SUBSYSTEMS=="pci", ENV{ID_BUS}=="", ENV{ID_BUS}="pci", \
  ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{device}", \
  IMPORT{builtin}="hwdb --subsystem=pci"

# /dev/serial/by-…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TonySeeley
Comment options

Answer selected by robertsLando
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants