Copied raw1394 from zchen24/tutorial