I tested different ways but it doesn't work for me...
I have a Pi 2 with a LCD screen (from the member Squallrs, I bought it on another forum) and I have the same "structure" as opt2not :
def SECURITY_SetKeycode(data):
assert len(data) == 8
s.send(struct.pack("<I", 0x7F00000

+ data)
I try to comment out/delete/let the line "s.send(struct.pack("<I", 0x7F00000

+ data)" before adding this one "s.send(struct.pack(">IIIIIIIIH", 0x00000001, 0x1a008104, 0x01000000, 0xf0fffe3f, 0x0000ffff, 0xffffffff, 0xffff0000, 0x00000000, 0x0000))" but nothing happens, the LCD screen doesn't light up, so I can't do anything.
Any idea?
Thx!
PS : for the Pi from Squallrs, no need to have a Zero-key, everything comes from python (that's what the creator said to me)