This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

急,dm6446 usb鼠标无法使用?

Other Parts Discussed in Thread: TVP5150

dvevm_1_20

mv_pro_4.0

 

出现VBUS_ERR的错误

  • 你好,你能把问题描述的更详细一点吗?

  • Titan Tian 您好!

    这是我的电话 bsky-fish@163.com

    如果可以请尽快回一下电话,或者留下您的联系方式。

    我们这个问题很棘手!谢谢!

  • 用超级终端登陆nfs挂载板子的时候,打印出VBUS_ERR的错误,USB鼠标无法使用。打印信息如下:

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

    U-Boot 1.2.0 (Feb 12 2009 - 16:54:02)

    dram_init info:

    start:0x80000000, size:0x8000000

    DRAM:  128 MB

    NAND:  64 MB

    In:    serial

    Out:   serial

    Err:   serial

    ARM Clock : 297MHz

    DDR Clock : 135MHz

    ETH PHY : BroadCom PHY Chip

    Hit any key to stop autoboot:  0

    Loading from NAND 64MiB 1,8V 8-bit, offset 0x168000

      Image Name:   Linux-2.6.10_mvl401-davinci_evm

      Image Type:   ARM Linux Kernel Image (uncompressed)

      Data Size:    1580956 Bytes =  1.5 MB

      Load Address: 80008000

      Entry Point:  80008000

    Automatic boot of image at addr 0x80800000 ...

    ## Booting image at 80800000 ...

      Image Name:   Linux-2.6.10_mvl401-davinci_evm

      Image Type:   ARM Linux Kernel Image (uncompressed)

      Data Size:    1580956 Bytes =  1.5 MB

      Load Address: 80008000

      Entry Point:  80008000

      Verifying Checksum ... OK

    OK

    Starting kernel ...

    Uncompressing Linux.............................................................                                                                                                 Linux version 2.6.10_mvl401-davinci_evm (root@localhost.localdomain) (gcc versio                                                                                                 n 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #46 Thu Oct 23 04:34:17 E                                                                                                 DT 2008

    CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)

    CPU0: D VIVT write-back cache

    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets

    CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets

    Machine: DaVinci EVM

    Memory policy: ECC disabled, Data cache writeback

    Built 1 zonelists

    Kernel command line: mem=60M console=ttyS0,115200n8 root=/dev/nfs noinitrd rw ip                                                                                                 =192.168.1.197:255.255.255.0:192.168.1.1 nfsroot=192.168.1.196:/opt/nfs video=dm                                                                                                 64xxfb:output=pal

    PID hash table entries: 256 (order: 8, 4096 bytes)

    Console: colour dummy device 80x30

    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

    Memory: 60MB = 60MB total

    Memory: 57472KB available (2577K code, 629K data, 144K init)

    Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

    CPU: Testing write buffer coherency: ok

    spawn_desched_task(00000000)

    desched cpu_callback 3/00000000

    ksoftirqd started up.

    desched cpu_callback 2/00000000

    desched thread 0 started up.

    NET: Registered protocol family 16

    Registering platform device 'nor_davinci.0'. Parent at platform

    Registering platform device 'nand_davinci.0'. Parent at platform

    Registering platform device 'musb_hdrc'. Parent at platform

    DaVinci I2C DEBUG: 12:14:45 May 16 2008

    Registering platform device 'i2c'. Parent at platform

    SCSI subsystem initialized

    usbcore: registered new driver usbfs

    usbcore: registered new driver hub

    NTFS driver 2.1.22 [Flags: R/W].

    JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.

    yaffs May 16 2008 12:14:06 Installing.

    Registering platform device 'davincifb.0'. Parent at platform

    Console: switching to colour frame buffer device 90x36

    Registering platform device 'davinci_resizer.2'. Parent at platform

    Registering platform device 'davinci_previewer.2'. Parent at platform

    Registering platform device 'davinci_pwm0.0'. Parent at platform

    Registering platform device 'davinci_pwm1.1'. Parent at platform

    Registering platform device 'davinci_pwm2.2'. Parent at platform

    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled

    Registering platform device 'serial8250'. Parent at platform

    ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A

    ttyS1 at MMIO 0x1c20400 (irq = 41) is a 16550A

    io scheduler noop registered

    io scheduler anticipatory registered

    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize

    Registering platform device 'ti_davinci_emac'. Parent at platform

    TI DaVinci EMAC Linux version updated 4.0

    TI DaVinci EMAC: Installed 1 instances.

    netconsole: not configured, aborting

    i2c /dev entries driver

    Linux video capture interface: v1.00

    Registering platform device 'vpfe.1'. Parent at platform

    TVP5150 support for SEED_DVS6446 by Stephen Zhang

    DaVinci v4l2 capture driver V1.0 loaded

    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

    ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

    hda: CSD CAV040H, ATA DISK drive

    elevator: using anticipatory as default io scheduler

    ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22

    hda: max request size: 128KiB

    hda: 78140160 sectors (40007 MB) w/8192KiB Cache, CHS=65535/16/63

    hda: hda1 hda2

       ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio

    Initializing USB Mass Storage driver...

    usbcore: registered new driver usb-storage

    USB Mass Storage support registered.

    usbcore: registered new driver usbhid

    drivers/usb/input/hid-core.c: v2.0:USB HID core driver

    mice: PS/2 mouse device common for all mice

    musb_hdrc: version 2.2a/db-0.4.8 [pio] [host] [debug=0]

    musb_hdrc: USB Host mode controller at c4060000 using PIO, IRQ 12

    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1

    hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 1 port detected

    Registering platform device 'mmc0.1'. Parent at platform

    : Supporting 4-bit mode

    VBUS_ERR

    Registering platform device 'davinci-audio.0'. Parent at platform

    DAVINCI AIC23 audio support initialized

    NET: Registered protocol family 2

    IP: routing cache hash table of 512 buckets, 4Kbytes

    TCP: Hash tables configured (established 4096 bind 8192)

    NET: Registered protocol family 1

    NET: Registered protocol family 17

    IP-Config: Guessing netmask 255.255.255.0

    IP-Config: Complete:

         device=eth0, addr=192.168.1.197, mask=255.255.255.0, gw=192.168.1.1,

        host=192.168.1.197, domain=, nis-domain=(none),

        bootserver=255.255.255.0, rootserver=192.168.1.196, rootpath=

    Looking up port of RPC 100003/2 on 192.168.1.196

    Looking up port of RPC 100005/1 on 192.168.1.196

    VFS: Mounted root (nfs filesystem).

    Freeing init memory: 144K

    INIT: version 2.85 booting

    Mounting a tmpfs over /dev...done.

    Creating initial device nodes...done.

    Activating swap...done.

    Remounting root filesystem...done.

    Calculating module dependencies

    WARNING: Couldn't open directory /lib/modules/2.6.10_mvl401-davinci_evm: No such file or directory

    FATAL: Could not open /lib/modules/2.6.10_mvl401-davinci_evm/modules.dep.temp for writing: No such file or directory

    Loading modules:

    Starting checking all file systems: fsck

    fsck 1.35 (28-Feb-2004)

    Starting mounting local filesystems: mount nothing was mounted

    Cleaning: /etc/network/ifstate.

    Setting up IP spoofing protection: rp_filter.

    Disable TCP/IP Explicit Congestion Notification: done.

    Starting network interfaces: done.

    Starting hotplug subsystem:

      pci

      pci      [success]

      usb

      usb      [success]

      isapnp

      isapnp   [success]

      ide

      ide      [success]

      input

      input    [success]

      scsi

      scsi     [success]

    done.

    Starting portmap daemon: portmap.

    Cleaning: /tmp /var/lock /var/run done.

    Setting pseudo-terminal access permissions...done.

    Updating /etc/motd...done.

    INIT: Entering runlevel: 3

    Starting system log daemon: syslogd klogd.

    Starting NFS common utilities: statd lockd.

    Starting internet superserver: inetd.

    Starting MontaVista target tools daemon: mvltdmvltd version 2.1 MontaVista Software,Inc.

    .

    MontaVista(R) Linux(R) Professional Edition 4.0 (0501140)

    192.168.1.197 login:

  • 你的这个问题我查一下,类似的情况还是有的。硬件不知是否你们自己做的呢?如果你们确定硬件没有问题,请点击以下链接更新一下PSP,一般是内核驱动的BUG:

    software-dl.ti.com/.../index.html

    我们不进行电话支持的,流程很麻烦。。。抱歉。

  • 您好!

    您能否提供详细点的信息,这些网页我都有看,但不能确定能否解决问题,我又不想试试的心态去解决这个问题,因为我们时间有限,谢谢!

  • 你的信息显示“version 2.6.10_mvl401-davinci_evm (root@localhost.localdomain) (gcc versio     n 3.4.3 (MontaVista 3.4.3-25.0.30”你的Linux版本是2.6.10的,MontaVista 3.4.3的,都是很低的版本。

    而'LSP 2.00' Production Release的版本是Linux Support Package (Kernel 2.6.18),MontaVista Pro 5.0.0。

    另外你的板子如果不是TI的EVM板,这个问题我不能给你保证。

  • 1. 硬件是否是公板

    2. 鼠标是USB1.1的吧,是直接接的开发板的USB Host么

    3. 是每次都稳定的出Error还是随机出现

    我猜应该不是公板,是DM6446的VBUS那块硬件电路和内核的驱动不匹配造成的

  • 现在1.1的usb鼠标比较少吧?我们使用的是联想台式机的鼠标。

    只能说经常出现VBUS_ERR的错误,很少能成功使用usb鼠标。

    不是公板。那如何解决?能详细点吗?

  • LSP 1.0是2.6.10内核的。我下载了,但是里头有几个usb的补丁,我也不清楚是那个,该如何更新驱动?

    我现在用nfs将板子挂载到了宿主机上。

  • usb 1-1: new low speed USB device using musb_hdrc and address 2

    input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-musb_hdrc-1

    这是正常启动后的打印出来的usb部分信息,这是说我的鼠标是1.1,还是板子的usb是1.1 ?

    我看usb的文档,板子上应该是2.0的usb。

    如果我使用usb1.1鼠标在usb2.0上,会是产生这个问题的原因吗? 我更换一下可行吗?

  • hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 1 port detected

    。。。。。。。。。。。。。。。。。。。

    usb 1-1: new low speed USB device using musb_hdrc and address 2

    input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-musb_hdrc-1

    这些信息说明什么?我该使用什么样的usb鼠标?

x 出现错误。请重试或与管理员联系。