Saturday, December 19, 2015

Greddy EMU linux and Windows 64bit part 4 final post

So after much fun with Ubuntu and Wine, and Windows 10 64bit and drivers, I'm tapping out.  Below are some screen shots of using various open source software and sites to decompile machine code to source code of some EMU files and its way too much of a huge task a newb like myself to find where in the tens of thousands of lines of code where the driver package is, and how to put the new package in.




Fun times for a newb like me haha.  Looks like to get 64bit support for various OS's from Greddy, we need them to step up themselves vs. some techie wanna-be's to try and figure it out.  I imagine Wendell from Tek Syndicate could make quick work of this but its a pretty low priority challenge for gurus of such IMO.

Friday, December 4, 2015

How to make a Linux live boot USB

If you want to run a Linux build live before committing to installing it, the Universal USB Installer (UUI) program on pendrivelinux's site is a great tool- check it out- download and simply follow the site's instructions- site HERE

Greddy EMU software in Wine Part 3- Windows 10

After confiring with buddy far more knowledgeable than I, Windows 10 became very suspect, so off to google and found this gem in a Silicon Labs forum here.

From the website:
Here is the Windows 10 driver.  Please note that this driver contains the default VID/PID for our devices, only, and is not yet supported with our driver customization tools. If you're using your own VID/PID, then you will have to modify the .inf file directly to include these values, however please be aware that if you make any changes to the drivers .inf file, the digital signature will be invalidated.

Also some advice about turning off driver signature enforcement:
Hit WindowsKey-X and select "Command Prompt (Admin)"

In the nice DOS box that pops up type:

bcdedit /set testsigning on
 Greddy's VID is USB\VID_0D89&PID_0301

Silicon Lab's VID list was pretty large, one example was USB\VID_10C4&PID_EA70&Mi_00

After much messing around, still no positive results- I think what is needed to be done is find a way to modify the EMU software to not point for it's driver it installed, but to redirect that to the Silicon Labs driver.

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?

Sunday, October 18, 2015

Root > and Tap and Pay - Android Pay

So a google engineer has helped bring some light to the great many android posts starting up all over the place about tap and pay not working with rooted phones- don't count on it working in the near future.

xda-developers- google security engineer