Maximilian Luz

Results 739 comments of Maximilian Luz

@tmarkov It would be ideal if in the end it would be compatible to the detachment-system driver on the SB2, as I've already written a [basic user-space daemon](https://github.com/qzed/linux-surfacegen5-dtx-daemon/) for this....

@kitakar5525 Have you made any progress? If not I can have a look at this again.

That's alright, I can have a look at this later today if you want me to.

Awesome, I've got some time today, I'll see how far I can get.

@kitakar5525 Okay, I've added a small module that should log all events/records being sent from the SAM device [here](https://github.com/qzed/linux-surface-sam-hid) (just build it with `make` in the module directory, then run...

> Sorry to be late. Nothing to be sorry for! > I cannot see anything regarding detach/attach yet That's what I've feared. I haven't called start or open on the...

Okay, I've added the call to `hid_hw_start` now, any changes?. Now that I think about it, the generic driver probably called that before any of the commands ever got executed.

Yeah okay, looks like we need to configure the device. I'll have another look at the logs and see if I can find anything.

Okay, so this will probably need some trial-and-error... I've annotated your logs based on the hid-over-i2c spec and it looks quite interesting. There are some commands very similar to the...

@kitakar5525 Sorry it took me this long, thanks for your patience! I've pushed a [script](https://github.com/qzed/linux-surface-sam-hid/blob/699719fbe3af2efc80adf2049594f14fa58893c8/scripts/hidraw-scmd.py) to send a SCMD via hidraw. Unfortunately I can't test it so you probably should...