rizupz / pyalienfx

Automatically exported from code.google.com/p/pyalienfx
GNU General Public License v3.0
0 stars 0 forks source link

Support for Alienware M18X-R2 #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

I'm running linux mint mate (13 / 14 RC) on an alienware M18X R2, and tried to 
install pyalienfx from the tar gz.  

The install went ok, but the run script kicks me out right away and says 

./pyAlienFX.py 
Initializing Driver  ...
No AlienFX USB controler found ! Go see the list of supported computer on : 
https://code.google.com/p/pyalienfx/wiki/SupportedComputer

I've installed libsub-1.0.0 already--
 sudo apt-get install libusb-1.0-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libusb-1.0-0 is already the newest version.

My hope here was to see if I could at least get some of the lights working on 
the keyboard, and maybe some of the other functionality.

Any chance of adding support for the M18X-R2?

Original issue reported on code.google.com by HoffmanD...@gmail.com on 17 Nov 2012 at 3:01

GoogleCodeExporter commented 8 years ago
Yes there was someone working on it recently ... I'll check asap !

Original comment by ledjfou125 on 17 Nov 2012 at 3:08

GoogleCodeExporter commented 8 years ago
Yes so I haven't added it yet because of the Macro Keys which doesn't work but 
I'll release a 1.0.2 now that contains partial implementation ... Everythings 
works except the Macrokeys !

Original comment by ledjfou125 on 17 Nov 2012 at 3:12

GoogleCodeExporter commented 8 years ago
Done !

Original comment by ledjfou125 on 17 Nov 2012 at 3:19

GoogleCodeExporter commented 8 years ago
Thanks so much:
Making progress, I ran the installer (install.sh) and then I did this:

mint@mint ~/Downloads/pyalienfx $ sudo ./pyAlienFX.py

I received the following error, is it possible that I'm doing something 
incorrect? 
Traceback (most recent call last):
  File "./pyAlienFX.py", line 24, in <module>
    from AlienFX.AlienFXEngine import *
  File "/home/mint/Downloads/pyalienfx/AlienFX/AlienFXEngine.py", line 31, in <module>
    from AlienFX.AlienFXComputers import AllComputers
  File "/home/mint/Downloads/pyalienfx/AlienFX/AlienFXComputers.py", line 603
    "M18XR2"    : AlienFXComputer("M18XR2", 0x187c,0x0518,M18XR2()),
             ^
SyntaxError: invalid syntax
mint@mint ~/Downloads/pyalienfx $

Original comment by HoffmanD...@gmail.com on 17 Nov 2012 at 5:44

GoogleCodeExporter commented 8 years ago
This last error is due to a bug added in the last commit. One of the curly 
brackets is misplaced.

Original comment by chretie...@gmail.com on 18 Nov 2012 at 12:24

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry about that ! Stupid codding mistake done by going to fast ! 
Corrected redownload the 1.0.2 !!

Original comment by ledjfou125 on 18 Nov 2012 at 3:28

GoogleCodeExporter commented 8 years ago
Ok, I re-downloaded the 1.0.2 version.

I was able to change most of the colors on the keyboard, Media Bar, Speakers, 
Alienware logo and "sometimes" the powerbutton / eyes.  Not sure why only 
sometimes that worked.

Thanks a lot.  This is a tremendous help from where I was before (with 
apparently fixed state colors, and no functionality in linux).

There are some other questions / features / potential issues that I see, should 
I file a new bug for these? 
- Alien Power Button Head only accepts new color occasionally

- Media Bar Buttons don't work (I don't know if they are supposed to work with 
this software or not, I actually, put a bug in git hub on linux mint hoping 
that someone could fix this).  For example.  I push a button, and it doesn't do 
anything. 

- Rendering of the color components seems to go across the screen borders (over 
flow problem).  So , to change all of the colors, I had to drag the UI left, 
and then right, and then left again.

Again, I could be doing things wrong - It could be user error here.

Thanks for your help 

Original comment by HoffmanD...@gmail.com on 18 Nov 2012 at 1:46

GoogleCodeExporter commented 8 years ago
Good I'm happy to get a second feedback on the m18X !

For the Power Head, first you have to click SAVE because the preview button 
will make it buggy ... (I am gonna be 100% honnest, I reverse engeenired 
entirely the protocol and I am doind 100% the same thing as the command center 
BUT the power button is still a bit buggy ... weiiirrdd) 

for the media bar button this not for pyAlienFX ! This software is supposed to 
work for the lights not buttons or Macrokeys ect ! If you or anyone want to do 
such thing please go ahead ;) (I don't have any such buttons on my M11Xr3)

finally for the last part it is doable ... I assumed that the resolution should 
be enought for all alienware ... how much of it is outside the screen ? 
Moreover that is "corrected" by the advanced mode ... 
It would require some coding ... I'll think about it for further versions ;) 
thanks for the advise !

Thanks for your advises and if you find any other bugs or want to try to work 
out the macro keys your more than welcome ! I don't have a M18x myself so it's 
hard to do so ! If I had one it would be sooo much easier 

Original comment by ledjfou125 on 18 Nov 2012 at 9:36