[ 213.602561] usb 4-1: new full-speed USB device number 2 using ohci-platform
[ 213.834953] usb 4-1: New USB device found, idVendor=6615, idProduct=108c, bcdDevice= 1.30
[ 213.835048] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 213.835081] usb 4-1: Product: USB TouchScreen
[ 213.835108] usb 4-1: Manufacturer: Beijing IRTOUCHSYSTEMS Co.,Ltd.
[ 213.835136] usb 4-1: SerialNumber: 788B669E0753
[ 213.846822] input: Beijing IRTOUCHSYSTEMS Co.,Ltd. USB TouchScreen as /devices/platform/fd8c0000.usb/usb4/4-1/4-1:1.0/0003:6615:108C.0001/input/input4
[ 213.902890] hid-generic 0003:6615:108C.0001: input,hidraw0: USB HID v1.11 Mouse [Beijing IRTOUCHSYSTEMS Co.,Ltd. USB TouchScreen] on usb-fd8c0000.usb-1/input0
[ 213.914431] input: Beijing IRTOUCHSYSTEMS Co.,Ltd. USB TouchScreen as /devices/platform/fd8c0000.usb/usb4/4-1/4-1:1.1/0003:6615:108C.0002/input/input5
[ 213.971215] hid-multitouch 0003:6615:108C.0002: input,hiddev96,hidraw1: USB HID v1.11 Device [Beijing IRTOUCHSYSTEMS Co.,Ltd. USB TouchScreen] on usb-fd8c0000.usb-1/input1我们只需要让其加载hid-multitouch.c驱动即可
evtest可以看到生成了event3和event4这2个输入事件
[root@ok3568:/]# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: rk805 pwrkey
/dev/input/event1: adc-keys
/dev/input/event2: rk-headset
/dev/input/event3: Beijing IRTOUCHSYSTEMS Co.,Ltd. USB TouchScreen
/dev/input/event4: Beijing IRTOUCHSYSTEMS Co.,Ltd. USB TouchScreen
lsusb查看usb触摸板的vid和pid
[root@ok3568:/]# lsusb
Bus 004 Device 002: ID 6615:108c
Java后端开发——SpringMVC商品管理程序
今日目标 Spring MVC框架介绍掌握SpringMVC的核心类的原理及配置掌握SpringMVC的常用注解掌握SpringMVC的增删改查编程 Spring MVC框架介绍
Spring MVC(Model-View-Controller)是一个基于Java的开源框架&#x…
数学基础
KL散度
描绘一个分布p和另一个分布q之间的偏离程度 当 p ( x ) q ( x ) p(x)q(x) p(x)q(x)时散度取得最小值
JS散度
另一种衡量两个概率分布相似性的方法
GAN
需要训练两个网络;损失来回波动,不好分辨,不容易收敛ÿ…