导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    V821 USB切换为host后无法识别USB摄像头

    V Series
    1
    1
    23
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • H
      HeyGoda LV 2 最后由 编辑

      在v821 perf2b开发板上,使用1.2版本sdk,usb口可以正常烧录固件,系统启动后,执行以下命令使能usb host模式:

      cat /sys/devices/platform/soc@2002000/soc@2002000:usbc0@0/usb_host
      

      查看dmeg有如下输出:

      [   41.731920] sunxi-ehci 44101000.ehci0-controller: 44101000.ehci0-controller supply drvvbus not found, using dummy regulator
      [   41.732070] sunxi-ehci 44101000.ehci0-controller: 44101000.ehci0-controller supply hci not found, using dummy regulator
      [   41.732260] sunxi-ehci 44101000.ehci0-controller: EHCI Host Controller
      [   41.732331] sunxi-ehci 44101000.ehci0-controller: new USB bus registered, assigned bus number 1
      [   41.732652] sunxi-ehci 44101000.ehci0-controller: irq 161, io mem 0x44101000
      [   41.745804] sunxi-ehci 44101000.ehci0-controller: USB 2.0 started, EHCI 1.00
      [   41.746041] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
      [   41.746053] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
      [   41.746061] usb usb1: Product: EHCI Host Controller
      [   41.746069] usb usb1: Manufacturer: Linux 5.4.220 ehci_hcd
      [   41.746078] usb usb1: SerialNumber: sunxi-ehci
      [   41.746115] usb usb1: Added to deferred device list
      [   41.746143] kobject_add_internal failed for ep_00 (error: -2 parent: usb1)
      [   46.850984] random: crng init done
      
      

      然后在usb口插入usb摄像头,使用lsusb命令看不到任何输出,dmesg里面也没有任何新的信息,已知make kernel_menuconfig中已经使能了UVC驱动:

      ---->make kernel_menuconfig
      ---->Device Drivers
      ---->Multimedia support
      ---->Media USB Adapters
      
      1 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策