GithubHelp home page GithubHelp logo

Comments (2)

Pack3tL0ss avatar Pack3tL0ss commented on July 30, 2024

That one I've seen myself, but need to dig out the adapter that causes it to test. It's appears to impact adapters that don't present a serial number. The selection of the less unique fallback options for those devices was missed/needs to be adjusted to work with the new menu (was changed to add paging support).

You can see the devices attributes with s# in the rename menu. serial_short is the serial number that is normally used to identify the device. If it's an FTDI you may be able to write a serial to it using the FTPROG utility from FTDI. I'll get it sorted out when I can.

Thanks for taking the time to report it.

from consolepi.

kuoky avatar kuoky commented on July 30, 2024

Hi,
those four devices are connected to a 4-port RS-232 to USB hub:

 --- Details For ttyUSB5 ---
by_id: /dev/serial/by-id/pci-9710_7840-if00-port3
by_path: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2:1.0-port3
devname: /dev/ttyUSB5
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.2/1-1.2.2:1.0/ttyUSB5/tty/ttyUSB5
id_bus: pci
id_ifnum: 00
id_model: 7840
id_model_from_database: MCS7820/MCS7840 2/4 port serial adapter
id_model_id: 7840
id_path: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2:1.0
id_pci_class_from_database: Serial bus controller
id_pci_subclass_from_database: USB controller
id_serial: 9710_7840
id_serial_short: None
id_type: generic
id_usb_class_from_database: Vendor Specific Class
id_usb_driver: mos7840
id_usb_interfaces: :ff00ff:
id_vendor: 9710
id_vendor_from_database: MosChip Semiconductor
id_vendor_id: 9710
lame_devpath: 1.2.2
root_dev: True
subsystem: tty

If attached devices to hubs cannot be renamed:
Is it still possible to label those devices? They will always be attached to the same port of the hub, which I can see is part of the ID: by_id: /dev/serial/by-id/pci-9710_7840-if00-port3.
Therefore it should be possible to identify them uniquely?

from consolepi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.