Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any luck using this with Aero 15x? #38

Open
plj5003 opened this issue Oct 31, 2018 · 10 comments
Open

any luck using this with Aero 15x? #38

plj5003 opened this issue Oct 31, 2018 · 10 comments
Labels
enhancement New feature or request no repro Need instructions to reliably reproduce

Comments

@plj5003
Copy link

plj5003 commented Oct 31, 2018

Looking to give CLI based RGB instructions to various components. No idea if it meets the Motherboard or Keyboard criteria as its not listed under ready or core.

@tylerszabo tylerszabo added the enhancement New feature or request label Nov 1, 2018
@tylerszabo
Copy link
Owner

I suspect they may be under the peripherals; this might work after peripheral support is added (#37 )

@tylerszabo
Copy link
Owner

Try v0.9.3

@plj5003
Copy link
Author

plj5003 commented Nov 2, 2018

Thanks for getting back to me, I'll try it tonight!

@plj5003
Copy link
Author

plj5003 commented Nov 4, 2018

getting an error:

Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at GLedApiDotNet.Raw.GLedAPIv1_0_0Impl.dllexp_InitAPI() at GLedApiDotNet.Raw.GLedAPIv1_0_0Impl.InitAPI() at GLedApiDotNet.Raw.GLedAPIv1_0_0Wrapper.Initialize() at GLedApiDotNet.RGBFusionMotherboard..ctor(GLedAPIv1_0_0Wrapper wrapperAPI) at GLedApiDotNet.RGBFusionMotherboard..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at System.Lazy1.CreateValue()
at System.Lazy1.LazyInitValue() at System.Lazy1.get_Value()
at RGBFusionTool.RGBFusionMain.LazyMotherboard.SetAll(LedSetting ledSetting)
at RGBFusionTool.Application.Main(String[] args)`

@plj5003
Copy link
Author

plj5003 commented Nov 4, 2018

ran with admin prompt

@tylerszabo
Copy link
Owner

Ah; right - even if you have only peripherals --list will try to initialize the motherboard and fail if it's not working. I've made a minor change to list peripherals first in 116a61f. It'll still throw (I'm trying to think of how I want to handle the exceptions - I don't want to get too far away from wrapping the API; I definitely need to refactor now).

@plj5003
Copy link
Author

plj5003 commented Nov 6, 2018

Gotcha, it looks like the sdk was kind of half baked to begin with from the research I've done, so the fact you made it this far already makes you a saint lol. I only know my way around data pipelines and python but if there is anyway I can aid your struggle let me know!

@tylerszabo
Copy link
Owner

I've attached a build of just the binaries for 116a61f in case you don't have an easy local build environment. I didn't go to the work of packaging the dependencies in this one; I'm still working on making an easy CI build pipeline.

RGBFusionTool_master_116a61f0b44b55435636eee4a24347caeb726067_22.zip

@plj5003
Copy link
Author

plj5003 commented Nov 13, 2018

Error: System.DllNotFoundException: Unable to load DLL 'GvLedLib.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at GvLedLibDotNet.Raw.GvLedLibv1_0Impl.dllexp_GvLedInitial(Int32& iDeviceCount, Int32[] iDeviceIdArray)
at GvLedLibDotNet.Raw.GvLedLibv1_0Impl.GvLedInitial(Int32& iDeviceCount, Int32[] iDeviceIdArray) in D:\a\1\s\GvLedLibDotNet\Raw\GvLedLibv1_0Impl.cs:line 17
at GvLedLibDotNet.Raw.GvLedLibv1_0Wrapper.Initialize() in D:\a\1\s\GvLedLibDotNet\Raw\GvLedLibv1_0Wrapper.cs:line 42
at GvLedLibDotNet.RGBFusionPeripherals.<.ctor>b__3_0() in D:\a\1\s\GvLedLibDotNet\RGBFusionPeripherals.cs:line 75
at System.Lazy1.CreateValue() at System.Lazy1.LazyInitValue()
at System.Lazy`1.get_Value()
at GvLedLibDotNet.RGBFusionPeripherals.get_Devices() in D:\a\1\s\GvLedLibDotNet\RGBFusionPeripherals.cs:line 84
at RGBFusionTool.Application.Main(String[] args) in D:\a\1\s\RGBFusionTool\Application.cs:line 220
PS C:\Users\plj50\Downloads\RGBFusionTool_master_116a61f0b44b55435636eee4a24347caeb726067_22\RGBFusionTool_master_116a61

@tylerszabo
Copy link
Owner

I didn't include the dependencies in that zip; could you use the dependencies from the previous release?

@tylerszabo tylerszabo added the no repro Need instructions to reliably reproduce label Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no repro Need instructions to reliably reproduce
Projects
None yet
Development

No branches or pull requests

2 participants