I'm having this issue as well... I have a shell script that is doing a weather write to the LCD:
[size=78%]function write[/size]
{
# write to Arduino - two phases
./send "$mydate"
./send "$myday"
sleep 5
./send "Temperature:"
./send "$temp"
sleep 5
./send "Conditions:"
./send "$weather"
sleep 5
./send "Humidity: ${humidity}%"
./send "Visib: ${visibility}mi"
sleep 5
./send "Wind:"
./send "$winddir - $windmph MPH"
sleep 5
./send "Wind chill:"
./send "$windchill"
}
It freezes the keyboard and the mouse every 5-10 seconds. Now, I'm hooked up through a two port USB KVM, and what is interesting is that it's doing it on either host. The Digispark is hooked up via USB hub to the Mac. But, the PC on the other KVM is getting the delays too. If I break the shell script, it stops the hangs. Note, that this is on a Mac Mini (2010) running 10.8.3. The PC on the other end of the KVM is running Win7, it's a Lenovo X220.