Workaround for PC/SC driver on Mac OS X

September 3rd, 2009

The pcscd daemon on Mac OS X has a number of known bugs. In particular we encountered the problem described below

(direct quote from http://www.opensc-project.org/sca/wiki/LeopardBugs):

Cards declaring T=0 and T=15 protocols will be configured by pcscd as T=1. This is documented with SetCOS 4.4.1 (ATR: 3B 9F 94 80 1F C3 00 68 11 44 05 01 46 49 53 45 31 C8 07 90 00 19). With some readers (ACR38U), the card simply doesn’t answer to any APDU.

We have created a version of the ccid driver which works around this problem by limiting the number of reported protocols to 1. This forces pcscd to use the first supported protocol declared in the ATR by modifying the file atr.h

BEFORE

#define ATR_MAX_PROTOCOLS 7/* Maximun number of protocols */

AFTER

#define ATR_MAX_PROTOCOLS 1/* Maximun number of protocols */

You can download the patched driver here. Please disconnect any smart card reader before starting the installation procedure

To uninstall the patch open the terminal and enter the following command:

sudo rm -rf /usr/libexec/SmartCardServices/drivers/atrworkaround-ifd-ccid.bundle

Snippets

SQLiteman Mac OS X – useful download

September 2nd, 2009

SQLiteman is a useful tool to mange SQLlite DB. We have compiled a binary version and packaged it into a .app for Mac OS X (64 bit only). We have only tested it on Snow Leopard but it may run also on Leopard.

To use it you first need to download and install a 64 bit version of Qt4 from:

http://get.qt.nokia.com/qt/source/qt-mac-cocoa-opensource-4.5.2.dmg

The precompiled version of SQLiteman 1.2.1 can be dowloaded here

Snippets , ,

Working on iPhone app

July 17th, 2009

We have improved our iPhone applications. We have made a better integration for our mobility application “Roma bus” with more efficency and a new roadmap for future development. We have also fixed a very hard to find bug on our speech processing application for iPhone “Vocoder” and then made it faster and more stable.

Vocoder website

Romabus website

Snippets , , , ,

iPhone Movenda seminary

May 20th, 2009

Movenda is lunching an “open knowledge” training project. We’ll start a seminary on iPhone technology but we’ll soon add more arguments.

For further information please contact labs@movenda.com


The seminary will be held in Rome (Italy)


Snippets

Fixed YUV to RGB conversion, optimized ARM assembler code (iPhone)

February 6th, 2009

New version of optimized ARM code for image conversion (YUV to RGB) now fix some colour problem.

You can download the code here

Snippets

YUV to RGB conversion, optimized ARM assembler code (iPhone)

January 28th, 2009

We have developed an optimized assembler code for image conversion from YUV to RGB. The code is based on the paper “Optimizing YUV-RGB Color Space Conversion Using Intel’s SIMD Technology“  by Etienne Dupuis, but adapted for the ARM processor found in the iPhone.

The average processing time for a 480 X 320 frame is 0.012 s.

Snippets , , , ,

Latest Photoshop MBF plugin for Mac OS X

December 23rd, 2008

Here is the Mac OS X binary for the Photoshop plugin. It conforms to the new specifications and supports reading and writing PVRTC encoded images. It requires the iPhone SDK for writing PVRTC files.

MBF Plugin for Adobe Photoshop CS3/4 (Mac)

Movenda Bitmap Format ,

More work on MBF

December 11th, 2008

We are currently expanding MBF image data format support.

  • RGBA4444
  • RGBA5551
  • RGB565
  • PVRTC2
  • PVRTC4

PVRTC compression is currently achieved using the iPhone SDK tool “texturetool” from within the plugin. PVRTC compressed MBF can be opened in Photoshop even without the iPhone SDK.

Quick note: The QuickTime Component has not yet been updated and we are not sure there is any interest in updating it.

Movenda Bitmap Format

MBF Trac setup

November 28th, 2008

We have setup the Trac site for the MBF project. There you can download the Nightly SVN Tarball of the SVN repository, open tickets and see our roadmap (although we didn’t write one yet).

Trac site for MBF

Movenda Bitmap Format ,

MBF Photoshop Plugin for Mac OS X

November 28th, 2008

The Photoshop plugin for Mac OS X to save and open MBF files is now available. It requires at least Photoshop CS3/Elements 6. On Photoshop CS3 however, blending modes and layer visibility flag is not restored while opening (but is saved correctly). On Photoshop CS4 it Just Works™.

The source code will soon be available. We did not develop a Windows version, but the code should be cross platform so anybody with experience with VC++ and some spare time can help.

Movenda Bitmap Format ,