Home › Forums › TinyG › TinyG Feature Requests › First test of Android CNC app
- This topic has 35 replies, 4 voices, and was last updated 12 years, 6 months ago by greyhound716.
-
AuthorPosts
-
June 3, 2012 at 2:11 pm #1177greyhound716Member
Fabrice,
I’ve added an activity to the USB service app that will help with testing. This means that the app will be visible in the launcher as well as work “behind the scenes” for the main app. When you run this app, it will bring up a text screen with two buttons – search and connect. If you press search, it will enumerate all of the USB devices it thinks are attached and display their product and vendor IDs. When you press connect, it will attempt to connect to the first device that it found with the right signature, enumerate the endpoints, and tell you the result.
You can press these buttons as many times as you want, trying to plug and re-plug devices in to see what changes. I’m concerned that the problems you are having relate to the beta nature of the ICS implementation for HP, but hopefully you’ll see a pattern that works.
You can download the new test version from https://github.com/mattstock/android-tinyg/TinyG%20USB%20Service%20v13a.apk/qr_code. If you want, send me a screenshot of the data you get after playing around, and I’ll see if I can dig any deeper.
-MattJune 3, 2012 at 3:43 pm #1178lpdcMemberMatt, I tried the new version and regardless of whether I hit “search” or “Connect”, I get the same message : “Search failed to find any TinyG USB devices attached”
Some more food for thought :
if you look at the screenshot uploaded above of the USB Device Info App, you will notice that the FTDI is displayed under the “LINUX” tab, if I switch to the “ANDROID” tab, nothing is displayed.
I also tried to install another application called “USB Host Diagnostics v1.2” but this application does not see any USB device (even when I plug in a simple mouse)
Here is a screenshot of this app’s screen :
http://www.freeimagehosting.net/ee6frWhat do you think of the “android” and “linux” tabs in the USB Device Info App ? could this be some user/kernel issue ?
Fabrice
June 3, 2012 at 6:44 pm #1179greyhound716MemberUnfortunately, I think this means that while your kernel knows about USB host stuff, the ICS Android components aren’t enabled on your device. You might want to follow up with the Cyanogen Mod forums to see if there are plans to provide this support, or if it should be working. The fact that the platform doesn’t let you get the app from Google Play seems to confirm this. Sorry!
The app is still usable by you using the network support (connected to either my helper java program or tgFX), but it looks like the app itself won’t work for you until Cyanogen provides support for USB host mode.
-MattJune 4, 2012 at 11:19 am #1180lpdcMemberHi Matt,
This is what I feared indeed. we’ll see if proper USB host support will become available at a later date. I had my hopes risen when I saw I could use a mouse keyboard or external hard drive.
thank you very much for your help and dedication though.
Fabrice.June 9, 2012 at 1:52 am #1181lpdcMemberYou made it to Hackaday.com. Congratulations !
It’s good to add visibility to anything related to TinyG.June 11, 2012 at 1:59 pm #1182greyhound716MemberYes, it’s very neat. If you know of any other sites that might be interested in TinyG or the app, feel free to submit them an article.
-Matt -
AuthorPosts
- You must be logged in to reply to this topic.