Wednesday, August 6, 2014

ERROR: Current execution environment is VCO=aoi. Software tree is for environment VCO=ixl

I updated Calibre into order to try to address a warning, and I ended up making a mess. The new error was:
ERROR: Current execution environment is VCO=aoi. Software tree is for environment VCO=ixl
Deep down in the bowels of Calibre I found an environmental variable that I could set to change behavior. We'll see how it works:
export USE_CALIBRE_VCO=ixl
No errors of doom so far, but that doesn't mean that it will work.

Tuesday, August 5, 2014

virtuoso gives "bindkey uses Alt modifier and will be ignored"

I found that I had to update .cdsenv for my "alt-" macros. I was getting the error of "bindkey uses Alt modifier and will be ignored". I had to add "ui enableMenuShortcuts boolean nil" to my .cdsenv file. My current .cdsenv file follows:
license VLSL_UseNextLicense string "always"

layout          instLibName       string  "cmos14soi"
layout          ySnapSpacing      float   0.001
layout          xSnapSpacing      float   0.001

layoutXL        mfactorNames      string  "m M"
layoutXL lxFingeringNames  string  "fingers finger numFingers numFinger nf"
layoutXL  lxGetSignifDigits int 10

ui      enableMenuShortcuts     boolean nil

Friday, August 1, 2014

VirtualBox Guest additions, echo_success: command not found, consoletype not found, etc.

The VirtualBox guest additions for Debian are advertised as straightforward; however, they are not. The virtualbox.org pages don't really give much information. To make matters worse, the VBoxLinuxAdditions.run file requires script support that is native to RedHat, which gives errors such as: echo_success: command not found.

Here's the how-to for Debian, line by line:
apt-get install build-essential module-assistant
m-a prepare
Now you need to install two files from RedHat from my links below:
/etc/init.d/functions
/sbin/consoletype

Now when you run ./VBoxLinuxAdditions.run after you mount the CDROM, all works well.

Thursday, July 31, 2014

Pocketpico Drivers

Awhile ago I designed an ammeter that I used for research. The PocketPico became a product of pocketpico.com. The device used a very good logarithmic regulator instead of a resistor ladder to create an ammeter that did not have auto-ranging issues due to relays.

The drivers are here: drivers.zip
The manual is here: pocketpico.manual.pdf

Saturday, June 28, 2014

IC6.1.5 to ICADV12.1

Funniest quirk when I upgrade to ICADV12.1:
*WARNING* clsInit failed: Can't determine host name. Locking is not allowed with host name 'localhost'.
I had to change my hostname and things worked. vi /etc/hostname

Saturday, May 24, 2014

cleaning up cdslck files in Cadence.

I created a script that finds all of the cdslck files and deletes them. Even if they are in SVN.
cleanlck.sh
#!/bin/bash
# This script files all cdslck files that Cadence creates and
# removes them.  This includes safe handling of cdslck files that
# have been committed to SVN.
FILES=$(find . -type f -name *cdslck*)
for f in $FILES
do
 #echo "Processing $f"
 svn info $f 1>/dev/null 2>&1
 if [ $? -eq 1 ];then
  rm -f $f
 else
  svn rm $f
 fi
done

Thursday, May 15, 2014

creating a java jar file under Mac OS

In theory, this is easy. In practice, it is easy if you remember that you need a newline at the BOTTOM of the manifest file. The Manifest.txt just needs a new line, and it all works. It took me a few hours to figure this out. :/
Main-Class: testclass

And you just create the .jar file from your .class files:
jar cfm spicespi.jar Manifest.txt *.class
And then you can run it (or just click it in Mac OS.)
java -jar testclass.jar