• 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 » Linux » Linux forum » usb cdrom support on USB OHCI
Share
Linux
  • Forum
Options
  • Subscribe via RSS
Resources
  • Keystone II MCSDK (A15 Linux) Download
  • Forums

    usb cdrom support on USB OHCI

    This question is answered
    Power Pan
    Posted by Power Pan
    on Apr 30 2012 06:20 AM
    Expert1785 points

    Hi, 

    just wanna ask if anybody could tell AM1808 support usb CDROM or not.

    scsi1432 : usb-storage 2-1:1.0
    usb 2-1: USB disconnect, address 12
    usb 2-1: new full speed USB device using ohci and address 13
    usb 2-1: not running at top speed; connect to a high speed hub
    scsi1433 : usb-storage 2-1:1.0

    USB OHCI could not support CD-ROM,and USB high speed driver reports not support.

    Best regards,

    Power Pan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Ajay
      Posted by Ajay
      on Apr 30 2012 09:54 AM
      Verified Answer
      Verified by Power Pan
      Genius9470 points

      What actually does high speed port (musb) prints? You may need to enabled any specific driver needed for your CD ROM.

      Ajay

      If my reply answers your question then please click on the green button "Verify Answer"

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Power Pan
      Posted by Power Pan
      on May 01 2012 05:06 AM
      Expert1785 points

      Hi, Ajay:

      no matter  high speed or OHCI, the kernel outputs nothing but reported DVD-ROM found while no media inserted.

      usb 3-1: new high speed USB device using musb_hdrc and address 20
      usb 3-1: device v1bcf p0c31 is not supported
      scsi19 : usb-storage 3-1:1.0
      scsi 19:0:0:0: CD-ROM MATSHITA DVD+-RW UJ8C1 D.02 PQ: 0 ANSI: 0
      scsi 19:0:0:0: Attached scsi generic sg0 type 5
      usb 3-1: USB disconnect, address 20

      root# mount
      rootfs on / type rootfs (rw)
      /dev/root on / type ext3 (rw,relatime,errors=continue,data=writeback)
      proc on /proc type proc (rw,relatime)
      sysfs on /sys type sysfs (rw,relatime)
      none on /dev type tmpfs (rw,relatime,size=1024k,nr_inodes=8192,mode=755)
      /dev/mmcblk0p1 on /media/card type ext3 (rw,relatime,errors=continue,data=writeback)
      devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
      tmpfs on /var/volatile type tmpfs (rw,relatime)
      tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
      tmpfs on /media/ram type tmpfs (rw,relatime)

      nothing mounted and could not mount the disc. even scsi device detected. already add cd-rom file system options in kernel

      root:/media# cat /proc/scsi/scsi
      Attached devices:
      Host: scsi25 Channel: 00 Id: 00 Lun: 00
      Vendor: MATSHITA Model: DVD+-RW UJ8C1 Rev: D.02
      Type: CD-ROM ANSI SCSI revision: 00

      don't know how to mount and how to make the cd-rom to be read.

      Regards,

      Power Pan

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Power Pan
      Posted by Power Pan
      on May 01 2012 07:22 AM
      Expert1785 points

      Hi, Ajay, 

      problem solved.

      2 things went wrong,

      1, usb supply current is not enough cause CD disc spin up over current power reset

      2. scsi cdrom support did not turn on in kernel.

      But only work on usb 1.1 host, 2.0 port not work.

      thanks a lot.

      Power Pan

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ajay
      Posted by Ajay
      on May 02 2012 00:32 AM
      Genius9470 points

      Can you send the log when CDROM connected to usb2.0 musb port? We can see and try to debug why CDROM doesn't work on usb2.0 port.

      Ajay

      If my reply answers your question then please click on the green button "Verify Answer"

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Power Pan
      Posted by Power Pan
      on May 03 2012 11:06 AM
      Expert1785 points

      new full speed USB device using ohci and address 2
      usb 2-1: not running at top speed; connect to a high speed hub
      scsi1 : usb-storage 2-1:1.0
      scsi 1:0:0:0: CD-ROM MATSHITA DVD+-RW UJ8C1 D.02 PQ: 0 ANSI: 0
      sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
      Uniform CD-ROM driver Revision: 3.20
      sr 1:0:0:0: Attached scsi generic sg0 type 5

      above is usb 1.1 output message. 

      and I could use cdparanoia -vsQ to see the sound track in the DISC

      for usb 2.0 port, sometime it fails to response, like plugs nothing. sometimes it could work 

      usb 3-1: new high speed USB device using musb_hdrc and address 2
      usb 3-1: device v1bcf p0c31 is not supported
      scsi2 : usb-storage 3-1:1.0
      scsi 2:0:0:0: CD-ROM MATSHITA DVD+-RW UJ8C1 D.02 PQ: 0 ANSI: 0
      sr0: scsi3-mmc drive: 47x/62x writer dvd-ram cd/rw xa/form2 cdda tray
      sr 2:0:0:0: Attached scsi generic sg0 type 5

      but when I use cdparanoia -vsQ, usb host failed to respond

      usb 3-1: reset high speed USB device using musb_hdrc and address 2
      usb 3-1: reset high speed USB device using musb_hdrc and address 2
      sending SG SCSI reset... FAILED: EBUSY

      then usb host down....

      I'm using 2.6.33 kernel, and we failed to use 37 because we could not use UART0 for the console, don't know how to solve.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Power Pan
      Posted by Power Pan
      on May 04 2012 08:08 AM
      Expert1785 points

      ata1: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
      ata1: irq_stat 0x00000040, connection status changed
      ata1: SError: { CommWake DevExch }
      ata1: hard resetting link
      ata1: link is slow to respond, please be patient (ready=0)
      ata1: COMRESET failed (errno=-16)
      ata1: hard resetting link
      ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
      ata1.00: ATA-8: WDC WD20EARX-00PASB0, 51.0AB51, max UDMA/133
      ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
      ata1.00: configured for UDMA/133
      ata1: EH complete
      scsi 0:0:0:0: Direct-Access ATA WDC WD20EARX-00P 51.0 PQ: 0 ANSI: 5
      sd 0:0:0:0: Attached scsi generic sg0 type 0
      sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
      sd 0:0:0:0: [sda] 4096-byte physical blocks
      sd 0:0:0:0: [sda] Write Protect is off
      sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
      sda: sda1
      sda: p1 size 3907038082 exceeds device capacity, limited to end of disk

      could you please tell me if the last warning will cause any problem during HDD accessing?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ajay
      Posted by Ajay
      on May 04 2012 10:52 AM
      Genius9470 points

      The error message "usb 3-1: reset high speed USB device using musb_hdrc and address 2" is pointing that there is request timeout for CDROM. It seems you are connecting the CDROM device directly to board so there is no issue of endpoint resources.

      Can you try after disabling USB2.0 DMA at drivers->USB support->Inventra->select [*] Disable DMA

      Ajay

      If my reply answers your question then please click on the green button "Verify Answer"

      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