-
Notifications
You must be signed in to change notification settings - Fork 5
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
Question: the color bits #1
Comments
Hi Yes you do ! Happy to hear that someone FINALLY hacked my code ;) !! Sent from outer space
|
Haha. Thanks a lot, man! |
Just for your information : |
I tried creating a kernel-space driver for alienfx, but it's too much of a hassle, when there's libusb and pyalienfx available. The true linux way to do it is to use some library and a kernel driver, I guess, but I'm good enough with libusb right now. |
You can find the source here : https://github.com/Xqua/pyAlienFX/blob/master/pyAlienFX_daemon.py Otherwise for the Kernel, I know it's the way to go ! And it should actually not be THAT hard because most of it I have done already ! And not even all of it ! |
Hey, thanks a lot for the references, @Xqua! Do you have xmpp by any chance or do you hang out on #irc somewhere? It seems that the fox has a lot to say Ü |
One thing, If you do get a Kernel Driver then anyone can write an interface to it ! Finnally, Alienware does make great product ! I'm so sad they discontinued the 11" line ! ... I usualy hangs on Freenode, as for XMPP I do use it from time to time but on private server for non NSA recorded conversations ^^ |
Could you please add me on jabber, I'm fltrz@uberspace.net? (so could OTR from NSA together sometime) I'm going to try to port that piece of code in python to C and finish my ambient keyboard terminal patch. Thanks for the help! |
I figured this out... 8 bit... so I have to divide 255 by 32, (not 16, like I used to do before); then I get the right color. I'm finishing the code right now. Thank you very much for your help, man! |
Indeed :D Man I'm sorry I'm working on my resarch project so hard recently ! I'll add you on jabber as soon as I have time to even do that ! But congrats ! :D On 05/06/2014 14:03, dotdotdot wrote:
|
thanks! |
No pb ! Keep me updated and use the Fork tool and pull request ! That way we can incorporate everything together ^^ |
exciting! |
btw, here's my baby: http://vimeo.com/97468635 |
Yeah Man ! That's super cool :) (Even if it's kind of a geeky thing that I'm not sure I would use everyday ! It would make my head hurt ^^) Sent from outer space
|
So far I only made other people's heads hurt by bragging about this thing. Not sure about frying the controller... I guess it can really be damaged if I would flash the settings to it each time I switched, but I never save any programs or colors, I just switch the color of one LED module. Even if I hold (Alt+A) and make it cycle all the themes my terminal got, it still does it synchronous with the keyboard color and so far been working great. |
Ahaha yeah you deserve to brag a bit ;) As for the controler I'm saying that because I've played a lot with mine and know it sometime does weird stuff xD (blink, get dark, etc) randomly. Anyway as Alienware does not provide any tech spec we are left with reverse engineering ! (I sent them 10 emails XD) Do you have a Kernel Driver working ? |
Yes, I can confirm that I saw my keyboard going dark, it happened once or twice so far... but it would get the proper color again once I switch the theme. The one I have is a modified stub of a driver from some USB toy (blinking mail notifier or something like that). So far the data people gathered reverse-engineering AlienFX is quite rich, not to mention your project. The code I had was barely working, and it had a file for keyboard spawned in /sys. I could echo a value to it and it would switch the color to that value. |
If you want, we could make a repo and contribute to it together... starting from that stub, over the next 10-20 years, we should get something working. We'll need a kernel driver, library and some sort of a Qt front-end to utilize that library to control the device. The hardest part is to design all the hooks and the API both driver <-> library and the public library functions. |
Well for the capabilities I've reverse engineered all those build in Command Center (I sniffed so many USB packets .... and went through all the bytes xD) So much of what you want to do is already there ! Another thing that I meant to do was a PPA on launchpad ... but seriously XD I've spent so much time on this when I meant to build the foundation for others to build upon ^^ So congrats on getting a Sys call driver already ^^ Now if you want to learn the hooks dive into my python code ! It has most of thems ! If you need help diving into my code I'll try to answer asap ! |
Tanks, man. |
Hey man, I'm watching the repo, but I just want to know, why QT5 GUI? On 13/06/2014 13:17, ... wrote:
|
Hey there! Qt is something I can accomplish by myself, or with little help. |
Ok, then ! If you get a driver that works for most Alienware machines then I'll Moreover, it is under CC-By-NC-SA so ... as long as you release your On 17/06/2014 08:38, ... wrote:
|
Sure, sounds good, man, thanks a lot! |
the colors are r g b alpha. so red is FF 00 00 FF green 00 FF 00 FF blue 00 On Tue, Jun 17, 2014 at 9:57 PM, ... notifications@github.com wrote:
|
i dont rly remember either its been a long time. On Tue, Jul 8, 2014 at 1:46 AM, Light Hash lighthash@gmail.com wrote:
|
Thanks! I should probably convert my color to the grayscale equivalent and apply it to the 4th value |
Hello.
I had a small question about color bits. They don't seem to represent exact 8-bit RGB scheme in my case. I'm working with libusb-1.0, M11Xr3. My patch to the terminal changes the color of the keyboard to match the color of the active window.
However colors like 5c5 do not match the HTML hex equivalent of e.g, #55cc55 on my AlienFX. I was wondering if you had to perform any kind of tricks to convert the colors for the usb commands.
Thanks!
The text was updated successfully, but these errors were encountered: