AlienFX-SDK icon indicating copy to clipboard operation
AlienFX-SDK copied to clipboard

Alienware mXX series uses completely different low-level interface.

Open T-Troll opened this issue 4 years ago • 6 comments

Initially, i check you SDK, and found error 87 (Incorrect argument) at the any DeviceIoControl call. I use USBPcap and configure out my m15 (i think m17 as well) uses completely different interface.

First, codes for Reset/Update commands are different. Second, now SetColor is two commands, not one - one for selecting light for change, second is color.

Most pity, i see the right commands in USBPcap log, but then i issue the same in DeviceIoControl, it still provide error 87. Any ideas why?

Another question how to detect this kind of system? I see version=512 in driver attributes, can we use this?

Can you help me to solve this issues, i'm out of ideas?

PS: if we configure it out, i put m15 version here in other branch. PPS: Aurora doesn't work as well, i think for the same reason.

T-Troll avatar Aug 23 '20 03:08 T-Troll

Ok, i create preliminary version for mXX, but you forbid push, even in new branch. Well, i fork this in my repo.

T-Troll avatar Aug 23 '20 06:08 T-Troll

I am sorry I haven't been active here for a long time. Your progress on m Series sounds promising. Are you able to create a PR?

Gurjot95 avatar Aug 23 '20 06:08 Gurjot95

I also need to update Readme as well ever since introduction of per key RGB keyboard in newer aliernware models, it broke the SDK so any new model after A17R4 (need to confirm) doesn't seem to work. There is also apparently new official SDK available by Dell which comes preinstalled in newer systems. I haven't had the opportunity to test that yet.

Gurjot95 avatar Aug 23 '20 06:08 Gurjot95

I can't commit into you repo, so i fork it - check here - https://github.com/T-Troll/AlienFX-SDK/tree/mXX Yes, it's working for my m15 (and should be at other new models as well), but current version need polish and some feature adding (i have no status support) - it's just a demo for now. Most issue i have - i don't configure out well how to detect it's new model ('cause the change interface near-completely, no backward compatibility 100%), and will appreciate you help in there. I can provide any info/pcap's for you upon request.

PS: I think per-key RGB will works as well - they stop using keymask, now it's a special command for select light zone. Unfortunately, i have no device with per-key to check.

T-Troll avatar Aug 23 '20 06:08 T-Troll

About PR.... I think better not merge for now, my branch have no backward compatibility yet, and i modify it from DLL to static lib (more convenient for my project). We can merge after solving backward compatibility and implement new idle-ready chain (they change it too), as well as the rest of functionality (status report, multiply zone set, breath/loop support, full power button support, etc).

T-Troll avatar Aug 23 '20 07:08 T-Troll

See https://github.com/Gurjot95/AlienFX-SDK/pull/5 Seems like 13R2 have some issues with you lib or something wrong with the mask - i'll check.

Seems like Reset command, in fact, is Ready To Send, and should be issued before any other after any update. Now i add it into Update function, as a bit dirty hack. Normal operation chain is Reset->(other commands)->Update.

T-Troll avatar Aug 24 '20 06:08 T-Troll