usb cdrom support on USB OHCI
来源:互联网 发布:手机淘宝装修 编辑:程序博客网 时间:2024/06/05 15:20
本文转载于 http://e2e.ti.com/support/embedded/linux/f/354/t/185762.aspx
usb cdrom support on USB OHCI
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
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"
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 20root# 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: 00don't know how to mount and how to make the cd-rom to be read.
Regards,
Power Pan
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
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"
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 5above 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 5but 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: EBUSYthen 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.
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 diskcould you please tell me if the last warning will cause any problem during HDD accessing?
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"
- usb cdrom support on USB OHCI
- usb ohci
- usb ohci driver porting
- USB-ZIP,USB-HDD,USB-FDD,USB-CDROM
- 组策略禁用USB、CDROM
- USB cdrom开发注意点
- linux 挂载usb,cdrom笔记
- 基于OHCI的USB主机 —— OHCI(端点)
- 基于OHCI的USB主机 —— OHCI(HCCA)
- USB主机控制器的OHCI寄存器
- linux USB HOST之EHCI和OHCI
- [Introduction]USB规范EHCI,UHCI,OHCI区别
- USB规范EHCI,UHCI,OHCI区别
- USB contorller: OHCI UHCI EHCI XHCI
- USB规范EHCI,UHCI,OHCI区别
- 嵌入式系统USB CDROM虚拟光驱驱动程序开发
- OpenBSD挂载cdrom, iso, usb的方法
- 嵌入式系统USB CDROM虚拟光驱驱动程序开发
- 从B 树、B+ 树、B* 树谈到R 树
- ARM架构
- 对滚动区域QScrollArea用法的摸索(2)
- 在Android上实现多格式多媒体播放器的几种方式
- DNS 报文格式
- usb cdrom support on USB OHCI
- php fckeditor 上传文件(或图片)中文显示为乱码的解决方法(两种方法)
- SRM527 275 DP
- 设计模式之03抽象工厂模式(笔记)
- JAVA类库分析之Vector
- 一些常用的字符转换
- poj 2488( 搜索 )
- Harmonic map
- JVM性能调优