-
I must write a C# program to activate/deactivate the pad. I downloaded the PCap file from Asus ProArt P16 Issue, and inside I found only one (interesting) SET_REPORT request with 0x01 0x01 data. I write these values on the corresponding In your code, you open a handle to "/dev/i2c-x," representing the I2C bus, and send the codes I also found that necessary to load the i2c-dev with def send_value_to_touchpad_via_i2c(value):
global device_id, device_addr
try:
with SMBus(int(device_id)) as bus:
data = [0x05, 0x00, 0x3d, 0x03, 0x06, 0x00, 0x07, 0x00, 0x0d, 0x14, 0x03, int(value, 16), 0xad]
msg = i2c_msg.write(device_addr, data)
bus.i2c_rdwr(msg)
except Exception as e:
print(f'Error during sending via i2c: \"{e}\"') Where do you find this data to send to the device? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I attach here output file as result of probing the device with the appropriate tool on windows (https://github.com/bentiss/SimplePeripheralBusProbe) @m4ss1m0g Does this answer your question? (mark as answer if yes) |
Beta Was this translation helpful? Give feedback.
I attach here output file as result of probing the device with the appropriate tool on windows (https://github.com/bentiss/SimplePeripheralBusProbe)
ProbeLog.txt
@m4ss1m0g Does this answer your question? (mark as answer if yes)