Arduino: Serial port xxx already in use.

I hade old Arduino working well on my MacBook, but since I got my iMac with Lion, I did not play around with Arduino, until now.

Installed Arduino 1.0 on my Lion (10.7.2) and each time I tried to upload the sketch I got the error : “Serial port ‘/dev/cu.usbserial-A600K1J1′ already in use.”.

The complete error message is following;

Binary sketch size: 1026 bytes (of a 32256 byte maximum)
processing.app.SerialException: Serial port '/dev/cu.usbserial-A600K1J1' already in use. Try quiting any programs that may be using it.
at processing.app.Serial.<init>(Serial.java:144)
at processing.app.Serial.<init>(Serial.java:76)
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:75)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:88)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:66)
at processing.app.Sketch.upload(Sketch.java:1664)
at processing.app.Sketch.exportApplet(Sketch.java:1624)
at processing.app.Sketch.exportApplet(Sketch.java:1578)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2314)
at java.lang.Thread.run(Thread.java:680)
processing.app.debug.RunnerException: Serial port '/dev/cu.usbserial-A600K1J1' already in use. Try quiting any programs that may be using it.
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:99)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:88)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:66)
at processing.app.Sketch.upload(Sketch.java:1664)
at processing.app.Sketch.exportApplet(Sketch.java:1624)
at processing.app.Sketch.exportApplet(Sketch.java:1578)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2314)
at java.lang.Thread.run(Thread.java:680)

It seems, for some reason, that the directory “/var/lock” is needed, which does not exists. I created the directory via shell and gave it correct permissions and then I got the sketch uploaded properly.

sebbys-iMac:~ sebby$ sudo mkdir /var/lock
Password:
sebbys-iMac:~ sebby$ sudo chmod 777 /var/lock
sebbys-iMac:~ sebby$

(The password is your user password)

Some other things that can be good to check as well.

Latest FTDI driver, can be found here http://www.ftdichip.com/Drivers/VCP.htm

Java RXTX library, but in my case it seems that it was already the latest. (http://rxtx.qbang.org/wiki/index.php/Main_Page).

-Sebby!

 

Posted in Hardware, Mac | Tagged , , | Leave a comment

MacZeppelin hiatus

There was a small hiatus at MacZeppelin for some time, but we are back now. I even had the domain name lost there for a while, but it seems that it is not that popular so there was no issues to re-register it again.

-Sebby!

Posted in Mac | Leave a comment

Firewall settings with command line

Maybe someday you need to shutdown or activate the firewall in your mac, and only have access to the command line, then these are the commands to be used.

To check the current status :

sudo defaults read /Library/Preferences/com.apple.alf globalstate

The result will print one of these numbers;

0 = de-activated

1 = on for specific services

2 = on for essential services

if you want to shut it down :

sudo defaults read /Library/Preferences/com.apple.alf globalstate -int 0

and to turn on for the specific services :

sudo defaults read /Library/Preferences/com.apple.alf globalstate -int 1

The password requested is your own password, and you have to have administrator access to the mac.

This was tested successfully on 10.6.2 (Snow Leopard).

-Sebby!

Posted in Mac, Utilities | Tagged , , | Leave a comment

Scratchpad

I was looking for some simple scratchpad that I could fill in all copy/paste stuff I find on the web, links and other text, and I found this small app, called Scratchpad.

It is very simple, and you can divide every “scratch” into different pages, everything is saved automatically or manual at your wish. Possible also to export as backups for safe keeping.

Features

  • Supports rich text so you can customize your fonts and colors anyway you like
  • Support for images and pictures
  • Lightweight – has everything you need without the bulk
  • Multiple pages so you can organize your notes however you would like to
  • Automatic saving
  • Written in Cocoa to take advantage of Apple’s native API

It is free, and can be found here : http://scratchpad.alexseifert.com/

-Sebby!

Posted in Mac, Software | Tagged , , | Leave a comment

AppZapper 2.0

I wrote last year a post about the current Mac uninstaller apps, and in that post I did also mention the AppZapper which at that time was version 1.8 (see the post here).

Problem with the version 1.8 was that it had some annoying bugs which did not really make the app usable, however, they have now pulled their act together and released version 2.0 (actually 2.0.1). It has the same basic functions as the 1.8, but they have also thrown in a couple of new ones.

Example;

- Hit List

“Hit List is a brand new feature that allows you to visually browse all of the apps on your computer. Search, scroll, and filter your way through every app you have installed. Simply select an app to see its related files, and hit ‘Zap!’ to move them to the trash instantly.”

- MyApps

“We love how AppZapper takes care of all the apps you don’t want. But what about the keepers? My Apps is a beautiful, new way of storing license and registration information for applications you’ve purchased, right inside AppZapper.”

For those who have the license for version 1.8, this upgrade will be free, for others it still have the very affordable price of 12,95 USD.

It seems that AppZapper is back, and I hope they stay, because it is very usable software at the moment.

The link : http://appzapper.com/

-Sebby!

Posted in Mac | Tagged , | Leave a comment

Review: Nokia 5800 touch screen phone

REVIEW
NOKIA 5800 XpressMusic (around 300 euros as of october 2009)

Nokia 5800

I have a long history of owning Nokia phones. Ever since the legendary Nokia 2110i I have always owned a phone by Nokia. Perhaps not because they were better than others, because they always aren’t (though back then they were), but mainly because I’ve gotten used to the UI that seems to follow the same main rules throughout the years.

UNBOXING
My latest phone (since about one week back) is the Nokia 5800 XpressMusic touch screen phone.
The package included one built-in writing stylus, one writing plectrum (shaped like a guitar plectrum, although I wouldn’t use it to play guitar), a pair of in-ear headphones, a hands free adapter with a normal 3,5mm headphone output, a (short) USB cable, one pre-installed 8GB MicroSD card and of course a battery charger.

TOUCHY FEELY
The phone itself fits rather nicely in the hand. The front is wider than the back, so the unit feels smaller than its 3,2″ (640×360) screen would suggest. The weight, 108 grams, is very well what you would expect from a phone of that size. It doesn’t feel overly light nor exceedingly heavy.
My thumb reaches over the entire screen while holding the phone in one hand. This makes one-handed use easier.

The screen is clear and sharp, though of course a bit hard to see in bright sunlight. Almost all menu screens adapt to the phone’s orientation depending of how you hold the phone. Built in sensors recognize the orientation the phone is held in and turns the screen accordingly.
Smudgy fingerprints don’t seem to affect the image quality too much.

Input method is per software keyboard (touch screen). There are three different choices: Numeric keys (phone keys), a smaller qwerty (when the phone is held upright and a bigger qwerty when the phone is held at landscape orientation. The bigger qwerty is my preferred method since I have rather clumsy bass player fingers and I also have some sort of disorder that makes my hands a bit fumbly sometimes. Writing on the bigger full screen qwerty goes pretty swiftly and is a BIG improvement over my previous Nokia 5500 phone.

One other thing I’ve noticed is the software includes nothing that makes left handed use more difficult than right handed use. I myself write and draw with my left hand (but I do almost everything else right handed).
Some machines and gadgets are clearly designed for right handed people and some of their functions feel very backward for a lefty person. Nothing of that sort here.

PERFORMANCE
The 5800 seems to be working as expected. No big surprises there. I have even experimentally transferred a few DVDs (with video compression) onto the phone. It accepts MPEG4 movies, which are considerably smaller in size than the less compressed DVDs. Video quality is fair, given the very small picture size. My home TV is WAY bigger than the 5800′s tiny screen, so I might be a bit spoilt in this sense.

The movie screen is 16:9. A movie of wider format may be viewed in letterbox or zoomed fullscreen with sides cropped. Likewise, 4:3 movies may be viewed in pillarbox format or zoomed and cropped at top&bottom. Due to the puny size of the screen, movies are better watched in zoomed mode (although I dislike any kind of cropping of movies).

Audio output is either by headphones (there’s a standard 3,5mm jack on the top of the unit) or by built-in stereo speakers. Frequency response of the speakers is of course pretty limited, but they are plenty loud and surprisingly clear with not too much audible distortion.

CONNECTIVITY
Since I recently switched over to Mac (from being a 15+ years Windows man), I was a bit worried about how I would connect my phone to my Mac. In fact, I was so worried, I even considered the iPhone for a while, but dropped it because it requires iTunes, a program I loathe even more than I loathe the dreaded Nokia PC Suite.

PC Suite is a bloating piece of turd that I absolutely HATE. Slow and awful. But it’s for PCs only. That’s why I was happy to consider a Nokia phone now that I’ve got a Mac. I wouldn’t have to use the stinking PC Suite anymore. But I still had to connect the phone to my Mac somehow. How?

The answer came even closer than expected. It works directly under my Mac, via Bluetooth or USB (as a USB mass storage device). And by downloading a small plugin for iSync, it even syncs it’s calendar and contacts with Mac’s iCal and Address Book over Bluetooth. With only one click. No bulky and crappy programs needed for that.

Nokia has released a Mac app called something like Multimedia Transfer. It should make transferring music and videos to the phone easier. I tried it a couple of times but decided to drop it into the bin. It wasn’t that nice at all. Instead, I use HandBrake to transcode videos and the phone’s USB mass storage mode to copy them onto the phone.

The phone also has built-in WiFi for internet connections, as well as 3G/UMTS packet data. It can be configured to prefer WiFi over packet data to save traffic costs whenever possible.

All in all I’m even better off now that there aren’t any Nokia programs I have to install. They are all big pieces of sh*t and I’m very glad my Mac handles my phone so well without the need for third party (Nokia) software.
Only thing I still need my PC laptop and PC Suite for is to make backups of the phone’s settings and applications. Let’s hope there will be a Mac app for that too sometime. And then NOT by Nokia, but rather by some third party manufacturer. Nokia should stay away from making computer software. They’re good at phones, but they suck balls at computer software.

The phone’s Internet connection and large screen allows for some browsing of lighter pages, such as Wikipedia (a VERY useful source of information). Heavier pages with lots of media and frames are better left alone. Sites with dedicated versions for mobile devices are still preferred because of the limited resolution of the phone’s screen. Larger pages can be scrolled around by just sliding with the finger, but that gets tiresome in the long run.

GPS
The phone has a built in a-GPS receiver and Nokia Maps navigation. The GPS is my favorite thing about this phone. Nokia Maps has preloaded maps, so you won’t have to load new maps every time you move to another location. You can of course use Google Maps as well, but thos require continuous (and expensive) GPRS packet data traffic for downloading.

Time for first GPS fix when starting the receiver is sometimes very long, but using the a-GPS function enables the phone to connect via the GSM network and to get assistance in positioning. This makes satellite fix faster.

LOOKY LOOKY
I learned how to take screenshots just a couple of days ago. So here we go:

1. Home Screen (the “desktop”).
I’ve downloaded some nice themes I like to use and personalised them by making my own wallpapers. The one on the left is pretty obvious to some of you readers; this phone is, because of its internet capabilities, an enormous information bank (and those are rather big friendly letters, aren’t they?). The one on the right is my daughter holding a glowing toy ball.

2. The first menu screen with two different themes.
The first menu screen is what appears when you push the HW menu button while on your home screen (desktop). You can also choose to view the menus in list view or icon view. Icon view depicted here. The menu folders can be moved around and even dropped into other folders (for instance, I could move the ‘Games’ folder into ‘Media’ if I wanted).
The star beside the Applications folder icon means there is a running application inside that folder (this would be the screenshot application I had running at the time).

CONCLUSION
All in all, I feel the phone does the trick for me. I’ve had trouble with the phone not alerting for incoming messages at one time (the messages just appeared into the inbox, but no alert was heard or seen), but that went away with a reboot. Also, the messaging application (for all messages; SMS or email) sometimes seems to lose connection to the memory card and switches to internal memory instead. I don’t know what the casue to this is. Maybe a bug or the card itself. The card seems to work OK though, so perhaps it’s just a bug (with hopefully a fix coming soon).

The touch screen is mostly very good. Finger response could be a bit more sensitive. Sometimes I’ll have to press harder than I’m used to with other touch screens. There is no setting for this, so again we hope for a fix in coming firmware versions. Stylus response leaves nothing more to wish for. That one works well. The touch screen is a much better input method than my old 5500 phone’s crappy keypad.

All applications should be installed on card memory whenever possible. The internal memory is very limited and many installations clog it up pretty fast. Also on the wishlist is better memory handling in future firmwares. Perhaps a virtual memory function to extend the working memory onto the SD card.
I don’t have the phone with many apps running all the time. This is to save memory and battery time.

I haven’t yet had enough experience as of battery time. I’ve been playing around, loading and watching videos so much that it drains the battery in one day. But I would assume it normally lasts for three days or so. That’s average for a phone like this. My former Nokia 5500 lasted for 5 days, but it’s screen is very tiny compared to the 5800. That’s a huge power hog. Also you should remember to keep Bluetooth and WiFi switched off when not in use. WiFi is usually automatically off when not browsing on the internet, but Bluetooth is always on unless you manually switch it off. Hence the Bluetooth button on my front screen; I can quickly switch it on and off.

Finally, the phone is very well worth its 300 euros. It functions nicely and does excactly what it’s supposed to do. Period.

USEFUL APPS
Useful freeware applications for Nokia phones on the S60v5 platform:
-Scratchpad or Xpressnote (apps for making handwritten notes)
-Screensnap (for making screenshots)
-Slick (internet messaging)
-Opera Mini (web browser)
-Converter by Offscreen (convert between lots of different measurements)
-The Musician’s Swiss Knife (metronome/tone generator/BPM counter)
-Chords (displays guitar chords)
-XpressDrums (sequencer for making simple drum patterns)
-Nokia Photo Browser (beautiful browsing of your images)

MORE ON THE WEB
Nokia 5800 on Wikipedia:
http://en.wikipedia.org/wiki/Nokia_5800_XpressMusic

Please feel free to comment, give more links or ask questions and I will update this review accordingly.

-Micci-

Supplement 28-11-2009:

The phone had some problems with the (currently latest) v31 firmware. Sometimes I could not hear the person I was speaking to. They could hear me though, and usually after hanging up and redialling the voice could be heard normally.

Sent the phone in for servicing and they downgraded the firmware to v21. Now it functions as it should do, but I lost some of the improved performance and functionality of v31. There are rumours of an upcoming v4x with some new goodies, so I’ll just have to wait and see.

Supplement 13-01-2010:

Okie dokie. The rumours were correct. Today a FW v40.0.005 was released and I immediately updated my phone. New features include kinetic scrolling of lists and list style menus (flick your finger once and the list keeps on scrolling for a while). There’s also an improved home screen with contacts carousel (also kinetically scrolling) and numerous other small improvements and fixes. It is also slightly more memory efficient.

The new FW finally makes the 5800 unified with Nokia’s other touch screen models, which all sport similar UI:s. 5800 was the only exception, with an older design UI (until now, that is).

Nokia took their time developing this, and I think the bulk of the time was spent correcting bugs. The new UI is simply lifted off their other models, so that couldn’t have taken this long. There were a few annoying bugs in v31 that followed through all versions of 3x. I think they wanted to make sure it wouldn’t happen again.

I will try out this new FW and report back if I find anything worth mentioning.

Bye for now.

Supplement 21-01-2010:

Allrighty then. One week of intensive testing behind and I can tell v40 WORKS. For instance, the GPS positioning infact locks on in a matter of seconds, instead of in a matter of minutes in the previous FW. Battery life has improved as well.

To top it all off, Nokia announced they will now offer Ovi Maps navigation for free. Previously, only positioning and searching on maps has been free, but now even voice guided car and pedestrian navigation is free. I tried it out and it is infact so good, I think I will retire my Mio Moov I have installed in my car. Even the guidance voice is more pleasant than in my Mio.

Nokia’s routes seem better than the ones Mio calculates. I’ve had some serious problems with that. Mio has had me drive on forest tractor paths when there has been a highway available. Even if I had “Unpaved roads” set to “Avoid”. Jesus. One trip from Turku to Skuru took me one extra hour because of this.

Thank you Nokia for free Navigation.

Posted in Graphics, Hardware, Mac, On the road, Uncategorized | Leave a comment

Uninstall Mac apps…

Updated, info about AppCleaner (4-OCT-09)

The normal way to “uninstall” a Mac application is to move the application to the trashcan, sure there are some exceptions to specific software that include so call uninstallers, but this does not concern them. Anyway, when you move the application to the trash can it will be removed from the application directory, but, there are some files that are left on the system, mostly the plist file (property list file), and then the application itself can have some support files in other directories. This will not cause any harm, only disk space, and if you install the same application again it will regain the same settings.

To my knowledge there are at least two “uninstall” utilities for Mac at current time (there are probably more but I just haven’t found them).

- AppZapper (12,95 USD), nice utility, have been using it for some time, however in the Mac OS X 10.5 (Leopard) I noted a weird bug that sometimes it could not list the software list, not so good. I have mailed the author in May 2008, and still waiting reply. I guess there is no active development on this anymore. Removal does work if the application is moved to AppZapper’s “trash can”.

Note regarding AppZapper, no new versions has been released for ages for this, so at this moment I would not recommend anyone to buy this software.

- AppTrap (Free), this is new for me, and it seems to work well, it is little bit different than AppZapper as it is not an application itself, it will pop up when an application is moved to trash can and ask if the related files should be removed as well. This approach is working very well.

New information regarding AppTrap, the original developer does not maintain this anymore, and it has moved to another website (http://onnati.net/apptrap/). I don’t know how active the project is anymore.

- AppCleaner (Free), works in very same method as AppZapper, only difference that I have not noted any bugs and this one is free. It supports to remove applications, widgets and pref panels. This would be my choice of software in this category at the moment.

Links

- AppZapper : http://www.appzapper.com/

- AppTrap (old) : http://konstochvanligasaker.se/apptrap/
- AppTrap (new) : http://onnati.net/apptrap/

- AppCleaner : http://www.freemacsoft.net/AppCleaner/

-Sebby!

Posted in Mac, Utilities | Tagged , , , , | Leave a comment

iStat Menus 2.0

Hi,

Now iStat Menus 2.0 is available, and yes, it is Snow Leopard compatible. New improved version and still free. What are you waiting for, surf to http://www.islayer.com/apps/istatmenus/ and download it.

The developers at iSlayer did a great job.

-Sebby!

Posted in Mac, Software, Utilities | Tagged , , | Leave a comment

Snow Leopard installed, check

Now both my Mac Mini (Late 2006) and my MacBook (Late 2007) upgraded to Snow Leopard, without any issues. On my MacBook I have file vault activated, but it did not cause any problems, and I did not need to decrypt it either before the upgrade.

Noted, that some preference panels seems to be 32-bit still, these are : DivX, Flip4Mac WMV, Foxmarks for Safari, Growl, MacFuse, MySQL and Perian.

iStat I did uninstall before the upgrade as it was known not to be Snow Leopard compatible.

So far so good, I let you know if I stumble on something.

-Sebby!

Posted in Mac, Software | Tagged , , , | Leave a comment

Snow Leopard is coming, are you ready?

Howdy,

I guess not everybody is rushing to the store to get the Mac OSX 10.6 (Snow Leopard) upgrade, but for those who do, you might want to check out this list http://snowleopard.wikidot.com/ as it contains a list of software that are and are not so compatible with Snow Leopard.

Snow Leopard does lot of changes which is not visible to the user, but might affect lot of 3rd party softwares, so it can be good to checkout the list.

And if you don’t find you favorite application in the list, it might be good to visit the developer, as lot of them have some specific Snow Leopard information, and some might have beta versions of their product if it’s not 100% compatible at the moment.

This I noted with EyeTV which kindly have a beta version for Snow Leopard…

The site : http://snowleopard.wikidot.com/

-Sebby!

Posted in Mac | Tagged , | Leave a comment