<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=WinCE%3A_Setting_up_a_USB_Camera</id>
	<title>WinCE: Setting up a USB Camera - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=WinCE%3A_Setting_up_a_USB_Camera"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.compulab.com/w/index.php?title=WinCE:_Setting_up_a_USB_Camera&amp;action=history"/>
	<updated>2026-09-02T09:22:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://mediawiki.compulab.com/w/index.php?title=WinCE:_Setting_up_a_USB_Camera&amp;diff=1178&amp;oldid=prev</id>
		<title>Nadav: Setting up a USB Camera for CM-T3x moved to WinCE: Setting up a USB Camera</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.compulab.com/w/index.php?title=WinCE:_Setting_up_a_USB_Camera&amp;diff=1178&amp;oldid=prev"/>
		<updated>2011-08-30T14:02:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/w/index.php?title=Setting_up_a_USB_Camera_for_CM-T3x&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Setting up a USB Camera for CM-T3x (page does not exist)&quot;&gt;Setting up a USB Camera for CM-T3x&lt;/a&gt; moved to &lt;a href=&quot;/w/index.php?title=WinCE:_Setting_up_a_USB_Camera&quot; title=&quot;WinCE: Setting up a USB Camera&quot;&gt;WinCE: Setting up a USB Camera&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
This document explains how to set up a USB camera for the CM-T3x. This solution is based on a USB camera driver provided by Microsoft. &lt;br /&gt;
The driver was tested using the JDEPC-OV03-B web camera, but it should work for any other USB web camera as well.&lt;br /&gt;
&lt;br /&gt;
== Adding the USB camera driver to the image ==&lt;br /&gt;
# Download the driver from: [http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2ef087c0-a4ae-42cc-abd0-c466787c11f2 USB cam driver]&lt;br /&gt;
# Install the downloaded driver.&lt;br /&gt;
# Edit the file WINCE600\PUBLIC\ThirdParty\Catalog\USBCam\Driver\usbcam.reg .&lt;br /&gt;
# Replace &amp;lt;pre&amp;gt;[$(PCI_BUS_ROOT)\Template\ehci]&amp;lt;/pre&amp;gt; with &amp;lt;pre&amp;gt;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\ehci]&amp;lt;/pre&amp;gt;&lt;br /&gt;
# In platform builder, go to Catalog Items View, select the following components and run &amp;quot;clean sysgen&amp;quot;:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt; SYSGEN_USB&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt;SYSGEN_DSHOW_CAPTURE&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt;SYSGEN_DSHOW_DMO&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt; SYSGEN_DSHOW_VIDREND&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt;SYSGEN_DCOM_STG&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt;SYSGEN_IMAGING&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt;SYSGEN_IMAGING_BMP_DECODE&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt;SYSGEN_IMAGING_BMP_ENCCODE&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt;SYSGEN_IMAGING_JPG_ENCCODE&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt;SYSGEN_IMAGING_JPG_DECODE&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt;SYSGEN_DCOM&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
[[Image:CM_T35_Cam_Flags_DCOM.jpg]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Category:Windows CE|Camera Setup]]&lt;br /&gt;
[[Category:CM-T3530|WinCE: Camera Setup]]&lt;br /&gt;
[[Image:CM_T35_Cam_Flags_DSHOW_1_of_2.jpg]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Image:CM_T35_Cam_Flags_DSHOW_2_of_2.jpg]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Image:CM_T35_Cam_Flags_Imaging.jpg]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Image:CM_T35_Cam_Flags_USB.jpg]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling the camera application ==&lt;br /&gt;
The test application source code is located in WINCE600\PRIVATE\TEST\MULTIMEDIA\DIRECTX\DSHOW\CAMERA\CAMERAAPP. This section explains how to build it.&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt; Select “Open release Directory in Build Window” from the workspace Build Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt; Change your directory to &amp;lt;br/&amp;gt;&lt;br /&gt;
WINCE600\PRIVATE\TEST\MULTIMEDIA\DIRECTX\DSHOW\COMMON\LIBS&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt; Type the command ‘build -c’ and wait for the build to finish.&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt; Change the directory to &amp;lt;br/&amp;gt;&lt;br /&gt;
WINCE600\PRIVATE\TEST\MULTIMEDIA\DIRECTX\DSHOW\CAMERA&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;li/&amp;gt; Type the command ‘build -c’. It will build those directories, but finish of with the ‘kato.lib’ non availability error.&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt; Now Change the directory to &amp;lt;br/&amp;gt;&lt;br /&gt;
WINCE600\PRIVATE\TEST\MULTIMEDIA\DIRECTX\DSHOW\CAMERA\CAMERAAPP\&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt; Type the command ‘build -c’&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;li/&amp;gt; The “CameraDshowApp.exe” application binary is generated in the Release directory of the OSDesign.&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the Camera test app == &lt;br /&gt;
# Copy the previously compiled CameraDshowApp.exe to the target.&lt;br /&gt;
# Make sure the USB cam is plugged into the P17 connector of the SB_T3x.&lt;br /&gt;
# Run CameraDshowApp.exe.&lt;br /&gt;
# &amp;quot;CAM1:&amp;quot; should be selected as the driver. &lt;br /&gt;
## For still pictures only, select the following: &lt;br /&gt;
##: [[Image:CM_T35_Cam_APP_Still_Only_Settings.jpg]]&lt;br /&gt;
## For still pictures and video capture select every item except AudioCapture and Audio encoder.&lt;br /&gt;
##: [[Image:CM_T35_Cam_APP_Video_Capture_Settings.jpg]]&lt;br /&gt;
# Create a folder in which you want your files to be saved, set the filename in the application accordingly, and press &amp;quot;OK&amp;quot;. &amp;lt;br/&amp;gt;&lt;br /&gt;
#: (The default is in /release where your files will be named test0.jpg .. testN.jpg and test0.asf .. testN.asf as you can see marked in a red square and /release still needs to be created by the user)&amp;lt;br/&amp;gt;&lt;br /&gt;
#: [[Image:CM_T35_Cam_APP_Files_Location_Settings.jpg]]&amp;lt;br/&amp;gt;&lt;br /&gt;
# To take a still picture snapshot, press &amp;quot;Still&amp;quot;. &lt;br /&gt;
# For video capture, press &amp;quot;Start Cap&amp;quot; (to stop or pause it press &amp;quot;Stop Cap&amp;quot; or &amp;quot;Pause Cap&amp;quot; for the latter).&lt;br /&gt;
#: (Notice that once you press &amp;quot;Stop Cap&amp;quot; it will take some time to finish processing the data and produce your filename.asf)&lt;br /&gt;
#: [[Image:CM_T35_Cam_APP_Menu.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Modifying the camera resolution ==&lt;br /&gt;
# To modify the resolution, go to WINCE600\PUBLIC\ThirdParty\Catalog\USBCam\Driver\ and edit usbcam.reg.&amp;lt;br/&amp;gt;&lt;br /&gt;
# Modify the following registry values&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Video_Class]&lt;br /&gt;
    &amp;quot;PreferredWidth&amp;quot;=dword:B0;176&lt;br /&gt;
    &amp;quot;PreferredHeight&amp;quot;=dword:90;144&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category:Windows CE|Camera Setup]]&lt;br /&gt;
[[Category:CM-T3530|WinCE: Camera Setup]]&lt;/div&gt;</summary>
		<author><name>Nadav</name></author>
		
	</entry>
</feed>