Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the option to choose the serial port #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NICOLASGON
Copy link

Hello,

This patch add the option in the cli to choose the teensy we want to flash.
Thank you,
Nicolas Gonzalez

@peternewman
Copy link

This is the serial number of the device, rather than anything to do with the serial port isn't it?

@siteswapjuggler
Copy link

Is this patch still active and valid ? Do you know a good way to get Teensys serial number with a command line tool ?

@peternewman
Copy link

Do you know a good way to get Teensys serial number with a command line tool ?

Something like lsusb should do so @siteswapjuggler

@siteswapjuggler
Copy link

Hello I found lsusb -v which works like a charm thanks :)

@peternewman
Copy link

Hello I found lsusb -v which works like a charm thanks :)

Adding -d and the right vendor/product would let you just show Teensys, which might be even more useful.

lshw may also show them, and has XML and JSON output formats which could be parsed more reliably. It also has ways to filter for just particular classes of data.

@siteswapjuggler
Copy link

Yep my final scrip is something is :
lsusb -v -d 0x16c0: | grep iSerial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants