Sunday, November 29, 2015

Greddy EMU software in WINE part 2

Part two of trying to get the Greddy EMU to work in Linux

I transferred over to my laptop as the desktop isn't close enough to the work bench's power supply to power up the Greddy EMU for testing.



Installed Oracle VM VirtualBox, and spun up an Ubuntu 14.04 LTS 32Bit system, installed Wine and Greddy EMU software as listed in part 1.

I opened up the EMU to find the USB chip is a Silicon Labs CP2101 (or they list as CP210x).  Going to Silicon Lab's website was almost cause for double joy--- Updated drivers up to Windows 8 64bit AND Linux drivers.  I'm thinking I'm not closer to getting the EMU to work in both Windows and Linux-- oh it can never ever be that easy....

Installed the Windows driver repeatedly in Windows 10 64 bit, but could never get the EMU software to communicate despite trying from various angles.  I'm a linux noob so installing the Linux driver has me lost, I tried to follow the driver's release notes:

Ubuntu:
1. make ( your cp210x driver )
2. cp cp210x.ko to /lib/modules/<kernel-version>/kernel/drivers/usb/
serial
3. insmod /lib/modules/<kernel version>/kernel/drivers/usb/serial/
usbserial.ko
4. insmode cp210x.ko
Of note, already unpacked the driver's zip in a folder I made in the desktop via mkdir token/EMU

Find linux kernel via uname -r command, googled cp and insmod to gain some understanding on what I'm calling upon.

I think I got up to step 4 successfully, but am actually lost at 4, as I try that command in various possible applicable paths with no results.

So ultimate fail, still cannot get any driver/USB connectivity to work on the various OS's. 

Sunday, November 15, 2015

Greddy EMU software in WINE part 1

Greddy makes a great engine management piggyback, the EMU- but they are not fans of updating the software and drivers, so if your using a Windows 64bit system, your out of luck connecting to and tuning the unit- and they never did support Linux.  With Windows XP and the laptops they rode in on going the way of the dinosaurs, I've been keeping a very old laptop alive just to be able to tune my EMU, but I'd like some alternatives so its no longer a single point of failure, and its just a pain to keep this big 14" laptop around for no other reason but a rare tuning need.

A work around I've seen some run is a) some people run the 32 bit version of Windows 7 or b) run a VM of XP.

I do not want to do 'a' or 'b' for the same reason, I do not want to run illegitimate ISOs or pay for a new Win7 or XP licence.  So unto making an option 'c'.

I spun up a VM of Ubuntu 14.04 and loaded up WINE, a program that does a very good job of running Windows programs within Linux.  I had tried this years ago, but it looked like Wine still had a ways to go.

To download a copy of the EMU software, this site has long had a repository- http://revspec.com/Ultimate.htm  I can't tell you how many times I've had to use this site to download the software when in a bind.

From there, you can download the update to 2.20 from Greddy's site.

In Ubuntu, extract the EMU software into a folder of  your choice, and double click on setup.exe and use the WINE option to run-- you'll soon see the familiar Windows installation process.

This wasn't error free, there is ascii that gets jumbled up, and multible error windows from WINE when loading up, but in the end, there it was, the EMU GUI running inside Ubuntu 32bit 14.04.

I'm not out of the woods yet-- I will now have to test actually connecting to an EMU- using drivers meant for a Windows machine...

Is this going to spell the end to my ancient XP machine?