mame82 / duck2spark

Converter for raw RubberDucky payloads to Digispark Arduino IDE Sketch source.
472 stars 95 forks source link

Driver Not Found #7

Open MisterMeeseeks opened 7 years ago

MisterMeeseeks commented 7 years ago

This software works very well, except that when I go to use the hardware on another computer, it is unable to locate a driver and nothing works as it is supposed to.

Is there a specific driver that needs to be installed on the computer for this to work? Is there a different USB identifier that can be used to make this work more universally?

mame82 commented 7 years ago

Although you didn't provide information on your target OS, I doubt this is an issue in duck2spark. The code uses the implementation of DigiKeyboard provided with the Arduino DigiSpark extensions, which I unfortunately have no influence on.

Anyway, the DigiKeyboard extension deploys a default USB HID descriptor for keyboards, for which the target OS should have a default driver available. If your target OS is Windows, you could for example manually uninstall and reinstall the driver. But as said: DigiSpark keyboard implementation isn't something I'm able to influence, the source built by Duck2Spark essentially interfaces with this implementation by generating the necessary source code for Arduino IDE.

So sorry, I'm not able to provide more help on this

MisterMeeseeks commented 7 years ago

I appreciate the quick reply.

The target OS is Windows 7, and the reason I asked is because when manually writing the script in the Arduino IDE (i.e. without duck2spark enhancements), it is recognized with no issue and executed correctly with no driver issue. It is only when converting using this script that the driver issue crops up.

And it doesn't happen on every computer I've tried it on, which is why I thought it might be a USB identifier code at play. But if it's not on this end, I will attempt to investigate further elsewhere.

Thank you for all your hard work on this and your other projects. I am having immense fun learning about all of this!

mame82 commented 7 years ago

@MisterMeeseeks have you made progress on this?