
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
tty-to-usb-device
Advanced tools
find out the usb device path for a usb serial tty ex (/dev/ttyACM0)
lets say you have an arduino or some usb serial connected. this will find the path to the usb device it belongs to. im usaing it for the module reset-usb to kick unresponsive devices. might only work on linux but should work on anything with /dev /sys and probably udev for uevent files
var lookup = require('tty-to-usb');
lookup('/dev/ttyACM1',function(err,device,meta){
console.log(err,device,meta)
});
output will be something like this.
false '/dev/bus/usb/002/017' { link: '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/tty/ttyACM1',
usbDevice: '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4',
uevent: 'MAJOR=189\nMINOR=144\nDEVNAME=bus/usb/002/017\nDEVTYPE=usb_device\nDRIVER=usb\nPRODUCT=1d50/6051/1\nTYPE=2/0/0\nBUSNUM=002\nDEVNUM=017',
product: 'Pinoccio',
undefined: 'Pinoccio',
serial: '9533534303635191C0C1',
idVendor: '1d50',
version: '1.10',
idProduct: '6051',
devpath: '/dev/bus/usb/002/017' }
FAQs
find out the usb device path for a usb serial tty ex (/dev/ttyACM0)
We found that tty-to-usb-device demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.