Crash on some android devices (solution included!)
GoogleCodeExporter opened this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Connect cheap generic 7" Android 4 tablet
2. Run any example
What is the expected output? What do you see instead?
Code resets a few times then locks up
What version of the product are you using? On what operating system?
Arduino 0022, Uno, Sparkfun USB shield
Please provide any additional information below.
I used a USB analyzer and found the problem
USB::InitDevice attempts to get the first language string. It does the call
twice, once with a small buffer to get the length, second time with the correct
size buffer.
However, with this Android device, it doesn't return any data when attempting
to get the string length which causes badness to happen.
Commenting out the 3 lines below // Get the first supported language. fixes the
issue and allows the examples to run.
Original issue reported on code.google.com by delude...@gmail.com
on 26 Apr 2013 at 2:46
GoogleCodeExporter commented
Hey, I am trying to connect a cheap Arnova 7hg3 tablet to arduino. I get no
response from servocontrol or ADk or anything. Do you have any solution?
Original comment by marti.su...@gmail.com
on 7 Oct 2014 at 5:12