• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Android » Android forum » USB hub not working on beagle board xM with ginger bread
Share
Android
  • Forum
Options
  • Subscribe via RSS

Forums

USB hub not working on beagle board xM with ginger bread

This question is answered
Bharathi Davuluri
Posted by Bharathi Davuluri
on Apr 12 2012 04:03 AM
Prodigy70 points

Hi,

Board: Beagle board xM rev C.
OS:      Android 2.3
BSP:   TI ginger bread.

I am using the above configuration and if I connect any USB device to USB ports those are not getting recognized and  not getting power also (confirmed by seeing LED on USB device).

Can anyone please tell me how to enable USB host hub to work in BSP.

Thanks in advance.

Regards,
Bharathi

BeagleBoard-xM Android USB mass storage devkit
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vishveshwar Bhat
    Posted by Vishveshwar Bhat
    on Apr 12 2012 05:23 AM
    Genius9590 points

    Beagleboard XM rev C is supported from TI Android GingerBread 2.3.4 DevKit 2.1 release onwards. http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1_ReleaseNotes

    Please ensure that you are using this release or the latest sources from rowboat.

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bharathi Davuluri
    Posted by Bharathi Davuluri
    on Apr 12 2012 05:34 AM
    Prodigy70 points

    Hi,

    Thanks for reply.

    We are using latest sources from rowboat.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Arun Joseph
    Posted by Arun Joseph
    on Apr 17 2012 07:48 AM
    Intellectual2260 points

    Hi,

    Do you get any errors/logs on the serial port when you connect the usb hub?

    If yes, please post here.

    Regards,

    Arun

    If this post answers your query, consider clicking the Verify Answer button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bharathi Davuluri
    Posted by Bharathi Davuluri
    on Apr 17 2012 08:23 AM
    Prodigy70 points

    Hi Arun,

    My problem got solved by using new Android version i.e., 2.3.4.

    I written a usb kernel device driver. while inserting this module I am getting the following errors.

    bt_kdrv_linux: disagrees about version of symbol usb_interrupt_msg
    bt_kdrv_linux: Unknown symbol usb_interrupt_msg (err -22)
    bt_kdrv_linux: disagrees about version of symbol usb_bulk_msg
    bt_kdrv_linux: Unknown symbol usb_bulk_msg (err -22)
    bt_kdrv_linux: disagrees about version of symbol usb_control_msg
    bt_kdrv_linux: Unknown symbol usb_control_msg (err -22)
    insmod: init_module 'bt_kdrv_linux.ko' failed (Invalid argument)

    FYI, I built this module with the kernel version 2.6.37.

    Regards,

    Bharathi.




    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Arun Joseph
    Posted by Arun Joseph
    on Apr 17 2012 08:28 AM
    Intellectual2260 points

    Hi Bharathi,

    These errors are due to the mismatch between the kernel sources and the module. Try to use the same uImage of the kernel sources which was used for building the module.

    Regards,

    Arun

    If this post answers your query, consider clicking the Verify Answer button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bharathi Davuluri
    Posted by Bharathi Davuluri
    on Apr 17 2012 08:31 AM
    Prodigy70 points

    Hi Arun,

    Thanks for the reply.

    I will try and let you know.

    Regards,

    Bharathi.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bharathi Davuluri
    Posted by Bharathi Davuluri
    on Apr 18 2012 01:29 AM
    Prodigy70 points

    Hi,

    I was using Android-2.3.4 pre-built images provided by TI for beagle board xM.

    I downloaded Android sources and built kernel as described in "TI-Android-GingerBread-2.3.4-DevKit-2.1
    DeveloperGuide" by using the specified tool chain.

    I copied the generated uImage which is of 3.1MB to Boot_Images folder and loaded to sd card.

    Hanging at boot time,

    Running bootscript from mmc ...
    ## Executing script at 82000000
    reading uImage

    3299316 bytes read
    ***** Kernel: /dev/mmcblk0p1/uImage *****
    ***** RootFS: /dev/mmcblk0p2 *****
    ## Booting kernel from Legacy Image at 82000000 ...
       Image Name:   Linux-2.6.37-g06ebbba
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3299252 Bytes = 3.1 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Am I missing anything to change while loading a new kernel image?

    Regards,

    Bharathi.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bharathi Davuluri
    Posted by Bharathi Davuluri
    on Apr 18 2012 06:37 AM
    Prodigy70 points

    Hi Arun,

    I tried your suggestion but still I am getting the same error.

    Can you please help me out how to solve this issue.

    Regards,

    Bharathi.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Arun Joseph
    Posted by Arun Joseph
    on Apr 18 2012 07:32 AM
    Verified Answer
    Verified by Bharathi Davuluri
    Intellectual2260 points

    Hi Bharathi,

    I believe you are still referring to the module mismatch error.

    When building module, you need to point to the kernel tree inside the 2.3.4 android  sources and while loading, use the same uImage built from these sources.

    Also can you try build this specific driver inside the kernel?

    Regards,

    Arun

    If this post answers your query, consider clicking the Verify Answer button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bharathi Davuluri
    Posted by Bharathi Davuluri
    on Apr 18 2012 09:00 AM
    Prodigy70 points

    Hi arun.

    This solved my issue.

    Now my usb kernel driver working as expected.

    Thank you so much.

    Regards,

    Bharathi.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use