Skip to content

Instantly share code, notes, and snippets.

@smaeul

smaeul/dmesg Secret

Created January 7, 2022 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smaeul/60b4b0f784bfff8bb8ce3ee3b4483be9 to your computer and use it in GitHub Desktop.
Save smaeul/60b4b0f784bfff8bb8ce3ee3b4483be9 to your computer and use it in GitHub Desktop.
cyttsp5
[ 2.535929] i2c_hid_of_goodix 5-0024: Fetching the HID descriptor
[ 2.536593] i2c_hid_of_goodix 5-0024: __i2c_hid_command: cmd=01 00
[ 2.540569] i2c_hid_of_goodix 5-0024: __i2c_hid_command: cmd=01 00
[ 2.544746] i2c_hid_of_goodix 5-0024: Corrected noncompliant HID descriptor
[ 2.545517] i2c_hid_of_goodix 5-0024: HID Descriptor: 20 00 00 01 ec 00 02 00 03 00 ff 00 04 00 fe 00 05 00 06 00 b4 04 01 c1 00 01 00 00 00 00
[ 2.547176] i2c_hid_of_goodix 5-0024: entering i2c_hid_parse
[ 2.547818] i2c_hid_of_goodix 5-0024: i2c_hid_hwreset
[ 2.548345] i2c_hid_of_goodix 5-0024: i2c_hid_set_power
[ 2.548902] i2c_hid_of_goodix 5-0024: __i2c_hid_command: cmd=05 00 00 08
[ 2.553293] i2c_hid_of_goodix 5-0024: input: 20 00 f7 00 00 01 ec 00 02 00 03 00 ff 00 04 00 fe 00 05 00 06 00 b4 04 01 c1 00 01 00 00 00 00
[ 2.561520] i2c_hid_of_goodix 5-0024: input: 05 00 f0 00 08
[ 2.615555] i2c_hid_of_goodix 5-0024: asking HID report descriptor
[ 2.616216] i2c_hid_of_goodix 5-0024: __i2c_hid_command: cmd=02 00
[ 2.638907] i2c_hid_of_goodix 5-0024: Report Descriptor: 05 0d 09 04 a1 01 95 01 85 01 09 22 a1 02 05 0d 09 56 75 10 81 02 09 54 75 05 81 02 06 01 ff 09 40 75 01 81 02 75 02 81 03 09 41 75 03 81 02 81 03 09 42 75 02 81 02 c0 05 0d 09 22 a1 02 06 01
[ 2.647064] i2c_hid_of_goodix 5-0024: i2c_hid_get_input: incomplete report (64/236)
[ 2.648116] input: tt21000 04B4:C101 Touchscreen as /devices/platform/fe5e0000.i2c/i2c-5/5-0024/0018:04B4:C101.0002/input/input6
[ 2.649686] input: tt21000 04B4:C101 as /devices/platform/fe5e0000.i2c/i2c-5/5-0024/0018:04B4:C101.0002/input/input7
[ 2.651301] hid-generic 0018:04B4:C101.0002: input,hidraw1: I2C HID v1.00 Device [tt21000 04B4:C101] on 5-0024
[ 2.672564] i2c_hid_of_goodix 5-0024: input: ec 00 f6 05 0d 09 04 a1 01 95 01 85 01 09 22 a1 02 05 0d 09 56 75 10 81 02 09 54 75 05 81 02 06 01 ff 09 40 75 01 81 02 75 02 81 03 09 41 75 03 81 02 81 03 09 42 75 02 81 02 c0 05 0d 09 22 a1
[ 278.823660] i2c_hid_of_goodix 5-0024: input: 11 00 01 a6 4d 01 40 00 a0 97 02 cc 01 14 00 00 00
[ 278.918273] i2c_hid_of_goodix 5-0024: input: 11 00 01 06 4e 01 80 00 60 97 02 cc 01 14 00 00 00
[ 278.979491] i2c_hid_of_goodix 5-0024: input: 07 00 01 24 4e 00 c0
[ 284.092463] i2c_hid_of_goodix 5-0024: input: 11 00 01 b0 62 01 00 00 a0 f4 03 cd 03 12 00 00 00
[ 284.233658] i2c_hid_of_goodix 5-0024: input: 1b 00 01 2e 63 02 40 00 80 f4 03 cd 03 12 00 00 00 00 a1 e9 04 f5 02 16 00 00 00
[ 284.283825] i2c_hid_of_goodix 5-0024: input: 1b 00 01 6b 63 02 80 00 80 f4 03 cd 03 13 00 00 00 00 81 e9 04 f5 02 16 00 00 00
[ 284.356516] i2c_hid_of_goodix 5-0024: input: 1b 00 01 be 63 02 c0 00 80 f4 03 cd 03 13 00 00 00 00 61 e9 04 f5 02 16 00 00 00
[ 284.391501] i2c_hid_of_goodix 5-0024: input: 11 00 01 db 63 01 00 00 80 f4 03 cd 03 13 00 00 00
[ 284.449048] i2c_hid_of_goodix 5-0024: input: 11 00 01 10 64 01 40 00 80 f4 03 cd 03 12 00 00 00
[ 284.498827] i2c_hid_of_goodix 5-0024: input: 11 00 01 4c 64 01 80 00 60 f4 03 cd 03 12 00 00 00
[ 284.540846] i2c_hid_of_goodix 5-0024: input: 07 00 01 6e 64 00 c0
[ 304.920051] i2c_hid_of_goodix 5-0024: input: 11 00 01 d0 b5 01 00 00 a0 29 03 d8 04 12 00 00 00
[ 304.987676] i2c_hid_of_goodix 5-0024: input: 11 00 01 07 b6 01 40 00 c0 44 03 d6 04 12 00 00 00
[ 305.040594] i2c_hid_of_goodix 5-0024: input: 11 00 01 11 b6 01 80 00 c0 56 03 d4 04 12 00 00 00
[ 305.074097] i2c_hid_of_goodix 5-0024: input: 11 00 01 37 b6 01 c0 00 c0 67 03 d3 04 12 00 00 00
[ 305.114574] i2c_hid_of_goodix 5-0024: input: 11 00 01 65 b6 01 00 00 c0 93 03 cf 04 12 00 00 00
[ 305.155383] i2c_hid_of_goodix 5-0024: input: 11 00 01 8b b6 01 40 00 c0 d0 03 c7 04 12 00 00 00
[ 305.196447] i2c_hid_of_goodix 5-0024: input: 11 00 01 b5 b6 01 80 00 c0 f4 03 c2 04 12 00 00 00
[ 305.237680] i2c_hid_of_goodix 5-0024: input: 11 00 01 df b6 01 c0 00 c0 08 04 bf 04 12 00 00 00
[ 305.279298] i2c_hid_of_goodix 5-0024: input: 11 00 01 08 b7 01 00 00 c0 17 04 bc 04 12 00 00 00
[ 305.321246] i2c_hid_of_goodix 5-0024: input: 11 00 01 32 b7 01 40 00 c0 23 04 bb 04 12 00 00 00
[ 305.363303] i2c_hid_of_goodix 5-0024: input: 11 00 01 5c b7 01 80 00 60 23 04 bb 04 12 00 00 00
[ 305.405561] i2c_hid_of_goodix 5-0024: input: 07 00 01 8c b7 00 c0
[ 1311.963806] i2c_hid_of_goodix 5-0024: input: 11 00 01 bb 69 01 00 00 a0 7b 03 74 03 10 00 00 00
[ 1312.037329] i2c_hid_of_goodix 5-0024: input: 11 00 01 fd 69 01 40 00 c0 98 03 7c 03 10 00 00 00
[ 1312.076020] i2c_hid_of_goodix 5-0024: input: 11 00 01 07 6a 01 80 00 c0 a7 03 7f 03 10 00 00 00
[ 1312.121839] i2c_hid_of_goodix 5-0024: input: 11 00 01 29 6a 01 c0 00 c0 b5 03 82 03 10 00 00 00
[ 1312.154545] i2c_hid_of_goodix 5-0024: input: 11 00 01 4c 6a 01 00 00 c0 cc 03 8a 03 10 00 00 00
[ 1312.195054] i2c_hid_of_goodix 5-0024: input: 11 00 01 7c 6a 01 40 00 c0 e8 03 96 03 10 00 00 00
[ 1312.235695] i2c_hid_of_goodix 5-0024: input: 11 00 01 9d 6a 01 80 00 c0 04 04 a2 03 10 00 00 00
[ 1312.276786] i2c_hid_of_goodix 5-0024: input: 11 00 01 c6 6a 01 c0 00 c0 14 04 a8 03 10 00 00 00
[ 1312.318420] i2c_hid_of_goodix 5-0024: input: 11 00 01 f0 6a 01 00 00 c0 14 04 a8 03 10 00 00 00
[ 1312.360428] i2c_hid_of_goodix 5-0024: input: 11 00 01 1a 6b 01 40 00 c0 0a 04 a4 03 11 00 00 00
[ 1312.402597] i2c_hid_of_goodix 5-0024: input: 11 00 01 44 6b 01 80 00 c0 f5 03 9a 03 12 00 00 00
[ 1312.444949] i2c_hid_of_goodix 5-0024: input: 11 00 01 6f 6b 01 c0 00 c0 e5 03 92 03 12 00 00 00
[ 1312.487645] i2c_hid_of_goodix 5-0024: input: 11 00 01 9a 6b 01 00 00 c0 d8 03 8b 03 12 00 00 00
[ 1312.529990] i2c_hid_of_goodix 5-0024: input: 11 00 01 c5 6b 01 40 00 c0 cf 03 86 03 12 00 00 00
[ 1312.572526] i2c_hid_of_goodix 5-0024: input: 11 00 01 f1 6b 01 80 00 c0 c8 03 83 03 12 00 00 00
[ 1312.615072] i2c_hid_of_goodix 5-0024: input: 11 00 01 1c 6c 01 c0 00 60 c8 03 83 03 12 00 00 00
[ 1312.657600] i2c_hid_of_goodix 5-0024: input: 11 00 01 4d 6c 01 00 00 a0 43 04 9b 03 13 00 00 00
[ 1312.708995] i2c_hid_of_goodix 5-0024: input: 11 00 01 ae 6c 01 40 00 60 43 04 9b 03 13 00 00 00
[ 1312.751764] i2c_hid_of_goodix 5-0024: input: 07 00 01 d3 6c 00 80
pinenote:~# cat /sys/kernel/debug/hid/0018\:04B4\:C101.0002/rdesc
05 0d 09 04 a1 01 95 01 85 01 09 22 a1 02 05 0d 09 56 75 10 81 02 09 54 75 05 81 02 06 01 ff 09 40 75 01 81 02 75 02 81 03 09 41 75 03 81 02 81 03 09 42 75 02 81 02 c0 05 0d 09 22 a1 02 06 01 ff 09 60 75 03 81 02 75 05 81 03 05 0d 09 51 75 05 81 02 06 01 ff 09 61 75 02 81 02 05 0d 09 42 75 01 81 02 05 01 09 30 75 10 81 02 09 31 81 02 05 0d 09 30 75 08 81 02 06 01 ff 09 62 81 02 09 63 81 02 09 64 81 02 c0 c0 05 0d 09 04 a1 01 85 03 06 01 ff 09 20 a1 02 05 0d 09 56 75 10 81 02 05 09 19 01 29 04 95 04 75 01 81 02 81 03 06 01 ff 75 10 09 65 81 02 c0 c0 06 01 ff 09 02 a1 01 75 08 09 30 85 04 95 01 81 02 85 05 95 07 81 02 85 0e 95 c9 81 02 85 0f 95 97 81 02 85 1f 95 fd 81 02 85 2f 95 fb 91 02 c0
INPUT(1)[INPUT]
Field(0)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
Digitizers.0056
Report Size(16)
Report Count(1)
Report Offset(0)
Flags( Variable Absolute )
Field(1)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
Digitizers.ContactCount
Report Size(5)
Report Count(1)
Report Offset(16)
Flags( Variable Absolute )
Field(2)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
ff01.0040
Report Size(1)
Report Count(1)
Report Offset(21)
Flags( Variable Absolute )
Field(3)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
ff01.0041
Report Size(3)
Report Count(1)
Report Offset(24)
Flags( Variable Absolute )
Field(4)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
ff01.0042
Report Size(2)
Report Count(1)
Report Offset(30)
Flags( Variable Absolute )
Field(5)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
ff01.0060
Report Size(3)
Report Count(1)
Report Offset(32)
Flags( Variable Absolute )
Field(6)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
Digitizers.ContactID
Report Size(5)
Report Count(1)
Report Offset(40)
Flags( Variable Absolute )
Field(7)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
ff01.0061
Report Size(2)
Report Count(1)
Report Offset(45)
Flags( Variable Absolute )
Field(8)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
Digitizers.TipSwitch
Report Size(1)
Report Count(1)
Report Offset(47)
Flags( Variable Absolute )
Field(9)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
GenericDesktop.X
Report Size(16)
Report Count(1)
Report Offset(48)
Flags( Variable Absolute )
Field(10)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
GenericDesktop.Y
Report Size(16)
Report Count(1)
Report Offset(64)
Flags( Variable Absolute )
Field(11)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
Digitizers.TipPressure
Report Size(8)
Report Count(1)
Report Offset(80)
Flags( Variable Absolute )
Field(12)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
ff01.0062
Report Size(8)
Report Count(1)
Report Offset(88)
Flags( Variable Absolute )
Field(13)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
ff01.0063
Report Size(8)
Report Count(1)
Report Offset(96)
Flags( Variable Absolute )
Field(14)
Logical(Digitizers.Finger)
Application(Digitizers.TouchScreen)
Usage(1)
ff01.0064
Report Size(8)
Report Count(1)
Report Offset(104)
Flags( Variable Absolute )
INPUT(3)[INPUT]
Field(0)
Logical(ff01.0020)
Application(Digitizers.TouchScreen)
Usage(1)
Digitizers.0056
Report Size(16)
Report Count(1)
Report Offset(0)
Flags( Variable Absolute )
Field(1)
Logical(ff01.0020)
Application(Digitizers.TouchScreen)
Usage(4)
Button.0001
Button.0002
Button.0003
Button.0004
Report Size(1)
Report Count(4)
Report Offset(16)
Flags( Variable Absolute )
Field(2)
Logical(ff01.0020)
Application(Digitizers.TouchScreen)
Usage(4)
ff01.0065
ff01.0065
ff01.0065
ff01.0065
Report Size(16)
Report Count(4)
Report Offset(24)
Flags( Variable Absolute )
INPUT(4)[INPUT]
Field(0)
Application(ff01.0002)
Usage(1)
ff01.0030
Report Size(8)
Report Count(1)
Report Offset(0)
Flags( Variable Absolute )
INPUT(5)[INPUT]
INPUT(14)[INPUT]
INPUT(15)[INPUT]
INPUT(31)[INPUT]
OUTPUT(47)[OUTPUT]
Digitizers.0056 ---> Absolute.Misc
Digitizers.ContactCount ---> Sync.Report
ff01.0040 ---> Sync.Report
ff01.0041 ---> Sync.Report
ff01.0042 ---> Sync.Report
ff01.0060 ---> Sync.Report
Digitizers.ContactID ---> Sync.Report
ff01.0061 ---> Sync.Report
Digitizers.TipSwitch ---> Key.Touch
GenericDesktop.X ---> Absolute.X
GenericDesktop.Y ---> Absolute.Y
Digitizers.TipPressure ---> Absolute.Pressure
ff01.0062 ---> Sync.Report
ff01.0063 ---> Sync.Report
ff01.0064 ---> Sync.Report
Digitizers.0056 ---> Sync.Report
Button.0001 ---> Key.Btn0
Button.0002 ---> Key.Btn1
Button.0003 ---> Key.Btn2
Button.0004 ---> Key.Btn3
ff01.0065 ---> Sync.Report
ff01.0065 ---> Sync.Report
ff01.0065 ---> Sync.Report
ff01.0065 ---> Sync.Report
ff01.0030 ---> Sync.Report
pinenote:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment