我有一个ViewSonic触摸屏显示器,通过HDMI和DSP连接到Android PC(内核3.0.36+)。 USB。显示屏正确显示所有内容。此外,Linux内核可以识别它。
dmesg的:
<6>[ 99.699034] usb 2-1.2.3: new full speed USB device number 8 using usb20_host
<6>[ 99.800896] usb 2-1.2.3: New USB device found, idVendor=0408, idProduct=3008
<6>[ 99.800993] usb 2-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=4
<6>[ 99.801099] usb 2-1.2.3: Product: OpticalTouchScreen
<6>[ 99.801169] usb 2-1.2.3: Manufacturer: Quanta
<6>[ 99.801226] usb 2-1.2.3: SerialNumber: 0000
<4>[ 99.805402] quirks: 0x00000000
问题在于屏幕虽然我可以在任何地方触摸,但只能在光标位置注册水龙头(无线键盘/鼠标连接)。如果我移动光标并点击屏幕上的任意位置,新位置将接收到水龙头。如果我删除键盘/鼠标加密狗,行为仍然存在,但现在我无法移动光标。
在dev/usb
:
位于/system/usr/idc/Vendor_0408_Product_3008.idc
# Input device configuration file.
# This is an external device, attached to the USB or Bluetooth bus.
device.internal = 0
# The device should behave as a touch screen, which uses the same orientation
# as the built-in display.
touch.deviceType = touchScreen
touch.orientationAware = 0
touch.gestureMode = spots
# Orientation
touch.orientation.calibration = vector
# Output Ranges
output.width = 1920
output.height = 1080
output.diag = sqrt(output.width ^2 + output.height ^2)
欢迎任何指导或建议!