Archive for the ‘General’ Category

Arduino IDE on 64bit openSUSE

Monday, April 21st, 2008

Arduino BoardArduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It’s an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board.

Unfortunately the serial port communication driver (RXTX) which comes with the arduino download is not 64 bit compatible. I will describe here how I successfully compiled & installed the driver to get the Arduino IDE running on a 64 bit openSUSE installation. Most of the instructions should be pretty straight forward to be replicated on an other rpm based distribution. For ubuntu/debain based distributions, you can find the instructions provided by Tero Karvinen useful.

Packages Required for Arduino IDE

The following packages are required to run the Arduino IDE:

  • java-1_5_0-sun
  • cross-avr-gcc
  • cross-avr-binutils
  • avr-libc

Linux USB Serial Converter Driver

Besides the above software, you will also need a compatible kernel. This means version 2.6.x or at least 2.4.30. For example, it needs USB serial support with the FTDI driver. After connecting an Arduino board to your computer via an AB USB cable, it should load the ftdi modules automatically. Ensure ftdi_sio and usbserial modules are loaded by executing:

lsmod | grep ftdi

It should return output similar to whats shown below:

ftdi_sio               54280  0
usbserial              52688  1 ftdi_sio
usbcore               156456  6 ftdi_sio,usbserial,usbhid,ohci_hcd,ehci_hcd

If not, as root, run:

modprobe ftdi_sio

If there are no errors from the above command, then the module is loaded successfully.

System Requirements

The Arduino IDE is java based and RXTX [2] is a native java library providing serial and parallel communication for the Java Development Toolkit. The RXTX lib uses lock files by default. So Before you use lock files you need to do one of two things:

  1. Be the root or uucp user on your machine whenever you use rxtx
  2. Or add the specific user that needs to use rxtx to the group uucp. (preferred)

Add your user account to the uucp group by going to yast2 > Security and Users > User Management. Once you have added yourself to the group, you will need to restart your session to make it affective. Once you are in the new session, verify that your account belongs to the uucp group by executing “groups” on the shell. It should give return you a list of groups your account belongs to.

(more…)

Two Twenty20 tickets for sale

Monday, January 7th, 2008

Cricket gone badI have had enough of the game of cricket, specially involving the Australian cricket team. First it was the racial accusations made by the Australian cricket team while they were touring the sub-continent.

I have seen the so called “racial monkey taunts” made by the the crowds at Vadodra and Wankhede stadium in India. In my opinion it was meant to be a humorous joke just making a comparison to how Andrew Symonds stands out amongst his own team mates. I mean look at him when he has the white sun screen protection on his lips and his fluffy hair to go with it. He looks more like a clown than a Monkey. And if you call me a racist after this comment I made, then go to hell.

Akhil Tandulwadikar’s comment on Andrew Symonds hair would explain what this “monkey chants” are all about.

Therefore, it has led me to conclude that the only possible rational explanation to these monkey chants lies somewhere else. Something that the media–in Australia and India–has totally missed in its hurry to earn some TRP

And then we have Australia chasing a record 16 test win in a row at the SCG this year. It is definately the worst game of cricket I have seen. The way the Australian team appealed for Dravid’s wicket in the second innings was just embarrassing. You can’t call any Australian player a gentleman after this test match. They play the game just to get a record in their name. Cricket is a gentleman’s game. A fine example was when Yuvraj Singh “walked” after he realised he nicked the ball.

At an interview, the Indian Captain was asked if he thought the match had been played in the right spirit, Kumble said, “Only one team was playing in the spirit of the game.” It was reminiscent of Australian captain Bill Woodfull’s words during the Bodyline series. Shame on you Australia.

And finally to prove how bad the game of cricket has become, which included few poor umpiring decisions and a some embarrassing cricket played by the Australian team. This is how they won the second test match:

Ruled in favour of Aus:
1. Andrew Symonds caught on 30
2. Ponting caught on 15
3. Andrew Symonds stumped on 48
4. Andrew Symonds lbw on 103
5. Andres Symonds stumped on 140 (not even reffered to third umpire).
6. Hussey plumb lbw on the back foot in the second innings.
7. Hussey caught down the leg side by the keeper.
8. This could have gone either way… Kumble’s hatrick ball to Symonds.
9. Dravid caught a padded shot by the keepoer and appealed for wicket (most
embarassing appeal)
10) Gangully caught by Clarke, clearly on the half volley and the umpire asked
Ponting if he caught it. Why woudn’t Ponting say “yes” to that?

Ruled in favor of India
1. Ricky ponting inside edge given lbw on 55.
2. This could have gone either way… Sachin LBW when on 48.

This is not cricket. Oh by the way, I am an Indian born Australian citizen. I am not making any biased comments because I am Indian. In fact I loved how the Australians played their cricket, until what I saw unfolding at the SCG.

Now for those who came looking for the twenty20 ticket I am offering, shoot me an email at tickets@fernandez.net.au and if you are lucky, you can enjoy some more embarrassing cricket played by the Australian team at the MCG. they have been sold.

And here is what some others have to say:

Man I loves this list of Top Sledges

New Seven Wonders

Saturday, June 23rd, 2007

As of today(23/06/2007 – by the time this entry is published) exactly 14 days are left to announce the “New Seven Wonders” of the world, out of the 21 final contestants. The campaign of Swiss non-profit organization New7Wonders began in 2000 and the announcement will be made on July 7, 2007 – appropriately 07.07.07 – in Lisbon, Portugal. The event will be broadcast around the world.

Vote for the greatest symbol of Love & Passion

The Taj Mahal
The Taj Mahal is still strongly in the reckoning but needs all the votes it can get to make it to the final list of seven. New7Wonders describes Shah Jahan’s architectural paean to his beloved as the greatest symbol of love and passion.

So What Are You Waiting For? Vote for The Taj Mahal

(more…)