Re: [android-developers] Re: Android 3.1 and USB to Serial
Updating to a new version of Android from the carrier may include a new kernel. However, I tried it with a version of 3.2 and it didn't work. My guess is we may have to wait for 4.0. However I did get a Galaxy Tab 7 Plus, and it has the necessary parts for USB hosting. -Taylor On Fri, Jan 6, 2012 at 2:32 AM, s.rawat imsaurabhra...@gmail.com wrote: Note that the Samsung Galaxy Tab 10.1 (as of the 3.1 update - trying 3.2 now) lacked some component of the USB structure that allowed random devices to be enumerated. You are correct ! Do you feel that updating the Android rather than Kernel will do the work.I have Acer iconia A501 and its pretty good in responding to external USB devices even UVC compliant USB devices. Whats teh status on yoru work ! Rgds, Saurabh ..pain is temporary.quitting lasts forever.. On Wed, Nov 23, 2011 at 1:34 AM, Taylor Alexander tlalexan...@gmail.comwrote: Note that the Samsung Galaxy Tab 10.1 (as of the 3.1 update - trying 3.2 now) lacked some component of the USB structure that allowed random devices to be enumerated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android 3.1 and USB to Serial
We have successively implemented an app that talks directly to an FTDI chip over USB on an Android 3.1 Tablet (Acer A500) using this code: http://android.serverbox.ch/?p=370 Note that the Samsung Galaxy Tab 10.1 (as of the 3.1 update - trying 3.2 now) lacked some component of the USB structure that allowed random devices to be enumerated. The OS sees a mouse, keyboard, hub, and mass storage device, but everything else it is supposed to expose to apps using the new APIs. A simple test app that shows all USB devices works great on the Acer but fails to show anything on the Galaxy Tab 10.1 with the 3.1 update. Good luck. I only saw this message by accident as I never check this anymore, so if you ask a question and I don't respond, shoot me a reminder direct and I'll check the mailing list message and respond there (so everyone can still see). -Taylor On Tue, Nov 15, 2011 at 4:44 AM, MartyMoose ma...@bruner-consulting.comwrote: Do you think this would help? http://slickdevlabs.com/slick-usb-2-serial-library/ On Nov 14, 9:50 pm, RLScott fixthatpi...@yahoo.com wrote: By the way, our workaround solution was to abandon the USB-serial converter and instead use a Bluetooth-serial module, like the RN-24 from Roving Networks. The Bluetooth route is quite doable. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output
On Tue, Sep 27, 2011 at 6:37 PM, Dan Raaka danra...@gmail.com wrote: on the galaxy tab 10.1, what is the build fingerprint ? $ adb shell getprop | grep -i finger -Dan getprop | grep -i finger returns: [ro.build.fingerprint]: [samsung/GT-P7510/GT-P7510:3.1/HMJ37/JPKG6:user/release-keys] On Sep 27, 11:52 am, Taylor Alexander tlalexan...@gmail.com wrote: Glad to help! :) -Taylor On Tue, Sep 27, 2011 at 11:36 AM, Anil Sasidharan anil...@gmail.com wrote: Hi Taylor, Thanks a million. Awesome suggestions. I really appreciate if and definitely give this a shot. Have a great day Warm Regards, Anil On Wed, Sep 28, 2011 at 12:01 AM, Taylor Alexander tlalexan...@gmail.comwrote: Hey Anil, I did a bit of searching and found that there *is* an update (to 3.2) for your tablet, but it just may not have gotten it yet. Go to settingsabout tabletsystem updates and tell it to check now If it says you are up to date, but it still says you have 3.0, then your tablet hasn't been selected for the update yet. However, you can manually load your own version of 3.2 onto the tablet. Looking on XDA-Developers forum (the best place for this stuff), I found a ROM that you can install on your tablet for 3.2: http://forum.xda-developers.com/showthread.php?t=1138115 Read this page for more information: http://forum.xda-developers.com/showthread.php?t=1209988 And then if you have any questions (after you have done some reading) just ask the questions on there and people should be able to help. Just be careful - I don't know if the A501 supports all the same ROMs as the A500. The ROM I found above says A500/A501, but they might not all support that. Good luck! -Taylor On Tue, Sep 27, 2011 at 6:33 AM, Anil Sasidharan anil...@gmail.com wrote: Hi Taylor, Yes, mine is A501. Unfortunately I'm trying to experiment with my A501 in India and the 3.1 update is not yet available here. Looks like I've to wait for a long time before being able to check the USB Host APIs on A501. Thanks a lot Taylor and I sincerely appreciate your great enthusiasm and willingness to share the knowledge. Have great time!!! Warm Regards, Anil On Tue, Sep 27, 2011 at 12:17 PM, Taylor Alexander tlalexan...@gmail.com wrote: Hey Anil, I connected my tablet to wifi and it immediately said there was an update. You have an A501 though? Mine is an A500. Perhaps the A501 does not have an update yet? I'm not familiar with that model. Mine is wifi only. Since you mention verizon I assume the A501 is the verizon model. It may have different updates due to the cell module. -Taylor On Mon, Sep 26, 2011 at 11:19 PM, Anil Sasidharan anil...@gmail.comwrote: Hi Taylor, Thank you so much. Where do we get the 3.1 update that was applied on your tablet. Is it OTA (from Verizon??) or Is this available as a firmware download somewhere in the Internet? I would really appreciate if you could help us get this update for my Acer Tab A501. Thanks once again for the great support so far... Warm Regards, Anil On Tue, Sep 27, 2011 at 4:15 AM, Taylor Alexander tlalexan...@gmail.com wrote: Yes, the tablet shipped with 3.0 but I immediately applied the 3.1 update. And then another small update wanted to be applied, but I think USB worked after the first one. I didn't try it before that. Under About Tablet in settings I have: Model: A500 Android Version: 3.1 Kernel Version: 3.6.36.3 Build Number: Acer_A500_4.0.10.13_COM_GEN2 Let me know if you have any other questions! On Sat, Sep 24, 2011 at 8:20 PM, Anil Sasidharan anil...@gmail.comwrote: Hi Taylor, Thanks a lot. Based on what have experienced, I guess the Samsung Tab 10.1 with Android-3.1 firmware does not yet support USB Host APIs whereas Acer's Iconia A500 supports the same. Would you please let me know the exact version of the Android firmware on A500 that worked for you. I've come across an Acer Tab A501 with Android-3.0.1 version, however I'm not sure if it supports USB Host API because Google says it is supported only from 3.1 (sdk-version 12 and above) onwards (even though there is an back port of USB Host library for Gingerbread out there). I would greatly appreciate your comments/suggestions on this. Warm Regards, Anil On Sat, Sep 24, 2011 at 12:31 AM, Taylor Alexander tlalexan...@gmail.com wrote: Hi Anil, Yes, I did get it working with the Acer. I had replied off list to Will because my original reply to the list was taking too long to get approved (it was my first post to this list). Here is my first off-list message, where I gave some details: On Thu, Sep 22, 2011 at 1:43 AM, Taylor tlalexan...@gmail.com wrote: Hey, I
Re: [android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output
Hey Anil, I connected my tablet to wifi and it immediately said there was an update. You have an A501 though? Mine is an A500. Perhaps the A501 does not have an update yet? I'm not familiar with that model. Mine is wifi only. Since you mention verizon I assume the A501 is the verizon model. It may have different updates due to the cell module. -Taylor On Mon, Sep 26, 2011 at 11:19 PM, Anil Sasidharan anil...@gmail.com wrote: Hi Taylor, Thank you so much. Where do we get the 3.1 update that was applied on your tablet. Is it OTA (from Verizon??) or Is this available as a firmware download somewhere in the Internet? I would really appreciate if you could help us get this update for my Acer Tab A501. Thanks once again for the great support so far... Warm Regards, Anil On Tue, Sep 27, 2011 at 4:15 AM, Taylor Alexander tlalexan...@gmail.comwrote: Yes, the tablet shipped with 3.0 but I immediately applied the 3.1 update. And then another small update wanted to be applied, but I think USB worked after the first one. I didn't try it before that. Under About Tablet in settings I have: Model: A500 Android Version: 3.1 Kernel Version: 3.6.36.3 Build Number: Acer_A500_4.0.10.13_COM_GEN2 Let me know if you have any other questions! On Sat, Sep 24, 2011 at 8:20 PM, Anil Sasidharan anil...@gmail.comwrote: Hi Taylor, Thanks a lot. Based on what have experienced, I guess the Samsung Tab 10.1 with Android-3.1 firmware does not yet support USB Host APIs whereas Acer's Iconia A500 supports the same. Would you please let me know the exact version of the Android firmware on A500 that worked for you. I've come across an Acer Tab A501 with Android-3.0.1 version, however I'm not sure if it supports USB Host API because Google says it is supported only from 3.1 (sdk-version 12 and above) onwards (even though there is an back port of USB Host library for Gingerbread out there). I would greatly appreciate your comments/suggestions on this. Warm Regards, Anil On Sat, Sep 24, 2011 at 12:31 AM, Taylor Alexander tlalexan...@gmail.com wrote: Hi Anil, Yes, I did get it working with the Acer. I had replied off list to Will because my original reply to the list was taking too long to get approved (it was my first post to this list). Here is my first off-list message, where I gave some details: On Thu, Sep 22, 2011 at 1:43 AM, Taylor tlalexan...@gmail.com wrote: Hey, I replied to the group, but I'm not seeing the message, so I don't know if it failed to post, or if its in limbo since I'm a new user. Anyway, I wanted to reply directly to you. I was having the EXACT same problem as you. I had a USB device that I had compiled a kernel module for. I loaded the module onto the tablet, and lsmod showed it running. However, I couldn't get the device to work, and dmesg showed the same problem - device not supported, over and over, even though the VID and PID matched the source code for the driver. I was going crazy, but I thought it was my kernel modules, so I tried a different approach at someone's suggestion. I tried some of google's example code for USB, and when it runs getDeviceList() I had it print how many USB devices were connected. It always reads zero, even when a functioning USB mouse is connected! This was frustrating, so I googled for how to enumerate devices on a galaxy tab, and found your post. After seeing your post, I realized this may be an issue with Samsung. I bought an Acer Iconia Tab A500 today, as some users had reported success with it - it works! The same code run on the galaxy tab still fails. Both are running 3.1. So I'm inclined to believe this is an issue with Samsung. Did you ever get this working? I have had continued success with the Acer, and none with the Samsung. Will - replying to your off-list message. I just checked again. The Acer enumerates a webcam and thumbdrive I've tried, but not a mouse or keyboard. This is with the following code, which logs values to logcat: UsbManager usbman = (UsbManager) getSystemService(USB_SERVICE); HashMapString, UsbDevice devlist = usbman.getDeviceList(); IteratorUsbDevice deviter = devlist.values().iterator(); PendingIntent pi = PendingIntent.getBroadcast(this, 0, new Intent( ACTION_USB_PERMISSION), 0); while (deviter.hasNext()) { UsbDevice d = deviter.next(); l(Found device: + String.format(%04X:%04X, d.getVendorId(), d.getProductId())); } where l is a function that logs stuff to the debug window. That is a snippet from the source code found here: http://android.serverbox.ch/?p=370 There is that USB missile launcher that the google demo supports. I have been considering getting one of those to do some more testing with the Samsung. -Taylor On Fri, Sep 23, 2011 at 7:34 AM, Anil Sasidharan anil...@gmail.comwrote: Hi, I'm curious to know if you were able to get this fixed using Acer Iconia A500. Are you able to use the android application
Re: [android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output
Hey Anil, I did a bit of searching and found that there *is* an update (to 3.2) for your tablet, but it just may not have gotten it yet. Go to settingsabout tabletsystem updates and tell it to check now If it says you are up to date, but it still says you have 3.0, then your tablet hasn't been selected for the update yet. However, you can manually load your own version of 3.2 onto the tablet. Looking on XDA-Developers forum (the best place for this stuff), I found a ROM that you can install on your tablet for 3.2: http://forum.xda-developers.com/showthread.php?t=1138115 Read this page for more information: http://forum.xda-developers.com/showthread.php?t=1209988 And then if you have any questions (after you have done some reading) just ask the questions on there and people should be able to help. Just be careful - I don't know if the A501 supports all the same ROMs as the A500. The ROM I found above says A500/A501, but they might not all support that. Good luck! -Taylor On Tue, Sep 27, 2011 at 6:33 AM, Anil Sasidharan anil...@gmail.com wrote: Hi Taylor, Yes, mine is A501. Unfortunately I'm trying to experiment with my A501 in India and the 3.1 update is not yet available here. Looks like I've to wait for a long time before being able to check the USB Host APIs on A501. Thanks a lot Taylor and I sincerely appreciate your great enthusiasm and willingness to share the knowledge. Have great time!!! Warm Regards, Anil On Tue, Sep 27, 2011 at 12:17 PM, Taylor Alexander tlalexan...@gmail.comwrote: Hey Anil, I connected my tablet to wifi and it immediately said there was an update. You have an A501 though? Mine is an A500. Perhaps the A501 does not have an update yet? I'm not familiar with that model. Mine is wifi only. Since you mention verizon I assume the A501 is the verizon model. It may have different updates due to the cell module. -Taylor On Mon, Sep 26, 2011 at 11:19 PM, Anil Sasidharan anil...@gmail.comwrote: Hi Taylor, Thank you so much. Where do we get the 3.1 update that was applied on your tablet. Is it OTA (from Verizon??) or Is this available as a firmware download somewhere in the Internet? I would really appreciate if you could help us get this update for my Acer Tab A501. Thanks once again for the great support so far... Warm Regards, Anil On Tue, Sep 27, 2011 at 4:15 AM, Taylor Alexander tlalexan...@gmail.com wrote: Yes, the tablet shipped with 3.0 but I immediately applied the 3.1 update. And then another small update wanted to be applied, but I think USB worked after the first one. I didn't try it before that. Under About Tablet in settings I have: Model: A500 Android Version: 3.1 Kernel Version: 3.6.36.3 Build Number: Acer_A500_4.0.10.13_COM_GEN2 Let me know if you have any other questions! On Sat, Sep 24, 2011 at 8:20 PM, Anil Sasidharan anil...@gmail.comwrote: Hi Taylor, Thanks a lot. Based on what have experienced, I guess the Samsung Tab 10.1 with Android-3.1 firmware does not yet support USB Host APIs whereas Acer's Iconia A500 supports the same. Would you please let me know the exact version of the Android firmware on A500 that worked for you. I've come across an Acer Tab A501 with Android-3.0.1 version, however I'm not sure if it supports USB Host API because Google says it is supported only from 3.1 (sdk-version 12 and above) onwards (even though there is an back port of USB Host library for Gingerbread out there). I would greatly appreciate your comments/suggestions on this. Warm Regards, Anil On Sat, Sep 24, 2011 at 12:31 AM, Taylor Alexander tlalexan...@gmail.com wrote: Hi Anil, Yes, I did get it working with the Acer. I had replied off list to Will because my original reply to the list was taking too long to get approved (it was my first post to this list). Here is my first off-list message, where I gave some details: On Thu, Sep 22, 2011 at 1:43 AM, Taylor tlalexan...@gmail.com wrote: Hey, I replied to the group, but I'm not seeing the message, so I don't know if it failed to post, or if its in limbo since I'm a new user. Anyway, I wanted to reply directly to you. I was having the EXACT same problem as you. I had a USB device that I had compiled a kernel module for. I loaded the module onto the tablet, and lsmod showed it running. However, I couldn't get the device to work, and dmesg showed the same problem - device not supported, over and over, even though the VID and PID matched the source code for the driver. I was going crazy, but I thought it was my kernel modules, so I tried a different approach at someone's suggestion. I tried some of google's example code for USB, and when it runs getDeviceList() I had it print how many USB devices were connected. It always reads zero, even when a functioning USB mouse is connected! This was frustrating, so I googled for how to enumerate devices on a galaxy tab, and found your post. After seeing your post
Re: [android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output
Glad to help! :) -Taylor On Tue, Sep 27, 2011 at 11:36 AM, Anil Sasidharan anil...@gmail.com wrote: Hi Taylor, Thanks a million. Awesome suggestions. I really appreciate if and definitely give this a shot. Have a great day Warm Regards, Anil On Wed, Sep 28, 2011 at 12:01 AM, Taylor Alexander tlalexan...@gmail.comwrote: Hey Anil, I did a bit of searching and found that there *is* an update (to 3.2) for your tablet, but it just may not have gotten it yet. Go to settingsabout tabletsystem updates and tell it to check now If it says you are up to date, but it still says you have 3.0, then your tablet hasn't been selected for the update yet. However, you can manually load your own version of 3.2 onto the tablet. Looking on XDA-Developers forum (the best place for this stuff), I found a ROM that you can install on your tablet for 3.2: http://forum.xda-developers.com/showthread.php?t=1138115 Read this page for more information: http://forum.xda-developers.com/showthread.php?t=1209988 And then if you have any questions (after you have done some reading) just ask the questions on there and people should be able to help. Just be careful - I don't know if the A501 supports all the same ROMs as the A500. The ROM I found above says A500/A501, but they might not all support that. Good luck! -Taylor On Tue, Sep 27, 2011 at 6:33 AM, Anil Sasidharan anil...@gmail.comwrote: Hi Taylor, Yes, mine is A501. Unfortunately I'm trying to experiment with my A501 in India and the 3.1 update is not yet available here. Looks like I've to wait for a long time before being able to check the USB Host APIs on A501. Thanks a lot Taylor and I sincerely appreciate your great enthusiasm and willingness to share the knowledge. Have great time!!! Warm Regards, Anil On Tue, Sep 27, 2011 at 12:17 PM, Taylor Alexander tlalexan...@gmail.com wrote: Hey Anil, I connected my tablet to wifi and it immediately said there was an update. You have an A501 though? Mine is an A500. Perhaps the A501 does not have an update yet? I'm not familiar with that model. Mine is wifi only. Since you mention verizon I assume the A501 is the verizon model. It may have different updates due to the cell module. -Taylor On Mon, Sep 26, 2011 at 11:19 PM, Anil Sasidharan anil...@gmail.comwrote: Hi Taylor, Thank you so much. Where do we get the 3.1 update that was applied on your tablet. Is it OTA (from Verizon??) or Is this available as a firmware download somewhere in the Internet? I would really appreciate if you could help us get this update for my Acer Tab A501. Thanks once again for the great support so far... Warm Regards, Anil On Tue, Sep 27, 2011 at 4:15 AM, Taylor Alexander tlalexan...@gmail.com wrote: Yes, the tablet shipped with 3.0 but I immediately applied the 3.1 update. And then another small update wanted to be applied, but I think USB worked after the first one. I didn't try it before that. Under About Tablet in settings I have: Model: A500 Android Version: 3.1 Kernel Version: 3.6.36.3 Build Number: Acer_A500_4.0.10.13_COM_GEN2 Let me know if you have any other questions! On Sat, Sep 24, 2011 at 8:20 PM, Anil Sasidharan anil...@gmail.comwrote: Hi Taylor, Thanks a lot. Based on what have experienced, I guess the Samsung Tab 10.1 with Android-3.1 firmware does not yet support USB Host APIs whereas Acer's Iconia A500 supports the same. Would you please let me know the exact version of the Android firmware on A500 that worked for you. I've come across an Acer Tab A501 with Android-3.0.1 version, however I'm not sure if it supports USB Host API because Google says it is supported only from 3.1 (sdk-version 12 and above) onwards (even though there is an back port of USB Host library for Gingerbread out there). I would greatly appreciate your comments/suggestions on this. Warm Regards, Anil On Sat, Sep 24, 2011 at 12:31 AM, Taylor Alexander tlalexan...@gmail.com wrote: Hi Anil, Yes, I did get it working with the Acer. I had replied off list to Will because my original reply to the list was taking too long to get approved (it was my first post to this list). Here is my first off-list message, where I gave some details: On Thu, Sep 22, 2011 at 1:43 AM, Taylor tlalexan...@gmail.com wrote: Hey, I replied to the group, but I'm not seeing the message, so I don't know if it failed to post, or if its in limbo since I'm a new user. Anyway, I wanted to reply directly to you. I was having the EXACT same problem as you. I had a USB device that I had compiled a kernel module for. I loaded the module onto the tablet, and lsmod showed it running. However, I couldn't get the device to work, and dmesg showed the same problem - device not supported, over and over, even though the VID and PID matched the source code for the driver. I was going crazy, but I thought it was my kernel modules, so I tried
Re: [android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output
Yes, the tablet shipped with 3.0 but I immediately applied the 3.1 update. And then another small update wanted to be applied, but I think USB worked after the first one. I didn't try it before that. Under About Tablet in settings I have: Model: A500 Android Version: 3.1 Kernel Version: 3.6.36.3 Build Number: Acer_A500_4.0.10.13_COM_GEN2 Let me know if you have any other questions! On Sat, Sep 24, 2011 at 8:20 PM, Anil Sasidharan anil...@gmail.com wrote: Hi Taylor, Thanks a lot. Based on what have experienced, I guess the Samsung Tab 10.1 with Android-3.1 firmware does not yet support USB Host APIs whereas Acer's Iconia A500 supports the same. Would you please let me know the exact version of the Android firmware on A500 that worked for you. I've come across an Acer Tab A501 with Android-3.0.1 version, however I'm not sure if it supports USB Host API because Google says it is supported only from 3.1 (sdk-version 12 and above) onwards (even though there is an back port of USB Host library for Gingerbread out there). I would greatly appreciate your comments/suggestions on this. Warm Regards, Anil On Sat, Sep 24, 2011 at 12:31 AM, Taylor Alexander tlalexan...@gmail.comwrote: Hi Anil, Yes, I did get it working with the Acer. I had replied off list to Will because my original reply to the list was taking too long to get approved (it was my first post to this list). Here is my first off-list message, where I gave some details: On Thu, Sep 22, 2011 at 1:43 AM, Taylor tlalexan...@gmail.com wrote: Hey, I replied to the group, but I'm not seeing the message, so I don't know if it failed to post, or if its in limbo since I'm a new user. Anyway, I wanted to reply directly to you. I was having the EXACT same problem as you. I had a USB device that I had compiled a kernel module for. I loaded the module onto the tablet, and lsmod showed it running. However, I couldn't get the device to work, and dmesg showed the same problem - device not supported, over and over, even though the VID and PID matched the source code for the driver. I was going crazy, but I thought it was my kernel modules, so I tried a different approach at someone's suggestion. I tried some of google's example code for USB, and when it runs getDeviceList() I had it print how many USB devices were connected. It always reads zero, even when a functioning USB mouse is connected! This was frustrating, so I googled for how to enumerate devices on a galaxy tab, and found your post. After seeing your post, I realized this may be an issue with Samsung. I bought an Acer Iconia Tab A500 today, as some users had reported success with it - it works! The same code run on the galaxy tab still fails. Both are running 3.1. So I'm inclined to believe this is an issue with Samsung. Did you ever get this working? I have had continued success with the Acer, and none with the Samsung. Will - replying to your off-list message. I just checked again. The Acer enumerates a webcam and thumbdrive I've tried, but not a mouse or keyboard. This is with the following code, which logs values to logcat: UsbManager usbman = (UsbManager) getSystemService(USB_SERVICE); HashMapString, UsbDevice devlist = usbman.getDeviceList(); IteratorUsbDevice deviter = devlist.values().iterator(); PendingIntent pi = PendingIntent.getBroadcast(this, 0, new Intent( ACTION_USB_PERMISSION), 0); while (deviter.hasNext()) { UsbDevice d = deviter.next(); l(Found device: + String.format(%04X:%04X, d.getVendorId(), d.getProductId())); } where l is a function that logs stuff to the debug window. That is a snippet from the source code found here: http://android.serverbox.ch/?p=370 There is that USB missile launcher that the google demo supports. I have been considering getting one of those to do some more testing with the Samsung. -Taylor On Fri, Sep 23, 2011 at 7:34 AM, Anil Sasidharan anil...@gmail.comwrote: Hi, I'm curious to know if you were able to get this fixed using Acer Iconia A500. Are you able to use the android application to enumerate devices using USB Host API? Warm Regards, Anil On Thu, Sep 22, 2011 at 1:05 AM, Taylor tlalexan...@gmail.com wrote: Hey! I've actually had the EXACT same problems and it was driving me nuts! I'm running a 16GB Wifi Galaxy tab with the 3.1 touchwiz update. I can connect a USB mouse and keyboard and hub all just fine, they work great. However, when I try to enumerate the devices, I get nothing. To compound the confusion, I was trying to build custom kernel drivers for an unsupported device (FTDI chips) and it was driving me crazy because I could install the module and verify it was running, but I had the same problem - the device is not supported message. I thought it was me! Specifically, I was trying to do this: http://android.serverbox.ch/?p=285 Then I tried this: http://android.serverbox.ch/?p=370 and couldn't get it to indicate
Re: [android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output
Hi Anil, Yes, I did get it working with the Acer. I had replied off list to Will because my original reply to the list was taking too long to get approved (it was my first post to this list). Here is my first off-list message, where I gave some details: On Thu, Sep 22, 2011 at 1:43 AM, Taylor tlalexan...@gmail.com wrote: Hey, I replied to the group, but I'm not seeing the message, so I don't know if it failed to post, or if its in limbo since I'm a new user. Anyway, I wanted to reply directly to you. I was having the EXACT same problem as you. I had a USB device that I had compiled a kernel module for. I loaded the module onto the tablet, and lsmod showed it running. However, I couldn't get the device to work, and dmesg showed the same problem - device not supported, over and over, even though the VID and PID matched the source code for the driver. I was going crazy, but I thought it was my kernel modules, so I tried a different approach at someone's suggestion. I tried some of google's example code for USB, and when it runs getDeviceList() I had it print how many USB devices were connected. It always reads zero, even when a functioning USB mouse is connected! This was frustrating, so I googled for how to enumerate devices on a galaxy tab, and found your post. After seeing your post, I realized this may be an issue with Samsung. I bought an Acer Iconia Tab A500 today, as some users had reported success with it - it works! The same code run on the galaxy tab still fails. Both are running 3.1. So I'm inclined to believe this is an issue with Samsung. Did you ever get this working? I have had continued success with the Acer, and none with the Samsung. Will - replying to your off-list message. I just checked again. The Acer enumerates a webcam and thumbdrive I've tried, but not a mouse or keyboard. This is with the following code, which logs values to logcat: UsbManager usbman = (UsbManager) getSystemService(USB_SERVICE); HashMapString, UsbDevice devlist = usbman.getDeviceList(); IteratorUsbDevice deviter = devlist.values().iterator(); PendingIntent pi = PendingIntent.getBroadcast(this, 0, new Intent( ACTION_USB_PERMISSION), 0); while (deviter.hasNext()) { UsbDevice d = deviter.next(); l(Found device: + String.format(%04X:%04X, d.getVendorId(), d.getProductId())); } where l is a function that logs stuff to the debug window. That is a snippet from the source code found here: http://android.serverbox.ch/?p=370 There is that USB missile launcher that the google demo supports. I have been considering getting one of those to do some more testing with the Samsung. -Taylor On Fri, Sep 23, 2011 at 7:34 AM, Anil Sasidharan anil...@gmail.com wrote: Hi, I'm curious to know if you were able to get this fixed using Acer Iconia A500. Are you able to use the android application to enumerate devices using USB Host API? Warm Regards, Anil On Thu, Sep 22, 2011 at 1:05 AM, Taylor tlalexan...@gmail.com wrote: Hey! I've actually had the EXACT same problems and it was driving me nuts! I'm running a 16GB Wifi Galaxy tab with the 3.1 touchwiz update. I can connect a USB mouse and keyboard and hub all just fine, they work great. However, when I try to enumerate the devices, I get nothing. To compound the confusion, I was trying to build custom kernel drivers for an unsupported device (FTDI chips) and it was driving me crazy because I could install the module and verify it was running, but I had the same problem - the device is not supported message. I thought it was me! Specifically, I was trying to do this: http://android.serverbox.ch/?p=285 Then I tried this: http://android.serverbox.ch/?p=370 and couldn't get it to indicate that ANY devices were enumerated, even when it was just a USB mouse that was working! So then I tried BOTH of google's example apps, modifying the code to print all enumerated devices. Nothing. It printed the count value for the number of devices enumerated. Zero. Again, this was with a functioning device plugged in (In this case a keyboard). Annoyingly, I couldn't even TRY the ADB example the way its intended, because my phone is apparently a high power device and the tablet straight up tells you it refuses to mount it. Grrr. But aside from the high power device issue, which is annoying but seems to be by design, I am starting to feel like there is some problem with the USB implementation on the Galaxy Tab 10.1, and I am going to go out and buy an Acer Iconia A500 since people have reported success with that, and I am doing this for work. I will let you know how that goes. -Taylor On Aug 5, 6:58 am, wl williamoscarl...@gmail.com wrote: Hi, I'm trying to interface to a USB device from my googleIO galaxy tab 10.1. I've been through the documentation on developer.android.com and stack overflow and I can't find anything on this. Here's the problem: I connect the USB device: I've set up
Re: [android-developers] Problem with GT-I9000
Racing stripes. On Wed, Sep 21, 2011 at 11:24 PM, Fadil Kamal fadilkama...@gmail.comwrote: How to faster my GT-I9000? It always lag Please help me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] android.git.kernel.org is down
I've heard this happens sometimes. I'm sure the people that can fix it will know about it pretty quickly. On Wed, Sep 21, 2011 at 3:57 PM, Richard Schilling coderroa...@gmail.comwrote: Apologies if this is a duplicate. But, http://android.git.kernel.org is not responding. Page not found. Anyone else see this? Thanks. Richard -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Single purpose
Hide the system bar in honeycomb? Yes, if you have root. http://android.serverbox.ch/?p=306 No, if you don't have root. -Taylor On Thu, Sep 22, 2011 at 12:14 AM, bo yada...@gmail.com wrote: Hi all I was struckedin my single purpose application ,which mean i want disable home button in honnywell ,Is there any way to do ? please help on this thanks vinod -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en