您尚未登录。

楼主 #1 2018-03-06 15:57:49

F1F2
会员
注册时间: 2017-09-11
已发帖子: 99
积分: 99

有一个u盘, s3c2416和电脑都可以读写, 但是用V3s不能读写

QQ20180306155256.png

[   80.475195] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   80.625185] usb 1-1: device descriptor read/64, error -71
[   80.895192] usb 1-1: device descriptor read/64, error -71
[   81.155196] usb 1-1: new high-speed USB device number 3 using ehci-platform
[   81.575194] usb 1-1: new high-speed USB device number 4 using ehci-platform
[   81.725183] usb 1-1: device descriptor read/64, error -71
[   81.995180] usb 1-1: device descriptor read/64, error -71
[   82.255201] usb 1-1: new high-speed USB device number 5 using ehci-platform
[   82.675184] usb 1-1: new high-speed USB device number 6 using ehci-platform
[   82.825181] usb 1-1: device descriptor read/64, error -71
[   83.095189] usb 1-1: device descriptor read/64, error -71
[   83.355190] usb 1-1: new high-speed USB device number 7 using ehci-platform
[   83.775194] usb 1-1: new high-speed USB device number 8 using ehci-platform
[   83.925184] usb 1-1: device descriptor read/64, error -71
[   84.195182] usb 1-1: device descriptor read/64, error -71
[   84.455194] usb 1-1: new high-speed USB device number 9 using ehci-platform
[   84.875186] usb 1-1: new high-speed USB device number 10 using ehci-platform
[   85.025180] usb 1-1: device descriptor read/64, error -71
[   85.295191] usb 1-1: device descriptor read/64, error -71
[   85.555239] usb 1-1: new high-speed USB device number 11 using ehci-platform
[   85.975194] usb 1-1: new high-speed USB device number 12 using ehci-platform
[   86.125184] usb 1-1: device descriptor read/64, error -71
[   86.395182] usb 1-1: device descriptor read/64, error -71
[   86.655190] usb 1-1: new high-speed USB device number 13 using ehci-platform
[   87.075181] usb 1-1: new high-speed USB device number 14 using ehci-platform
[   87.225181] usb 1-1: device descriptor read/64, error -71
[   87.495191] usb 1-1: device descriptor read/64, error -71
[   87.755181] usb 1-1: new high-speed USB device number 15 using ehci-platform
[   88.175194] usb 1-1: new high-speed USB device number 16 using ehci-platform
[   88.325184] usb 1-1: device descriptor read/64, error -71
[   88.595181] usb 1-1: device descriptor read/64, error -71
[   88.855191] usb 1-1: new high-speed USB device number 17 using ehci-platform
[   89.275187] usb 1-1: new high-speed USB device number 18 using ehci-platform
[   89.425178] usb 1-1: device descriptor read/64, error -71
[   89.695187] usb 1-1: device descriptor read/64, error -71
[   89.955181] usb 1-1: new high-speed USB device number 19 using ehci-platform
[   90.375189] usb 1-1: new high-speed USB device number 20 using ehci-platform
[   90.525182] usb 1-1: device descriptor read/64, error -71
[   90.795178] usb 1-1: device descriptor read/64, error -71
[   91.055193] usb 1-1: new high-speed USB device number 21 using ehci-platform
[   91.475188] usb 1-1: new high-speed USB device number 22 using ehci-platform
[   91.625182] usb 1-1: device descriptor read/64, error -71
[   91.895191] usb 1-1: device descriptor read/64, error -71
[   92.155179] usb 1-1: new high-speed USB device number 23 using ehci-platform
[   92.575191] usb 1-1: new high-speed USB device number 24 using ehci-platform
[   92.725186] usb 1-1: device descriptor read/64, error -71
[   92.995181] usb 1-1: device descriptor read/64, error -71
[   93.255190] usb 1-1: new high-speed USB device number 25 using ehci-platform
[   93.675185] usb 1-1: new high-speed USB device number 26 using ehci-platform
[   93.825181] usb 1-1: device descriptor read/64, error -71
[   94.095188] usb 1-1: device descriptor read/64, error -71

有一个u盘, s3c2416和电脑都可以读写, 但是用V3s出现这个提示,

格过了, 还是不行

供电应该没有问题,
另一个U盘正常。
有没有办法解决?

离线

楼主 #2 2018-03-06 16:24:44

F1F2
会员
注册时间: 2017-09-11
已发帖子: 99
积分: 99

Re: 有一个u盘, s3c2416和电脑都可以读写, 但是用V3s不能读写

按这个做法,然而并没有什么卵用。

http://blog.csdn.net/kenny_wju/article/details/9091395

离线

楼主 #3 2018-03-06 16:40:37

F1F2
会员
注册时间: 2017-09-11
已发帖子: 99
积分: 99

Re: 有一个u盘, s3c2416和电脑都可以读写, 但是用V3s不能读写

不过还是有点卵用, 我写N就好了。

echo N > /sys/module/usbcore/parameters/use_both_schemes
echo Y > /sys/module/usbcore/parameters/old_scheme_first

这样之后, 我手里的两个U盘都可以读写了,但是会不会引起别的问题还不知道。

# echo N > /sys/module/usbcore/parameters/use_both_schemes
# echo Y > /sys/module/usbcore/parameters/old_scheme_first
#
#
# [   29.915117] usb 2-1: new full-speed USB device number 2 using ohci-platform
[   30.170152] usb 2-1: not running at top speed; connect to a high speed hub
[   30.194572] usb-storage 2-1:1.0: USB Mass Storage device detected
[   30.215683] scsi host0: usb-storage 2-1:1.0
[   31.292261] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[   31.320371] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[   31.335337] sd 0:0:0:0: [sda] Write Protect is off
[   31.366384] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   31.432255]  sda:
[   31.459383] sd 0:0:0:0: [sda] Attached SCSI removable disk
[Mount VFAT]: /dev/sda --> /mnt/udisk
[   39.060614] usb 2-1: USB disconnect, device number 2
[   39.152190] FAT-fs (sda): unable to read boot sector to mark fs as dirty
[Umount FS]: /dev/sda -X-> /mnt/udisk
[   46.005121] usb 1-1: new high-speed USB device number 15 using ehci-platform
[   46.207579] usb 1-1: device descriptor read/all, error -71
[   46.365120] usb 1-1: new high-speed USB device number 16 using ehci-platform
[   46.567576] usb 1-1: device descriptor read/all, error -71
[   46.585108] usb usb1-port1: unable to enumerate USB device
[   47.055114] usb 2-1: new full-speed USB device number 3 using ohci-platform
[   47.308152] usb 2-1: not running at top speed; connect to a high speed hub
[   47.328555] usb-storage 2-1:1.0: USB Mass Storage device detected
[   47.352059] scsi host0: usb-storage 2-1:1.0
[   48.412260] scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0272 PQ: 0 ANSI: 0
[   48.948218] sd 0:0:0:0: [sda] 3899392 512-byte logical blocks: (2.00 GB/1.86 GiB)
[   48.964187] sd 0:0:0:0: [sda] Write Protect is off
[   48.978195] sd 0:0:0:0: [sda] No Caching mode page found
[   48.983526] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   49.042254]  sda: sda1
[   49.079377] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   49.385272] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[Mount VFAT]: /dev/sda1 --> /mnt/udisk

离线

#4 2018-03-06 19:38:43

mango
会员
所在地: 芒果派
注册时间: 2017-12-02
已发帖子: 779
积分: 730

Re: 有一个u盘, s3c2416和电脑都可以读写, 但是用V3s不能读写

像是硬件设计阻抗没匹配好






歪朵拉开源硬件: https://widora.cn
淘宝:  https://widora.taobao.com/

离线

#5 2018-03-06 19:46:29

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 有一个u盘, s3c2416和电脑都可以读写, 但是用V3s不能读写

mango 说:

像是硬件设计阻抗没匹配好

有这种可能,但是更像软件协议问题,因为设置了usbcore之后楼主的u盘就正常了。





离线

楼主 #6 2018-03-15 17:45:40

F1F2
会员
注册时间: 2017-09-11
已发帖子: 99
积分: 99

Re: 有一个u盘, s3c2416和电脑都可以读写, 但是用V3s不能读写

我这里5个U盘, 3个OK, 还有两个插上去控制台毛反应都没有,U盘在电脑都是正常的。
感觉要成背锅侠了。

离线

楼主 #7 2018-03-15 18:03:57

F1F2
会员
注册时间: 2017-09-11
已发帖子: 99
积分: 99

Re: 有一个u盘, s3c2416和电脑都可以读写, 但是用V3s不能读写

看来3楼的办法只可以解决一部分问题, 不能解决全部的问题。

离线

#8 2018-06-13 17:31:35

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: 有一个u盘, s3c2416和电脑都可以读写, 但是用V3s不能读写

今天客户带了几个U盘过来,都是挂载不上的,看log是这样的:

[   30.067937] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   30.507913] usb 1-1: device not accepting address 2, error -71
[   30.647920] usb 1-1: new high-speed USB device number 3 using ehci-platform
[   31.087912] usb 1-1: device not accepting address 3, error -71
[   31.088023] usb usb1-port1: unable to enumerate USB device
[   31.557946] usb 2-1: new full-speed USB device number 2 using ohci-platform
[   31.613097] usb 2-1: not running at top speed; connect to a high speed hub
[   31.628262] usb-storage 2-1:1.0: USB Mass Storage device detected


改了一下参数之后终于可以了.

echo N > /sys/module/usbcore/parameters/use_both_schemes
echo Y > /sys/module/usbcore/parameters/old_scheme_first
echo 5000000 > /sys/module/usbcore/parameters/initial_descriptor_timeout

参考网址: https://www.spinics.net/lists/linux-usb/msg107411.html





离线

#9 2020-05-15 18:30:14

孤星泪
会员
注册时间: 2020-03-18
已发帖子: 235
积分: 231

Re: 有一个u盘, s3c2416和电脑都可以读写, 但是用V3s不能读写

晕, 公司自己做的A33板也出了一模一样的问题, 试一试楼上朋友的方法.

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn