Giter Site home page Giter Site logo

usb_resetter's Introduction

NetInvent SASU

Committed to open source Development

Happy to code our projects and help improve others.

My Github statistics

usb_resetter's People

Contributors

deajan avatar jakobpetersson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

usb_resetter's Issues

TypeError: 'exc_info' is an invalid keyword argument for print()

Hello, I got this message when trying to run usb_resetter.py not as root :

Program failed with error Kernel path /sys/kernel/debug/usb/devices not found. Please run this script as root
Traceback (most recent call last):
  File "/home/kali/usb_resetter/usb_resetter/usb_resetter.py", line 430, in main
    interface()
  File "/home/kali/usb_resetter/usb_resetter/usb_resetter.py", line 422, in interface
    get_usb_devices_paths(list_only=True)
  File "/home/kali/usb_resetter/usb_resetter/usb_resetter.py", line 163, in get_usb_devices_paths
    raise OSError(
OSError: Kernel path /sys/kernel/debug/usb/devices not found. Please run this script as root

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kali/usb_resetter/usb_resetter/usb_resetter.py", line 441, in <module>
    main()
  File "/home/kali/usb_resetter/usb_resetter/usb_resetter.py", line 436, in main
    print("Trace:", exc_info=True)
TypeError: 'exc_info' is an invalid keyword argument for print()

It's just the "exc_info" issue... Thanks !

Same vendor id & product id

I have a few usb dongles/modems, all identical, and they got same vendor id & product id. How can I reset a single device under this condition?

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.