Coder Social home page Coder Social logo

tonynaggs / portlist Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 126 KB

Port List - lists available (optionally all remembered) COM (serial or modem) or LPT (printer) ports on Microsoft Windows 2000, or later (XP, Vista, 7, 8 or 10)

License: GNU General Public License v2.0

C 100.00%

portlist's People

Contributors

tonynaggs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rsenn

portlist's Issues

install on first run of a new version

Some people are not comfortable creating a directory for the program and adding it to the system path.

A simple interactive install dialog in the command shell should be adequate, something like:

  • Install portlist? Y(es), N(o), or P(ostpone).
  • Install for all users on this PC (requires local administrator privilege)? Y(es) or N(o).

Fails to extract USB VID & PID for some devices

See this extract from 'portlist - v -a'
COM19 . USB Nokia Internet Stick CS-15 Wireless Modem Devic,
Nokia Corporation
Device Class: Modem
Hardware Id: USB\Vid_0421&Pid_0611&Rev_0001&MI_00
Location Info: Nokia Datacard

COM20 . USB Nokia Internet Stick CS-15 Wireless Modem AT1 D,
Nokia Corporation
Device Class: Ports
Hardware Id: USB\Vid_0421&Pid_0611&Rev_0001&MI_01
Location Info: Nokia Datacard

COM21 . NMWCD 0421 00AB Nokia E71 USB, Nokia
Device Class: Ports
Hardware Id: NMWCD\VID_0421&PID_00ab&IF_JAVACOMM
Location Info: Nokia Device Bus

COM22 . NMWCD 0421 00AB Nokia E71 USB Modem, Nokia
Device Class: Modem
Hardware Id: NMWCD\VID_0421&PID_00ab&Cdc_Modem
Location Info: Nokia Device Bus

Available/Active column reports wrongly (v0.9)

If neither Verbose (-v) or All (-a) flags are given the Active column is not really needed.

More importantly if neither of those options are given the Active state is reported as not active eg:

C:\>portlist -l
Port    A Bus    VID  PID  Rev  Product, Vendor
COM3    n USB    04D8 000A 0100 USB Serial (UBW-based) communi, SchmalzHaus LLC
COM4    n USB    1D50 6098 0020 USB Serial Port, Aperture Labs Ltd.

2 ports found.

add driver debug report or tool for Arduinos

Arduino driver debug feature or standalone tool, that looks for & reports Arduinos [or the serial port bridge chips (Prolific, FTDI, CH340, etc) used in e.g. Arduino Uno or clones], that are connected & recognised but for which no driver is installed.

wait for keypress at end, if launched from Windows Explorer

If the program is run from somewhere other than the Command shell (or PowerShell) a temporary shell is created to run the program but this closes when the program finishes. Thus the port list report is lost. So detect when to pause at the end of the program and wait for a key press (e.g. space or carriage return).

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.