<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EquinoxeFR &#187; em28xx &raquo; EquinoxeFR</title>
	<atom:link href="http://www.equinoxefr.org/post/tag/em28xx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.equinoxefr.org</link>
	<description>DIY Lab</description>
	<lastBuildDate>Sun, 05 Feb 2012 21:33:11 +0000</lastBuildDate>
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Dazzle DVC 100 sous Ubuntu 8.04</title>
		<link>http://www.equinoxefr.org/post/2008/09/05/dazzle-dvc-100-sous-ubuntu-804/</link>
		<comments>http://www.equinoxefr.org/post/2008/09/05/dazzle-dvc-100-sous-ubuntu-804/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 19:06:21 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[8.04]]></category>
		<category><![CDATA[Dazzle]]></category>
		<category><![CDATA[dvb-t]]></category>
		<category><![CDATA[DVC100]]></category>
		<category><![CDATA[em28xx]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=294</guid>
		<description><![CDATA[Si comme moi vous souhaitez utiliser une périphérique de capture video Dazzle DVC 100, il faut un tout petit peu d&#8217;huile de coude, le module em28xx présent avec ubuntu hardy ne reconnaissant pas ce matériel. Après insertion de la prise usb, la commande lsusb nous donne le type de périphérique: [code] Bus 005 Device 003: &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2008/09/05/dazzle-dvc-100-sous-ubuntu-804/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Si comme moi vous souhaitez utiliser une périphérique de capture video Dazzle DVC 100, il faut un tout petit peu d&#8217;huile de coude, le module <em>em28xx</em> présent avec ubuntu hardy ne reconnaissant pas ce matériel.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2008/09/post-114-1203085096.jpg" rel="lightbox[294]"><img class="alignnone size-medium wp-image-296" title="DVC100" src="http://www.equinoxefr.org/wp-content/uploads/2008/09/post-114-1203085096-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Après insertion de la prise usb, la commande <em>lsusb</em> nous donne le type de périphérique:</p>
<p>[code]</p>
<p>Bus 005 Device 003: ID 2304:021a Pinnacle Systems, Inc. [hex]</p>
<p>[/code]</p>
<p>Par défaut, seule l&#8217;acquisition audio est prise en compte, la vidéo elle, n&#8217;est pas gérée.</p>
<p>Après quelques recherches sur notre ami Google, il s&#8217;avère que ce matériel est géré par le projet <em>v4l-dvb</em> dans ses dernières versions.</p>
<p>Dans une console, installons les outils nécessaires à la compilation du module.</p>
<p>[code]</p>
<p>sudo apt-get install mercurial build-essential</p>
<p>[/code]</p>
<p>ensuite, nous sommes prêts pour récupérer les sources du module à l&#8217;aide de <em>mercurial</em>.</p>
<p>[code]</p>
<p>mkdir ~/src</p>
<p>cd ~/src</p>
<p>hg clone http://linuxtv.org/hg/v4l-dvb</p>
<p>cd v4l-dvb</p>
<p>[/code]</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2008/09/capture.png" rel="lightbox[294]"><img class="alignnone size-full wp-image-309" title="Hg" src="http://www.equinoxefr.org/wp-content/uploads/2008/09/capture.png" alt="" width="500" height="128" /></a></p>
<p>Nous voilà prêts pour la compilation.Le <em>-j2</em> passé en paramètre au <em>make</em> permet d&#8217;utiliser les multicoeurs (2) des processeurs récents. Si vous avez un mono processeur classique, un simple <em>make</em> suffit.</p>
<p>[code]</p>
<p>make -j2</p>
<p>....</p>
<p>CC      /home/pierre/src/v4l-dvb/v4l/zr36060.mod.o<br />
LD [M]  /home/pierre/src/v4l-dvb/v4l/zr36060.ko<br />
CC      /home/pierre/src/v4l-dvb/v4l/zr36067.mod.o<br />
LD [M]  /home/pierre/src/v4l-dvb/v4l/zr36067.ko<br />
CC      /home/pierre/src/v4l-dvb/v4l/zr364xx.mod.o<br />
LD [M]  /home/pierre/src/v4l-dvb/v4l/zr364xx.ko<br />
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'<br />
./scripts/rmmod.pl check<br />
found 261 modules<br />
make[1]: quittant le répertoire « /home/pierre/src/v4l-dvb/v4l »<br />
[/code]</p>
<p>Tout a l&#8217;air OK, lançons maintenant l&#8217;installation des modules pour le noyau courant.</p>
<p>[code]</p>
<p>pierre@vbox:~/src/v4l-dvb$ sudo make install<br />
make -C /home/pierre/src/v4l-dvb/v4l install<br />
make[1]: entrant dans le répertoire « /home/pierre/src/v4l-dvb/v4l »<br />
Stripping debug info from files<br />
-e<br />
Removing obsolete files from /lib/modules/2.6.24-19-generic/kernel/drivers/media/video:</p>
<p>-e<br />
Removing obsolete files from /lib/modules/2.6.24-19-generic/kernel/drivers/media/dvb/frontends:</p>
<p>Installing kernel modules under /lib/modules/2.6.24-19-generic/kernel/drivers/media/:<br />
dvb/dvb-usb/: dvb-usb-dtv5100.ko dvb-usb-opera.ko dvb-usb-cxusb.ko<br />
dvb-usb-vp7045.ko dvb-usb-af9005-remote.ko dvb-usb-ttusb2.ko<br />
....</p>
<p>....<br />
video/em28xx/: em28xx-dvb.ko em28xx.ko<br />
video/pvrusb2/: pvrusb2.ko<br />
radio/: dsbr100.ko radio-maestro.ko radio-zoltrix.ko<br />
radio-terratec.ko radio-aimslab.ko radio-maxiradio.ko<br />
radio-gemtek.ko radio-trust.ko radio-sf16fmr2.ko<br />
radio-typhoon.ko radio-cadet.ko radio-aztech.ko<br />
radio-si470x.ko radio-sf16fmi.ko radio-rtrack2.ko<br />
radio-gemtek-pci.ko<br />
video/uvc/: uvcvideo.ko<br />
dvb/ttusb-budget/: dvb-ttusb-budget.ko<br />
video/pwc/: pwc.ko<br />
video/zc0301/: zc0301.ko<br />
video/ovcamchip/: ovcamchip.ko<br />
video/au0828/: au0828.ko<br />
/sbin/depmod -a 2.6.24-19-generic<br />
make[1]: quittant le répertoire « /home/pierre/src/v4l-dvb/v4l »<br />
pierre@vbox:~/src/v4l-dvb$</p>
<p>[/code]</p>
<p>Maintenant, à l&#8217;insertion du boitier Dazzle, dmesg est beaucoup plus compatissant <img src='http://www.equinoxefr.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>[code]</p>
<p>[ 5747.848507] em28xx new video device (2304:021a): interface 0, class 255<br />
[ 5747.848515] em28xx Has usb audio class<br />
[ 5747.848517] em28xx #0: Alternate settings: 8<br />
[ 5747.848519] em28xx #0: Alternate setting 0, max size= 0<br />
[ 5747.848521] em28xx #0: Alternate setting 1, max size= 1024<br />
[ 5747.848524] em28xx #0: Alternate setting 2, max size= 1448<br />
[ 5747.848526] em28xx #0: Alternate setting 3, max size= 2048<br />
[ 5747.848528] em28xx #0: Alternate setting 4, max size= 2304<br />
[ 5747.848531] em28xx #0: Alternate setting 5, max size= 2580<br />
[ 5747.848533] em28xx #0: Alternate setting 6, max size= 2892<br />
[ 5747.848535] em28xx #0: Alternate setting 7, max size= 3072<br />
[ 5747.848727] em28xx #0: em28xx chip ID = 18<br />
[ 5748.434840] saa7115' 0-0025: saa7113 found (1f7113d0e100000) @ 0x4a (em28xx #0)<br />
[ 5749.203790] em28xx #0: i2c eeprom 00: 1a eb 67 95 04 23 1a 02 12 00 11 03 98 10 6a 2e<br />
[ 5749.203803] em28xx #0: i2c eeprom 10: 00 00 06 57 4e 00 00 00 60 00 00 00 02 00 00 00<br />
[ 5749.203821] em28xx #0: i2c eeprom 20: 02 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00<br />
[ 5749.203847] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 10 01 00 00 00 00 00 00<br />
[ 5749.203857] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br />
[ 5749.203873] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br />
[ 5749.203899] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 2e 03 50 00 69 00<br />
[ 5749.203924] em28xx #0: i2c eeprom 70: 6e 00 6e 00 61 00 63 00 6c 00 65 00 20 00 53 00<br />
[ 5749.203948] em28xx #0: i2c eeprom 80: 79 00 73 00 74 00 65 00 6d 00 73 00 20 00 47 00<br />
[ 5749.203974] em28xx #0: i2c eeprom 90: 6d 00 62 00 48 00 00 00 10 03 44 00 56 00 43 00<br />
[ 5749.204000] em28xx #0: i2c eeprom a0: 31 00 30 00 30 00 00 00 32 00 30 00 33 00 35 00<br />
[ 5749.204025] em28xx #0: i2c eeprom b0: 36 00 30 00 37 00 35 00 31 00 33 00 34 00 31 00<br />
[ 5749.204051] em28xx #0: i2c eeprom c0: 30 00 32 00 30 00 30 00 30 00 31 00 00 00 32 00<br />
[ 5749.204075] em28xx #0: i2c eeprom d0: 33 00 31 00 32 00 33 00 00 00 00 00 00 00 00 00<br />
[ 5749.204100] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br />
[ 5749.204123] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 0a 07 d4 04 31 62 5d 0e<br />
[ 5749.204150] EEPROM ID= 0x9567eb1a, hash = 0x72aaae84<br />
[ 5749.204153] Vendor/Product ID= 2304:021a<br />
[ 5749.204156] AC97 audio (5 sample rates)<br />
[ 5749.204160] 300mA max power<br />
[ 5749.204163] Table at 0x06, strings=0x1098, 0x2e6a, 0x0000<br />
[ 5749.788387] em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0<br />
[ 5749.788396] em28xx #0: Found Pinnacle Dazzle DVC 90/DVC 100<br />
[ 5749.788468] em28xx audio device (2304:021a): interface 1, class 1<br />
[/code]</p>
<p>Voilà, c&#8217;est terminé, vous pouvez maintenant choisir n&#8217;importe quelle application supportant les périphérique <em>v4l</em>. Pensez par contre a refaire un <em>make &amp;&amp; make install</em> à chaque mise à jour de votre noyau.</p>
<p>P.S, pour faire ce tuto, j&#8217;en ai profité pour faire les tests sur une ubuntu installée sur <em>virtualbox 2</em>, bien pratique pour être sur d&#8217;avoir une Ubuntu toute propre.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2008/09/05/dazzle-dvc-100-sous-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

