主题 : 求教:new full speed USB device number 5 using s5p-ehci 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 126798
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
综合积分: 4 分
注册时间: 2016-07-21
最后登录: 2016-07-25
楼主  发表于: 2016-07-21 17:54

 求教:new full speed USB device number 5 using s5p-ehci

我使用的是Smart 210的板子,在插入某个扫码二维码的机器之后(是键盘模式),出现

[ 1726.108421] usb 1-1.2: new full speed USB device number 8 using s5p-ehci
[ 1726.229769] input: NewLand HidKeyBoard as /devices/platform/s5p-ehci/usb1/1-1/1-1.2/1-1.2:1.0/input/input5
[ 1726.233567] generic-usb 0003:1EAB:8003.0003: input: USB HID v1.10 Keyboard [NewLand HidKeyBoard] on usb-s5p-ehci-1.2/input0


的提示,这个设备的文件目录是哪一个?我起初以为是/dev/input/event0这个目录,但是使用C语言写一个打开的程序,扫码过后没有读到任何东西,程序卡住不动了(插入键盘后的结果是一样的)。

[root@FriendlyARM /nfsmnt]# ./Test
adas
3





^C