Skip to content

perform a kernel reset on the usb port (linux only)

Notifications You must be signed in to change notification settings

reqshark/portreset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux kernel usb port reset

run from root, performs a hard reset on the usb port

may require npm i --unsafe-perm

const reset = require('portreset')

/* reset( idVendor, idProduct ) */
reset(0x1ef1, 0x0001)

About

perform a kernel reset on the usb port (linux only)

Resources

Stars

Watchers

Forks

Packages

No packages published