Index: /trunk/psModules/src/config/pmConfigCamera.c
===================================================================
--- /trunk/psModules/src/config/pmConfigCamera.c	(revision 15149)
+++ /trunk/psModules/src/config/pmConfigCamera.c	(revision 15150)
@@ -637,4 +637,5 @@
                 psMetadata *contents = psMetadataAlloc(); // List of contents, with chipName:chipType
 
+		// XXX this is using the fpaItem->name not the chipName
                 psMetadataIterator *fpaIter = psMetadataIteratorAlloc(fpa, PS_LIST_HEAD, NULL); // Iteratr
                 psMetadataItem *fpaItem;    // Item from iteration
@@ -683,4 +684,20 @@
                     return false;
                 }
+
+                // replace chip type with _mosaicChip
+                psMetadataIterator *contentIter = psMetadataIteratorAlloc(contents, PS_LIST_HEAD, NULL); // Iterator
+                psMetadataItem *contentItem;    // Item from iteration
+                while ((contentItem = psMetadataGetAndIncrement(contentIter))) {
+                    assert (contentItem->type == PS_DATA_STRING);
+		    char *ptr = strchr (contentItem->data.str, ':');
+		    assert (ptr);
+                    psString content = psStringNCopy (contentItem->data.str, ptr - contentItem->data.str);
+                    psStringAppend(&content, ":_mosaicChip ");
+		    psFree (contentItem->data.str);
+		    contentItem->data.str = content;		    
+                }
+                psFree(contentIter);
+
+		# if (0)
                 while (psListLength(contents->list) > 0) {
                     psMetadataRemoveIndex(contents, PS_LIST_TAIL);
@@ -698,4 +715,5 @@
                 }
                 psFree(fpaIter);
+		# endif
 
                 psMetadata *chips = psMetadataAlloc(); // List of chip types, with cellName:cellType
