I tried uploading the Digispark example called Start, but when I plug in the digispark(because the arduino IDE asks me to do it), nothing happens, and then device search timed out.
I already install the UDEV rules, and also the additional board manager of digispark.
I tried getting the micronucleus to work, but I had the following error: In file included from library/micronucleus_lib.c:30:0:
library/micronucleus_lib.h:35:80: fatal error: usb.h: No such file or directory
Digispark uses a software USB implementation which is not perfect. Not all USB controllers (especially newer / USB 3.x controllers) will not except it. So true different ports are a cheap USB 2.0 hub.
septillion:
Digispark uses a software USB implementation which is not perfect. Not all USB controllers (especially newer / USB 3.x controllers) will not except it. So true different ports are a cheap USB 2.0 hub.
@septilion sorry to dig up this old thread but I need some clarification, if you can help please.
I can't get my Digispark to be recognised by Ubuntu. I have 2 and I know they work OK because I have used them successfully before. But since I last used them, I upgraded the motherboard in my PC (the old MB failed).
The new MB has some USB 3.0 ports and some USB 2.0 ports. I also installed a new SSD and re-installed Ubuntu 18.04.
I have installed the .rules file as recommended on the Digispark/Digistump Linux troubleshooting page on their Wiki. But still I get error "-62" on dmesg when I connect the Digisparks.
Your comments about USB 3.0 caught my attention. I am connecting the Digispark to one of the USB 2.0 ports. But could the fact that the MB also has USB 3.0 still be causing the problem, do you think?
UPDATE: the Digispark works fine on some of the USB 2.0 ports, but not others, and none of the USB 3.0 ports. I guess the USB 2.0 ports (6 external + 4 internal) must be controlled by at least 2 different chips on the MB, and one chip is compatible with Digispark and the other is not. Well, at least I can use my Digispark again, now I know which ports are compatible!