Kenji Posted March 26 Share Posted March 26 I create a file 98-use-serial.rules under folder /etc/udev/rules.d . But symlink not created . My purpose is to fix USB port names, As COM1 COM2 COM3 This is the content of 98-usb-serial.rules: SUBSYSTEM=="tty",ATTRS{busnum}=="1",ATTRS{devnum}=="2",SYMLINK+="COM1" SUBSYSTEM=="tty",ATTRS{busnum}=="4",ATTRS{devnum}=="2",SYMLINK+="COM2" SUBSYSTEM=="tty",ATTRS{busnum}=="5",ATTRS{devnum}=="2",SYMLINK+="COM3" I used to fix the USB port on Asus Tinker S, Khada_VIM3 , all worked fine. I have no idea why Orange Pi 4 LTD not working. 0 Quote Link to comment Share on other sites More sharing options...
ArXen42 Posted August 8 Share Posted August 8 Might be related: on latest armbian, I'm encountering two issues: Contents of /dev/serial/by-id and /dev/serial/by-path are not the same: some connected devices are missing from by-id, making it complicated to identify which /dev/ttyACMx is which. orangepi@mypc:~$ lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 007: ID 1a86:55d4 QinHeng Electronics USB Single Serial Bus 003 Device 006: ID 1a86:55d4 QinHeng Electronics USB Single Serial Bus 003 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 014: ID 1a86:55d4 QinHeng Electronics USB Single Serial Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub orangepi@mypc:~$ usbreset Usage: usbreset PPPP:VVVV - reset by product and vendor id usbreset BBB/DDD - reset by bus and device number usbreset "Product" - reset by product name Devices: Number 002/014 ID 1a86:55d4 USB Single Serial Number 003/007 ID 1a86:55d4 USB Single Serial Number 003/006 ID 1a86:55d4 USB Single Serial Number 003/002 ID 1a40:0101 USB 2.0 Hub orangepi@mypc:~$ tree /dev/serial/ /dev/serial/ ├── by-id │ └── usb-1a86_USB_Single_Serial_535A000001-if00 -> ../../ttyACM3 └── by-path ├── platform-fe3a0000.usb-usb-0:1:1.0 -> ../../ttyACM3 ├── platform-xhci-hcd.4.auto-usb-0:1.3:1.0 -> ../../ttyACM0 └── platform-xhci-hcd.4.auto-usb-0:1.4:1.0 -> ../../ttyACM1 3 directories, 4 files Armbian 24.5.1 bookworm 2. Simultaneously, I am encountering problems when usb-serial converter will freeze and won't respond unless I manually perform usbreset command. udev rules (60-serial.rules) were certainly updated since armbian release ~1 year ago. However, this might be simply related to some changes in our connected hardware. Since we added USB hub and have newer revision of these usb-serial converters, I cannot say for certain this is an OS problem. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.