ApexCtl
ApexCtl copied to clipboard
debian to ubuntu portability
perhaps I was ignant for thinking this would work, but I compiled the apexctl executable in 32bit debian and put it on my 32 bit ubuntu server.
it kinda worked, but the logo and the west region would set only once, then get stuck. They also wouldnt set to the appropriate colours. as in, I set the logo and west to FF0000 and both came out yellow.
Please paste the command line you used to achieve this weird behavior.
Command used to get funky results from binary compiled in debian: $sudo apexctl colors -n FF0000:8 -s FF0000:8 -e FF0000:8 -w FF0000:8 -l FF0000:8
This results in N,S,E regions becoming red. W,L regions become yellow. Also, after this change, The Logo and West regions cannot be changed, untill the keyboard is unplugged. The same command, using the version I compiled in Ubuntu, works just fine.
Links to both binaries, compiled on respective systems: 32bit Debian (jessie): http://nanocluster.umeche.maine.edu/apex/debian8/32b/
32bit Ubuntu 14.04: http://nanocluster.umeche.maine.edu/apex/ubuntu14/32b/
Compared the binaries produced with comp: $ cmp debian8/32b/apexctl ubuntu14/32b/apexctl debian8/32b/apexctl ubuntu14/32b/apexctl differ: byte 25, line 1
If I had to guess I'd say that these binaries depend on different versions of libusb and that's why things get messed up.