This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Serial device not added correctly
#51
All looks good to me, I can successfully remember devices by port and by serial.

I only have one device with no serial, so I've been unable to test what happens if you have 2 devices with the same ID and no serial, and try to remember them both by device ID.

Immediately after upgrade:
   

After deleting and reconfiguring the devices:
   

Device details (with serial number):
Code:
CURRENT_TAGS: :systemd:
DEVLINKS: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2:1.0 /dev/ttyOP_micronet
DEVNAME: /dev/ttyACM0
DEVPATH: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/tty/ttyACM0
ID_BUS: pci
ID_MM_CANDIDATE: 1
ID_MODEL_FROM_DATABASE: VL805 USB 3.0 Host Controller
ID_MODEL_ID: 0x3483
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2:1.0
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_2_1_0
ID_PCI_CLASS_FROM_DATABASE: Serial bus controller
ID_PCI_INTERFACE_FROM_DATABASE: XHCI
ID_PCI_SUBCLASS_FROM_DATABASE: USB controller
ID_USB_DRIVER: cdc_acm
ID_USB_INTERFACES: :020201:0a0000:
ID_USB_INTERFACE_NUM: 00
ID_USB_MODEL: USB_Serial
ID_USB_MODEL_ENC: USB\x20Serial
ID_USB_MODEL_ID: 0483
ID_USB_REVISION: 0279
ID_USB_SERIAL: Teensyduino_USB_Serial_12306220
ID_USB_SERIAL_SHORT: 12306220
ID_USB_TYPE: generic
ID_USB_VENDOR: Teensyduino
ID_USB_VENDOR_ENC: Teensyduino
ID_USB_VENDOR_ID: 16c0
ID_VENDOR_FROM_DATABASE: VIA Technologies, Inc.
ID_VENDOR_ID: 0x1106
MAJOR: 166
MINOR: 0
SUBSYSTEM: tty
TAGS: :systemd:
USEC_INITIALIZED: 32047011045

Device details (without serial number):
Code:
CURRENT_TAGS: :systemd:
DEVLINKS: /dev/ttyOP_gmouse /dev/gps1 /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0
DEVNAME: /dev/ttyACM1
DEVPATH: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/tty/ttyACM1
ID_BUS: pci
ID_MM_CANDIDATE: 1
ID_MM_DEVICE_IGNORE: 1
ID_MODEL_FROM_DATABASE: VL805 USB 3.0 Host Controller
ID_MODEL_ID: 0x3483
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_4_1_0
ID_PCI_CLASS_FROM_DATABASE: Serial bus controller
ID_PCI_INTERFACE_FROM_DATABASE: XHCI
ID_PCI_SUBCLASS_FROM_DATABASE: USB controller
ID_USB_DRIVER: cdc_acm
ID_USB_INTERFACES: :020201:0a00ff:
ID_USB_INTERFACE_NUM: 00
ID_USB_MODEL: u-blox_7_-_GPS_GNSS_Receiver
ID_USB_MODEL_ENC: u-blox\x207\x20-\x20GPS\x2fGNSS\x20Receiver
ID_USB_MODEL_ID: 01a7
ID_USB_REVISION: 0100
ID_USB_SERIAL: u-blox_AG_-_www.u-blox.com_u-blox_7_-_GPS_GNSS_Receiver
ID_USB_TYPE: generic
ID_USB_VENDOR: u-blox_AG_-_www.u-blox.com
ID_USB_VENDOR_ENC: u-blox\x20AG\x20-\x20www.u-blox.com
ID_USB_VENDOR_ID: 1546
ID_VENDOR_FROM_DATABASE: VIA Technologies, Inc.
ID_VENDOR_ID: 0x1106
MAJOR: 166
MINOR: 1
SUBSYSTEM: tty
SYSTEMD_WANTS: gpsdctl@ttyACM1.service
TAGS: :systemd:
USEC_INITIALIZED: 80569913216

Maiana device details:
Code:
CURRENT_TAGS: :systemd:
DEVLINKS: /dev/ttyOP_maiana /dev/serial0
DEVNAME: /dev/ttyAMA0
DEVPATH: /devices/platform/soc/fe201000.serial/tty/ttyAMA0
ID_MM_CANDIDATE: 1
MAJOR: 204
MINOR: 64
SUBSYSTEM: tty
TAGS: :systemd:
USEC_INITIALIZED: 6986529
Reply


Messages In This Thread
RE: Serial device not added correctly - by TVR - 2023-06-06, 06:48 PM
RE: Serial device not added correctly - by yvereg - 2023-06-15, 03:30 PM
RE: Serial device not added correctly - by yvereg - 2023-06-20, 09:15 AM
RE: Serial device not added correctly - by yvereg - 2023-06-20, 02:42 PM
RE: Serial device not added correctly - by yvereg - 2023-06-20, 05:24 PM
RE: Serial device not added correctly - by PaddyB - 2023-06-22, 05:20 AM
RE: Serial device not added correctly - by TVR - 2023-06-28, 07:29 PM
RE: Serial device not added correctly - by TVR - 2023-06-29, 11:14 AM
RE: Serial device not added correctly - by TVR - 2023-06-29, 11:38 AM
RE: Serial device not added correctly - by TVR - 2023-06-29, 11:46 AM
RE: Serial device not added correctly - by TVR - 2023-06-29, 11:43 AM
RE: Serial device not added correctly - by TVR - 2023-06-29, 04:03 PM
RE: Serial device not added correctly - by TVR - 2023-06-29, 05:27 PM
RE: Serial device not added correctly - by TVR - 2023-06-29, 06:49 PM
RE: Serial device not added correctly - by kste - 2023-07-13, 05:01 AM
RE: Serial device not added correctly - by kste - 2023-07-13, 11:14 AM
RE: Serial device not added correctly - by kste - 2023-07-13, 09:36 PM
RE: Serial device not added correctly - by kste - 2023-07-13, 10:38 PM
RE: Serial device not added correctly - by kste - 2023-07-13, 10:53 PM
RE: Serial device not added correctly - by kste - 2023-07-14, 04:49 AM
RE: Serial device not added correctly - by kste - 2023-07-14, 10:13 PM
RE: Serial device not added correctly - by kste - 2023-07-15, 12:43 PM
RE: Serial device not added correctly - by kste - 2023-07-15, 09:50 PM

Forum Jump:


Users browsing this thread: 14 Guest(s)