jump to navigation

Arduino Trials and Tribulations, Part 4 (The Linux Platform) July 15, 2012

Posted by phoenixcomm in Arduino, DIY Aircraft Cockpit, Flight Simulation, Linux, Mint 12, Software.
Tags: , , , , , ,
add a comment

Well now that I am using Linux Mint 12 with a Cinnamon Desktop for my development with Eclipse (Juno) for my C programming environment. I wanted to make my work easier, so first thing I did was to put my lpr icon on my Desktop…  unfortunately there was nothing in the menu tools. So with a little digging, I found a cool solution so from a terminal, you might want to sudo into shell (sh):   gnome-desktop-item-edit ~/Desktop/ –create-new
Which brings up the Create Launcher tool.  Now edit the tool to as shown, press ok, and you get a new icon on your desktop, that looks like a spring. So right click on it and bring up the property dialog and change you icon.  Now you can drag any file from you desktop filer and drop it on you printer and presto it prints!!

Ok now on to more fun… Well I’m going to move my arduino tools to this box now..
First thing when you try to configure your arduino’s serial port my box only gave me /dev/ttyS0 but we need a serial usb port…. so you need to make sure your that you arduino is unpluged, and run lsusb from your terminal, and you get this:
$lsusb
Bus 005 Device 006: ID 413c:2010 Dell Computer Corp. Keyboard
Bus 005 Device 007: ID 413c:3200 Dell Computer Corp. Mouse
now plug in the arduino and run it again.
$lsusb
Bus 005 Device 006: ID 413c:2010 Dell Computer Corp. Keyboard
Bus 005 Device 007: ID 413c:3200 Dell Computer Corp. Mouse
Bus 003 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
$sudo modprobe usbserial vendor=0x403 product=0x6001
now when you go to the arduino console you can now select /dev/ttyUSB0

enjoy
One note: That is only for that jack. If you want to map the other USB jacks just repeat the steps.

Having Network problems with Linux Mint 12 April 16, 2012

Posted by phoenixcomm in DIY Aircraft Cockpit, Ethernet, Flight Simulation, Linux, Mint 12.
1 comment so far

I recently installed a fresh copy of Linux Mint 12 (32bit) on an older motherboard (Asus P4M800pro) with an VT6102 (Rine II) on the motherboard, and a 3Com nic installed in a pci slot.

Here is the gist of what happened:

  • I had a cable plugged into the 3Com nic, and no cable plugged into the Rine II.
  • I tried in vain to configure the Rine II but when you clicked on the jack icon at the top of the screen, the 3Com nic was in black and the Rine II was grayed out.
  • So I went through the Applications/System Settings/Network: I saw both nics. The 3Com showed all the info (address, mac, mask, dns, etc), and a dark configure box.
  • But when I clicked other wired network (Rine II) all it showed me that it was unplugged and the mac address. But it would not let me configure the nic.

After using the system for about a week with out the nic working, I had a bright idea, I would plug in the Rine II into a switch (not going anywhere)

BINGO! That did it and now it let me configure the port..

POSTMORTEM:  I have been a Unix developer, system administrator for over 35 years and for the past 12+ years it had been working on Sun UltraSPARC’s and a few OpenBSD transparent firewalls.  No mater if the cable was plugged in or not, it should have let me configure the nic.

%d bloggers like this: