Jump to content

aurror

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm having the same issue as you. with dmesg i get the following output: 8.031945] hid-multitouch 0003:0EEF:0005.0001: input,hidraw0: USB HID v1.11 Device [WaveShare WaveShare Touchscreen] on usb-sunxi-ohci-1/input0 and I can see touch-inputs when using: xxd -c 11 /dev/hidraw0: 00000000: 0101 0003 2900 fb00 aa33 01 ------ ----- ----- x y | some kind of counter, increases when i hold/touch the screen each byte-double is increasing its position like this: ff02 -> 0003 some things i found out: 0101 0003 2900 fb00 aa33 01 ....)....3. touch-start/hold 0100 0003 2900 fb00 aa33 01 ....)....3. touch-end 00021722: 0101 0001 6701 9001 bbf3 05 ....g...... 0002172d: 0101 0101 d001 1f01 bbf3 00 ........... 00021738: 0101 0203 5c02 1501 bbf3 00 ....\...... 00021743: 0101 0301 ce02 0002 bbf3 00 ........... 0002174e: 0101 0401 cb02 8701 bbf3 00 ........... multi-touch with 5 fingers 00021722: 0101 0001 6701 9001 bbf3 05 ....g...... 0002172d: 0101 0101 d001 1f01 bbf3 00 ........... 00021738: 0101 0203 5c02 1501 bbf3 00 ....\...... 00021743: 0101 0301 ce02 0002 bbf3 00 ........... 0002174e: 0101 0401 cb02 8701 bbf3 00 ........... counts how many fingers are currently on the touch Report descriptor of the touch: printit@printit-v2:/sys/bus/usb/drivers/usbhid$ sudo lsusb -vd 0eef:0005 Bus 007 Device 002: ID 0eef:0005 D-WAV Scientific Co., Ltd Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0eef D-WAV Scientific Co., Ltd idProduct 0x0005 bcdDevice 2.00 iManufacturer 1 WaveShare iProduct 2 WaveShare Touchscreen iSerial 3 2016-11-06 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.11 bCountryCode 9 German bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 124 Report Descriptor: (length is 124) Item(Global): Usage Page, data= [ 0x0d ] 13 Digitizer Item(Local ): Usage, data= [ 0x04 ] 4 Touch Screen Item(Main ): Collection, data= [ 0x01 ] 1 Application Item(Global): Report ID, data= [ 0x01 ] 1 Item(Local ): Usage, data= [ 0x22 ] 34 Finger Item(Main ): Collection, data= [ 0x02 ] 2 Logical Item(Local ): Usage, data= [ 0x42 ] 66 Tip Switch Item(Global): Logical Minimum, data= [ 0x00 ] 0 Item(Global): Logical Maximum, data= [ 0x01 ] 1 Item(Global): Report Size, data= [ 0x01 ] 1 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Main ): Input, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report Count, data= [ 0x07 ] 7 Item(Main ): Input, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 Item(Global): Report Size, data= [ 0x08 ] 8 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Local ): Usage, data= [ 0x51 ] 81 Contact ID Item(Main ): Input, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Local ): Usage, data= [ 0x30 ] 48 Tip Pressure Item(Main ): Input, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report Size, data= [ 0x10 ] 16 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Usage Page, data= [ 0x01 ] 1 Generic Desktop Controls Item(Global): Unit Exponent, data= [ 0x0f ] 15 Unit Exponent: 15 Item(Global): Unit, data= [ 0x11 ] 17 System: SI Linear, Unit: Centimeter Item(Global): Logical Maximum, data= [ 0x00 0x04 ] 1024 Item(Global): Physical Minimum, data= [ 0x00 ] 0 Item(Global): Physical Maximum, data= [ 0xff 0xff ] 65535 Item(Local ): Usage, data= [ 0x30 ] 48 Direction-X Item(Main ): Input, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Physical Maximum, data= [ 0xff 0xff ] 65535 Item(Global): Logical Maximum, data= [ 0x58 0x02 ] 600 Item(Local ): Usage, data= [ 0x31 ] 49 Direction-Y Item(Main ): Input, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Main ): End Collection, data=none Item(Global): Usage Page, data= [ 0x0d ] 13 Digitizer Item(Global): Unit Exponent, data= [ 0x0c ] 12 Unit Exponent: 12 Item(Global): Unit, data= [ 0x01 0x10 ] 4097 System: SI Linear, Unit: Seconds Item(Global): Physical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535 Item(Global): Logical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535 Item(Global): Report Size, data= [ 0x10 ] 16 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Local ): Usage, data= [ 0x56 ] 86 (null) Item(Main ): Input, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Usage Page, data= [ 0x0d ] 13 Digitizer Item(Local ): Usage, data= [ 0x54 ] 84 Contact Count Item(Global): Logical Maximum, data= [ 0x7f ] 127 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Report Size, data= [ 0x08 ] 8 Item(Main ): Input, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report ID, data= [ 0x02 ] 2 Item(Local ): Usage, data= [ 0x55 ] 85 Maximum Contact Number Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Logical Maximum, data= [ 0x02 ] 2 Item(Main ): Feature, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Main ): End Collection, data=none Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Device Status: 0x0000 (Bus Powered) touch doesn't work in normal use. I'm a noob when it comes to drivers, does someone know which files I need to modify to get it working or should I emulate mouseclicks reading the outputs from: xxd -c 11 /dev/hidraw0 ?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines