• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    4b的两个usb3.0是独立的么

    Scheduled Pinned Locked Moved Pi 4B
    15 Posts 3 Posters 733 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      shengxia
      last edited by

      补充一下
      1 为了排除供电问题,我有插在可以独立供电的hub上,效果是一样的
      2 我昨晚往sd卡刷了全新的6月的ubuntu22的系统,进去后试了一下,连我的nvme转usb这个,一面直接没法连接,另一面试了几次,最终也无法连接

      大法师大 1 Reply Last reply Reply Quote 0
      • 大法师大
        大法师 @shengxia
        last edited by

        @shengxia 建议U3设备直连测试看看情况。外挂转接NVME有供电要求

        jack@cool-pi.com

        S 1 Reply Last reply Reply Quote 0
        • S
          shengxia @大法师
          last edited by shengxia

          @大法师 这里主要是同样的设备,线材,下边这个是没问题的,就只有上边这个有问题呢。所以我理解没必要单独找一个设备吧,我海康的直连我也是试过的。现象是一样的。

          PS:百度网盘里的ubuntu系统我试了一下密码貌似 都不是coolpi诶,我是后来用emmc系统进去后,然后chroot了一把sd的 改了一下密码。

          大法师大 1 Reply Last reply Reply Quote 0
          • 大法师大
            大法师 @shengxia
            last edited by

            @shengxia 新打包的ubuntu系统密码123 用户名coolpi

            jack@cool-pi.com

            大法师大 1 Reply Last reply Reply Quote 0
            • 大法师大
              大法师 @大法师
              last edited by 大法师

              USB移动硬盘插入上层U3端口

              未插入
              root@openkylin:/home/openkylin# lsusb -t
              /:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
              /:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
              /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
              /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
              /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
              /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
              /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
              /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
                  |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
                      |__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
                      |__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
                      |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
              root@openkylin:/home/openkylin# 
              root@openkylin:/home/openkylin# 
              root@openkylin:/home/openkylin# 
              
              插入后
              root@openkylin:/home/openkylin# lsusb -t
              /:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
              /:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
              /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
                  |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
              /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
              /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
              /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
              /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
              /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
                  |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
                      |__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
                      |__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
                      |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
              root@openkylin:/home/openkylin# 
              
              dmesg信息
              [   56.683651] usb 6-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
              [   56.701732] usb 6-1: New USB device found, idVendor=174c, idProduct=1153, bcdDevice= 1.00
              [   56.701748] usb 6-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
              [   56.701757] usb 6-1: Product: Ugreen Storage Device
              [   56.701765] usb 6-1: Manufacturer: Ugreen
              [   56.701774] usb 6-1: SerialNumber: 26A1EE834B3A
              [   56.709642] scsi host0: uas
              [   56.710868] scsi 0:0:0:0: Direct-Access     KINGSTON  SA400S37240G    0    PQ: 0 ANSI: 6
              [   56.712594] sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/224 GiB)
              [   56.712710] sd 0:0:0:0: [sda] Write Protect is off
              [   56.712715] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
              [   56.712923] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
              [   56.713180] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
              [   56.756728]  sda: sda1
              [   56.785263] sd 0:0:0:0: [sda] Attached SCSI disk
              [   56.831716] sd 0:0:0:0: Attached scsi generic sg0 type 0
              

              拔出移动硬盘,再插入下层U3端口

              [  220.995566] usb 6-1: USB disconnect, device number 2 
              [  221.010564] sd 0:0:0:0: [sda] Synchronizing SCSI cache
              [  221.210217] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=0x00
              [  225.563625] usb 8-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
              [  225.581932] usb 8-1: New USB device found, idVendor=174c, idProduct=1153, bcdDevice= 1.00
              [  225.581940] usb 8-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
              [  225.581944] usb 8-1: Product: Ugreen Storage Device
              [  225.581947] usb 8-1: Manufacturer: Ugreen
              [  225.581951] usb 8-1: SerialNumber: 26A1EE834B3A
              [  225.585374] scsi host0: uas
              [  225.586402] scsi 0:0:0:0: Direct-Access     KINGSTON  SA400S37240G    0    PQ: 0 ANSI: 6
              [  225.587603] sd 0:0:0:0: Attached scsi generic sg0 type 0
              [  225.588405] sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/224 GiB)
              [  225.588539] sd 0:0:0:0: [sda] Write Protect is off
              [  225.588545] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
              [  225.588766] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
              [  225.588997] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
              [  225.623173]  sda: sda1
              [  225.654381] sd 0:0:0:0: [sda] Attached SCSI disk
              
              root@openkylin:/home/openkylin# lsusb  -t
              /:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
                  |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
              /:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
              /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
              /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
              /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
              /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
              /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
              /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
                  |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
                      |__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
                      |__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
                      |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
              root@openkylin:/home/openkylin#
              

              可以替换试试
              4b内核驱动安装包

              jack@cool-pi.com

              S 1 Reply Last reply Reply Quote 0
              • S
                shengxia @大法师
                last edited by

                @大法师 嗯,我其实内心里是知道上下应该没啥区别的,但我这个板子的确上边这个表现很奇怪,我刚和客服说寄回去,让售后工程师辛苦看下了。我本人对这块没啥经验,也就只有简单的排查能力。

                G 大法师大 2 Replies Last reply Reply Quote 0
                • G
                  george @shengxia
                  last edited by

                  @shengxia 昨天有提交了一个USB3.0的修改,你可以同步最新代码测试。我手上几个盘都可以使用。

                  1 Reply Last reply Reply Quote 0
                  • 大法师大
                    大法师 @shengxia
                    last edited by

                    @shengxia 你的主板我们同事看了,usb3上下层端口都没有问题。用相同的tf卡openkylin系统加usb nvme、usb ssd测试都可以识别到super speed。需要注意部分型号nvme转接板有自动休眠功能、供电需单独5V/2A

                    (你寄的nvme转接盒没有带盘)

                    jack@cool-pi.com

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      shengxia @大法师
                      last edited by

                      @大法师 能用Ubuntu22 或者ub20那个镜像测一下么?我主要用ub环境开发哈

                      大法师大 1 Reply Last reply Reply Quote 0
                      • 大法师大
                        大法师 @shengxia
                        last edited by

                        @shengxia ok!

                        jack@cool-pi.com

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post