免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 24026 | 回复: 0

USBHID触摸时报错 [复制链接]

论坛徽章:
0
发表于 2017-10-20 15:35 |显示全部楼层
3.1内核,启动后,有/dev/usb/hiddev0设备
cat /dev/usb/hiddev0,然后触摸屏,打印以下错误:
  1. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  2. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  3. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  4. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  5. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  6. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  7. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  8. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  9. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  10. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  11. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  12. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  13. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  14. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  15. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  16. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  17. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  18. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  19. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  20. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  21. hid-generic 0003:2149:2703.0002: can't reset device, hiusb-ehci-1.1/input1, status -71
  22. usb 1-1.1: USB disconnect, device number 3
  23. cat: read error: Input/output error
  24. sh: getcwd: No such file or directory
  25. (unknown) # usb 1-1.1: new full-speed USB device number 4 using hiusb-ehci
  26. hid-generic 0003:2149:2703.0004: hiddev0,hidraw0: USB HID v1.10 Device [Advanced Silicon S.A CoolTouch(TM) System] on usb-hiusb-ehci-1.1/input1

  27. sh: getcwd: No such file or directory
  28. (unknown) #
复制代码
怎么解决这个问题。屏的信息如下:
  1. Udevadm info starts with the device specified by the devpath and then
  2. walks up the chain of parent devices. It prints for every device
  3. found, all possible attributes in the udev rules key format.
  4. A rule to match, can be composed by the attributes of the device
  5. and the attributes from one single parent device.

  6.   looking at device '/devices/platform/hiusb-ehci.0/usb1/1-1/1-1.1/1-1.1:1.1/usbmisc/hiddev0':
  7.     KERNEL=="hiddev0"
  8.     SUBSYSTEM=="usbmisc"
  9.     DRIVER==""

  10.   looking at parent device '/devices/platform/hiusb-ehci.0/usb1/1-1/1-1.1/1-1.1:1.1':
  11.     KERNELS=="1-1.1:1.1"
  12.     SUBSYSTEMS=="usb"
  13.     DRIVERS=="usbhid"
  14.     ATTRS{bInterfaceClass}=="03"
  15.     ATTRS{modalias}=="usb:v2149p2703d1331dc00dsc00dp00ic03isc00ip00in01"
  16.     ATTRS{bInterfaceSubClass}=="00"
  17.     ATTRS{bInterfaceProtocol}=="00"
  18.     ATTRS{bNumEndpoints}=="02"
  19.     ATTRS{supports_autosuspend}=="1"
  20.     ATTRS{bAlternateSetting}==" 0"
  21.     ATTRS{bInterfaceNumber}=="01"

  22.   looking at parent device '/devices/platform/hiusb-ehci.0/usb1/1-1/1-1.1':
  23.     KERNELS=="1-1.1"
  24.     SUBSYSTEMS=="usb"
  25.     DRIVERS=="usb"
  26.     ATTRS{bDeviceSubClass}=="00"
  27.     ATTRS{bDeviceProtocol}=="00"
  28.     ATTRS{devpath}=="1.1"
  29.     ATTRS{idVendor}=="2149"
  30.     ATTRS{speed}=="12"
  31.     ATTRS{bNumInterfaces}==" 2"
  32.     ATTRS{bConfigurationValue}=="1"
  33.     ATTRS{bMaxPacketSize0}=="64"
  34.     ATTRS{busnum}=="1"
  35.     ATTRS{devnum}=="14"
  36.     ATTRS{bMaxPower}=="500mA"
  37.     ATTRS{authorized}=="1"
  38.     ATTRS{bmAttributes}=="a0"
  39.     ATTRS{bNumConfigurations}=="1"
  40.     ATTRS{maxchild}=="0"
  41.     ATTRS{bcdDevice}=="1331"
  42.     ATTRS{avoid_reset_quirk}=="0"
  43.     ATTRS{quirks}=="0x0"
  44.     ATTRS{version}==" 2.00"
  45.     ATTRS{urbnum}=="20"
  46.     ATTRS{ltm_capable}=="no"
  47.     ATTRS{manufacturer}=="Advanced Silicon S.A"
  48.     ATTRS{removable}=="fixed"
  49.     ATTRS{idProduct}=="2703"
  50.     ATTRS{bDeviceClass}=="00"
  51.     ATTRS{product}=="CoolTouch(TM) System"

  52.   looking at parent device '/devices/platform/hiusb-ehci.0/usb1/1-1':
  53.     KERNELS=="1-1"
  54.     SUBSYSTEMS=="usb"
  55.     DRIVERS=="usb"
  56.     ATTRS{bDeviceSubClass}=="00"
  57.     ATTRS{bDeviceProtocol}=="02"
  58.     ATTRS{devpath}=="1"
  59.     ATTRS{idVendor}=="05e3"
  60.     ATTRS{speed}=="480"
  61.     ATTRS{bNumInterfaces}==" 1"
  62.     ATTRS{bConfigurationValue}=="1"
  63.     ATTRS{bMaxPacketSize0}=="64"
  64.     ATTRS{busnum}=="1"
  65.     ATTRS{devnum}=="12"
  66.     ATTRS{configuration}==""
  67.     ATTRS{bMaxPower}=="100mA"
  68.     ATTRS{authorized}=="1"
  69.     ATTRS{bmAttributes}=="e0"
  70.     ATTRS{bNumConfigurations}=="1"
  71.     ATTRS{maxchild}=="4"
  72.     ATTRS{bcdDevice}=="7017"
  73.     ATTRS{avoid_reset_quirk}=="0"
  74.     ATTRS{quirks}=="0x0"
  75.     ATTRS{version}==" 2.00"
  76.     ATTRS{urbnum}=="82"
  77.     ATTRS{ltm_capable}=="no"
  78.     ATTRS{manufacturer}=="GenesysLogic"
  79.     ATTRS{removable}=="unknown"
  80.     ATTRS{idProduct}=="0610"
  81.     ATTRS{bDeviceClass}=="09"
  82.     ATTRS{product}=="USB2.0 Hub"

  83.   looking at parent device '/devices/platform/hiusb-ehci.0/usb1':
  84.     KERNELS=="usb1"
  85.     SUBSYSTEMS=="usb"
  86.     DRIVERS=="usb"
  87.     ATTRS{bDeviceSubClass}=="00"
  88.     ATTRS{bDeviceProtocol}=="00"
  89.     ATTRS{devpath}=="0"
  90.     ATTRS{idVendor}=="1d6b"
  91.     ATTRS{speed}=="480"
  92.     ATTRS{bNumInterfaces}==" 1"
  93.     ATTRS{bConfigurationValue}=="1"
  94.     ATTRS{bMaxPacketSize0}=="64"
  95.     ATTRS{authorized_default}=="1"
  96.     ATTRS{busnum}=="1"
  97.     ATTRS{devnum}=="1"
  98.     ATTRS{configuration}==""
  99.     ATTRS{bMaxPower}=="0mA"
  100.     ATTRS{authorized}=="1"
  101.     ATTRS{bmAttributes}=="e0"
  102.     ATTRS{bNumConfigurations}=="1"
  103.     ATTRS{maxchild}=="1"
  104.     ATTRS{bcdDevice}=="0310"
  105.     ATTRS{avoid_reset_quirk}=="0"
  106.     ATTRS{quirks}=="0x0"
  107.     ATTRS{serial}=="hiusb-ehci"
  108.     ATTRS{version}==" 2.00"
  109.     ATTRS{urbnum}=="148"
  110.     ATTRS{ltm_capable}=="no"
  111.     ATTRS{manufacturer}=="Linux 3.10.0 ehci_hcd"
  112.     ATTRS{removable}=="unknown"
  113.     ATTRS{idProduct}=="0002"
  114.     ATTRS{bDeviceClass}=="09"
  115.     ATTRS{product}=="HIUSB EHCI"

  116.   looking at parent device '/devices/platform/hiusb-ehci.0':
  117.     KERNELS=="hiusb-ehci.0"
  118.     SUBSYSTEMS=="platform"
  119.     DRIVERS=="hiusb-ehci"
  120.     ATTRS{companion}==""
  121.     ATTRS{modalias}=="platform:hiusb-ehci"
  122.     ATTRS{uframe_periodic_max}=="100"

  123.   looking at parent device '/devices/platform':
  124.     KERNELS=="platform"
  125.     SUBSYSTEMS==""
  126.     DRIVERS==""
复制代码


您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

SACC2021中国系统架构师大会

【数字转型 架构重塑】2021年5月20日-22日第十三届中国系统架构师大会将在云端进行网络直播。

大会为期3天的议程,涉及20+专场,近120个主题,完整迁移到线上进行网络直播对会议组织来说绝非易事;但考虑到云端会议的直播形式可以实现全国各地技术爱好者的参与,也使ITPUB作为技术共享交流平台得到更好的普及,我们决定迎难而上。
http://sacc.it168.com/


大会官网>>
  

北京盛拓优讯信息技术有限公司. 版权所有 16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP