The BTTV Mini-HOWTO Eric Sandeeneric
sandeen (at) bigfoot.com
v0.3, February 2000 ÀÌ ½Â·Ä
ychi1129 (at) kldp.org
0.3.1 2002-01-21 ÀÌ ½Â·Ä ÃÖÃÊ ¹ø¿ª 0.3.2 2002-02-05 ÀÌ ½Â·Ä ¸µÅ© ¹ö±× ¼öÁ¤ ÀÌ ¹®¼­´Â ¸®´ª½º¿¡¼­ bt8x8 Ĩ¼Â ±â¹ÝÀÇ ÇÁ·¹ÀÓ Ä¸ÃÄ Ä«µå³ª TVÆ©³Ê¸¦ »ç¿ëÇϴµ¥ ÇÊ¿äÇÑ Çϵå¿þ¾î, ¼ÒÇÁÆ®¿þ¾î¿Í ±× ÀýÂ÷¸¦ ¼³¸íÇÑ´Ù.
¼Ò°³ ºñµð¿À ÀÔ·ÂÀ» ĸÃÄÇÏ°í º¸¿©ÁÖ´Â ±â´ÉÀº ¸®´ª½ºÀÇ Á»´õ Èï¹ÌÀÖ´Â ¸ÖƼ¹Ìµð¾î ±â´ÉÁß¿¡ Çϳª´Ù. Conexant»çÀÇ bt848°ú bt878 Ĩ¼Â ±â¹ÝÀÇ ¼­·Î´Ù¸¥ TVÆ©³Ê Ä«µåµéÀ» Æ÷ÇÔÇؼ­ ¸¹Àº ´Ù¸¥ ŸÀÔÀÇ ºñµð¿À ĸÃÄ µð¹ÙÀ̽º°¡ video4linux API (http://roadrunner.swansea.uk.linux.org/v4l.shtml) ¿¡ ÀÇÇØ Áö¿øµÈ´Ù. ÀÌ ¹®¼­´Â ¸®´ª½º¿¡¼­ ÀÌ·¯ÇÑ Ä«µåµéÀ» »ç¿ëÇÏ´Â ¹æ¹ýÀ» ¼³¸íÇÑ´Ù. ÀÌ ¹®¼­ÀÇ ÀúÀÛ±Ç This HOWTO is copyrighted 1999 Eric Sandeen. Unless otherwise stated, Linux HOWTO documents are copyrighted by their respective authors. Linux HOWTO documents may be reproduced and distributed in whole or in part, in any medium physical or electronic, as long as this copyright notice is retained on all copies. Commercial redistribution is allowed and encouraged; however, the author would like to be notified of any such distributions. All translations, derivative works, or aggregate works incorporating any Linux HOWTO documents must be covered under this copyright notice. That is, you may not produce a derivative work from a HOWTO and impose additional restrictions on its distribution. Exceptions to these rules may be granted under certain conditions; please contact the Linux HOWTO co-ordinator at the address given below. In short, we wish to promote dissemination of this information through as many channels as possible. However, we do wish to retain copyright on the HOWTO documents, and would like to be notified of any plans to redistribute the HOWTOs. If you have questions, please contact Tim Bynum, the Linux HOWTO co-ordinator, at linux-howto@metalab.unc.edu via email. ÀÌ ¹®¼­¸¦ ±¸ÇÒ ¼ö ÀÖ´Â °÷ ÀÌ ¹®¼­ÀÇ Á»´õ ÃÖ½ÅÀÇ °ø½Ä ¹öÀüÀº ¸®´ª½º ¹®¼­ ÇÁ·ÎÁ§Æ® Linux Documentation Project http://metalab.unc.edu/LDP/¿¡¼­ ±¸ÇÒ ¼ö ÀÖ´Ù. °¨»çÀÇ ¸» ÃʱâÀÇ ¿À¸®Áö³Î bttv µå¶óÀ̹ö¸¦ ÀÛ¼ºÇÑ Ralph Metzler¿Í Marcus Metzler¿¡ °¨»çÇÑ´Ù. ¶ÇÇÑ, Video4Linux API¸¦ ¸¸µç Alan Cox, ¶óµð¿À Ä«µå, ÀÌÈÄÀÇ bttv ¸±¸®Áî¿Í xawtv ÇÁ·Î±×·¥ÀÇ ÀÛ¾÷À» ÇÑ Gerd Knorr¿¡°Ô °¨»çÇÑ´Ù. ±×¸®°í, ¸®´ª½º¿¡¼­ ÀÌ·¯ÇÑ Ä«µåµéÀÇ Áö¿øÀ» À§ÇØ Èû¾´ ´Ù¸¥ ¸ðµç À̵鿡°Ôµµ °¨»çÇÑ´Ù. William Burrow¿¡°Ô °¨»çÇÑ´Ù. ±×µµ ¶ÇÇÑ BTTV Howto¸¦ ½è´Ù.(³ª´Â ÀÌ ¹®¼­¸¦ ¾´ ÈÄ¿¡ ¾Ë¾Ò´Ù) ³»°¡ ÀÌ ¹®¼­¸¦ ¹ßÀü ½ÃÅ°´Âµ¥ ±×ÀÇ ÀÛ¾÷¿¡ °¨»çÇÑ´Ù. ÀÌ HOWTO¸¦ ¾²´Âµ¥ bttv¿Í xawtv ¹®¼­¸¦ ¸¹ÀÌ Âü°íÇß´Ù. Ã¥ÀÓÀÇ ÇÑ°è Use the information in this document at your own risk. I disavow any potential liability for the contents of this document. Use of the concepts, examples, and/or other content of this document is entirely at your own risk. All copyrights are owned by their owners, unless specifically noted otherwise. Use of a term in this document should not be regarded as affecting the validity of any trademark or service mark. Naming of particular products or brands should not be seen as endorsements. You are strongly recommended to take a backup of your system before major installation and backups at regular intervals. Çϵå¿þ¾î ¿ä±¸»çÇ× bttvÀÇ README¿¡¼­: Bttv´Â Conexant»ç (http://www.conexant.com)ÀÇ Bt848 °è¿­ÀÇ ºñµð¿À µðÄÚ´õ ĨÀ» »ç¿ëÇÏ´Â ÇÁ·¹ÀÓ Ä¸ÃÄ Ä«µå¸¦ À§ÇÑ µð¹ÙÀ̽º µå¶óÀ̹ö´Ù. ÀÌ·¯ÇÑ Ä¨µé·Î´Â Bt848, Bt848A, Bt849, Bt878 °ú Bt879°¡ ÀÖ´Ù. ¼­·Î ´Ù¸¥ Á¦Á¶»çÀÇ Ä«µåµé »çÀÌÀÇ Áß¿äÇÑ Â÷ÀÌ´Â Æ©³ÊÀÇ Å¸ÀÔ°ú º¸µå¿¡ ÀÖ´Â ´Ù¸¥ ±¸¼º¿ä¼Òµé »ÓÀÌ´Ù. ¿¹¸¦µé¾î, Hauppauge»çÀÇ ¸î¸î Ä«µå´Â ºÎ°¡ÀûÀÎ ºñµð¿À ÅؽºÆ® µðÄÚ´õ¿Í/¶Ç´Â »ç¿îµå µðÄÚ´õ ĨÀ» °¡Áö°í ÀÖ´Ù. ÀÌ·¯ÇÑ ºÎ°¡ÀûÀÎ ±¸¼º¿ä¼Òµé Áß ÀϺδ bttv¿¡ ÀÇÇؼ­¸¸ Áö¿øµÈ´Ù. ¶ÇÇÑ, ÀÔ·ÂÀÇ ÇüÅÂ(º¹ÇÕ or S-Video)¿Í ±× ¼ö¿¡¼­ Â÷ÀÌ°¡ ÀÖÀ» ¼ö ÀÖ´Ù. ¾Æ·¡ÀÇ Ä«µåµé¿¡¼­ ÀÛµ¿ÇÑ´Ù: AverMedia TV98 http://www.aver.com/products.html AVerMedia TV-Phone http://www.aver.com/lite/products/avertvphone.html Diamond DTV2000 http://www.diamondmm.com/products/current/dtv-2000.cfm Hauppauge Win/TV pci (and other Hauppauge cards) http://www.hauppauge.com/ IDS Imaging FALCON http://www.ids-imaging.de/ Lifeview Flyvideo II http://www.lifeview.de/lifeview/html/produkte.htm#karte Matrix Vision MV-Delta http://www.matrix-vision.de/ miroVIDEO PCTV http://www.pinnaclesys.com/ Osprey-100 http://www.mmac.com/products/osprey/osprey100.html STB TV PCI http://www.stb.com/products/multimedia/tvpci/tvpci.html Terratec TERRA TV+ http://www.terratec.de/produkte/terratv/terratv_info.htm Videologic Captivator PCI http://www.videologic.com/Productinfo/capt_pci.htm ¿©·¯ºÐÀÌ ÀÛµ¿ÇÏ´Â ¶Ç´Ù¸¥ Ä«µå¸¦ ¾Ë°í ÀÖ´Ù¸é, ³ª¿¡°Ô ¸ÞÀÏÀ» º¸³»´Þ¶ó. ±×·¯¸é ³»°¡ ÀÌ ¹®¼­ÀÇ ´ÙÀ½ ¹öÀü¿¡ ±× Ä«µå¸¦ Ãß°¡ÇÒ °ÍÀÌ´Ù. ¼ÒÇÁÆ®¿þ¾î ¿ä±¸»çÇ× ¸®´ª½º¿¡¼­ TVÆ©³Ê Ä«µå¸¦ »ç¿ëÇÏ·Á¸é, ±×¿¡ ¸Â´Â Ä¿³Î µå¶óÀ̹ö°¡ ÇÊ¿äÇÒ °ÍÀÌ´Ù. bttv µå¶óÀ̹ö´Â Ä¿³Î ¹öÀü 2.2.0 ÀÌÈÄ·Î Ä¿³ÎÀÇ ÇÑ ºÎºÐÀ¸·Î ¹èÆ÷µÈ´Ù. ¾Æ´Ï¸é, µå¶óÀ̹ö ÆÐÅ°ÁöÀÇ ÃֽŠ¹öÀüÀ» ±¸Çؼ­ 2.0.35 ÀÌÈÄ ¹öÀüÀÇ Ä¿³Î°ú ÇÔ²² »ç¿ëÇÒ ¼öµµ ÀÖ´Ù. ±×·¯³ª, 2.0.x ¹öÀü´ëÀÇ ¿À·¡µÈ Ä¿³Î¿¡¼­µµ ÀÛµ¿µÈ´Ù´Â º¸ÁõÀº ÇÏÁö ¸øÇÑ´Ù. ¾÷µ¥ÀÌÆ®µÈ bttv ÆÐÅ°Áö´Â http://www.thp.uni-koeln.de/~rjkm/linux/bttv.html¿¡¼­ ±¸ÇÒ ¼ö ÀÖ°í, Á»´õ ¾÷µ¥ÀÌÆ®µÈ ¹öÀüÀº Gerd KnorrÀÇ http://www.in-berlin.de/User/kraxel/xawtv.html¿¡¼­ ±¸ÇÒ ¼ö ÀÖ´Ù. ÀÌ·¯ÇÑ ÆÐÅ°ÁöµéÀº TEA6300, TDA8425¿Í DPL3518À» Æ÷ÇÔÇÏ¿© ´õ ¸¹Àº ¿Àµð¿À ĨµéÀ» Ãß°¡·Î Áö¿øÇÑ´Ù. ¿©·¯ºÐÀÌ bttv µå¶óÀ̹öÀÇ ¼¼°è¿¡ óÀ½ µé¾î¼±´Ù¸é, ÃֽŠĿ³Î¿¡ Æ÷ÇÔµÈ ¹öÀüÀ¸·Î ½ÃÀÛÇÏ±æ ±ÇÇÑ´Ù. ±×°ÍÀ¸·Î ¹®Á¦°¡ »ý±â°Å³ª ¿©·¯ºÐÀÇ Ä«µå°¡ Áö¿øµÇÁö ¾Ê´Â´Ù¸é, À§¿¡ ¸µÅ©ÇÑ À§Ä¡¿¡¼­ ¾÷µ¥ÀÌÆ®µÈ 0.6 ¹öÀü´ëÀÇ µå¶óÀ̹ö¸¦ »ç¿ëÇÏ´Â ¸ðÇèÀ» Çغ¸¶ó. ¿©·¯ºÐÀÌ Á¤¸»·Î ¸ðÇèÀ» ÁÁ¾ÆÇÑ´Ù¸é, 2.4 ¹öÀüÀÇ Ä¿³Î¿¡ Æ÷Ç﵃ ¿¹Á¤ÀÎ Gerd KnorrÀÇ 0.7 ¹öÀü´ë µå¶óÀ̹ö¸¦ »ç¿ëÇØ º¸¶ó. 0.7 ¹öÀü´ë µå¶óÀ̹ö´Â http://www.in-berlin.de/User/kraxel/xawtv.html¿¡¼­µµ ±¸ÇÒ ¼ö ÀÖ´Ù. ÀÌ ¹®¼­´Â ´ëºÎºÐ 2.2.14 Ä¿³Î µå¶óÀ̹ö¿¡ ±âÃÊÇÏ°í ÀÖÀ¸¸ç, ¾÷µ¥ÀÌÆ®µÈ 0.6 ¹öÀü´ë µå¶óÀ̹ö ÆÐÅ°Áö¿¡¼­ °¡´ÉÇÑ ±â´Éµé¿¡ ´ëÇؼ­µµ ¾à°£ÀÇ ¾ð±ÞÀ» ÇÑ´Ù. ÀÌ ±ÛÀ» ¾²´Â µ¿¾È 0.7 ¹öÀü´ëÀÇ µå¶óÀ̹ö´Â ÇÑâ °³¹ß´Ü°è¿¡ Àֱ⠶§¹®¿¡ Áö±ÝÀº ´Ù·çÁö ¾Ê´Â´Ù. ½Ã½ºÅÛ ¼³Á¤ Çϵå¿þ¾î ¼³Ä¡ (ÀÌ ¼½¼Ç¿¡ ´ëÇØ William Burrow¿¡°Ô °¨»çµå¸°´Ù.) ¿©·¯ºÐÀÌ ÄÄÇ»ÅÍ ÄÉÀ̽º¸¦ ¿©´Â°Í¿¡ ÀÚ½ÅÀÌ ¾ø´Ù¸é, ¸ÕÀú ÀÌ HOWTO ¹®¼­ Àüü¸¦ È®½ÇÈ÷ Àаí Ä«µåÀÇ Æ©³Ê ŸÀÔ, ÁýÀûȸ·Î ¹øÈ£, °ËÆıâ ÁÖÆļö¿Í °°Àº Ä«µå¿¡ ´ëÇÑ ³ëÆ®¸¦ ¸¸µé¾î¶ó. ±×¸®°í ³ª¼­, ¿©·¯ºÐÀ» À§ÇØ Ä«µå¸¦ ¼³Ä¡ÇØ ÁÙ À¯´ÉÇÑ »ç¶÷À» ±¸Ç϶ó. ±×·¸Áö ¾ÊÀ¸¸é, ÄÉÀ̽º¸¦ ¿­°í ºñ¾îÀÖ´Â ½½·Ô¿¡ Ä«µå¸¦ ¼³Ä¡Ç϶ó. ¿©·¯ºÐÀÇ ¸ÞÀκ¸µå°¡ PCI¹ö½º Àü¼Û°ú PCI¹ö½º ¸¶½ºÅ͸µ¿¡ ´ëÇØ(¸ÞÀκ¸µå ¸Þ´º¾óÀ» º¸¶ó) ±î´Ù·Ó´Ù¸é, ±×·¯ÇÑ ±â´ÉÀÌ Áö¿øµÇ´Â ½½·ÔÀ» Çϳª ½ÅÁßÈ÷ ¼±ÅÃÇ϶ó. ¿À¹ö·¹ÀÌ ¸ðµå¸¦ À§ÇØ ÀÌ°ÍÀÌ ÇÊ¿äÇÒ °ÍÀÌ´Ù. ¼Ò¸®¸¦ µè±âÀ§ÇØ, ¿©·¯ºÐÀÇ ºñµð¿À ĸÃÄ Ä«µå¿Í »ç¿îµå Ä«µå¸¦ ¿¬°áÇÏ´Â ¼­·Î´Ù¸¥ µÎ°¡Áö ¹æ¹ýÀÌ ÀÖ´Ù. ÇÑ°¡Áö ¹æ¹ýÀº ³»ºÎÀûÀÎ ¿¬°áÀÌ´Ù. CD-ROMÀÇ ¿Àµð¿À ÄÉÀ̺íÀ» ºñµð¿À ĸÃÄ Ä«µåÀÇ »ç¿îµå ÀÔ·Â ´ÜÀÚ¿¡ ¿¬°áÇÏ°í ºñµð¿À ĸÃÄ Ä«µåÀÇ Ãâ·ÂÀ» »ç¿îµå Ä«µåÀÇ CD-ROMÀ̳ª Æ©³ÊÀÇ ¿Àµð¿À ÀÔ·Â ´ÜÀÚ¿¡ ¿¬°áÇ϶ó. ´Ù¸¥ ¹æ¹ýÀº ¿ÜºÎ 1/8'' ¿Àµð¿À ÀèÀ» ºñµð¿À ĸÃÄ Ä«µå¿¡¼­ ¿Àµð¿À Ä«µåÀÇ 1/8'' ¶óÀÎ ¿Àµð¿À·Î ¿¬°áÇÏ´Â °ÍÀÌ´Ù. ¿Àµð¿À Ä«µå°¡ ¾ø°Å³ª »ç¿îµå Ä«µå¸¦ ÅëÇÑ ¿¬°áÀ» ¿øÇÏÁö ¾Ê´Â´Ù¸é, ĸÃÄ Ä«µåÀÇ ¿Àµð¿À Ãâ·Â ´ÜÀÚ¿¡ ÁõÆø ½ºÇÇÄ¿¸¸À» ¿¬°áÇÒ ¼ö ÀÖ´Ù.(½ÅÇü bt878 Ä«µåÀÇ ÀϺδ µðÁöÅÐ ¿Àµð¿À µ¥ÀÌÅ͸¦ PCI¹ö½º¸¦ ÅëÇØ Àü¼ÛÇϱ⠶§¹®¿¡ ¾î¶² »ç¿îµå Ä¿³ØÅ͵µ °®°íÀÖÁö ¾Ê´Ù. ÀÌ ±ÛÀ» ¾²´Â ½ÃÁ¡¿¡¼­ ÀÌ·¯ÇÑ Ä«µå¿¡ ´ëÇÑ Áö¿øÀº ¾ø´Ù.) ºñµð¿À ¼Ò½º´Â ƯÈ÷ Ä«µå°¡ ÀÛµ¿ÁßÀÎÁö ¾Æ´ÑÁö¸¦ È®ÀÎÇϴµ¥ À¯¿ëÇÏ´Ù. ¸¹Àº Ä«µåµéÀÌ º¹ÇÕ ºñµð¿À ÀÔ·Â, S-ºñµð¿À ÀÔ·Â ±×¸®°í Æ©³Ê ÀåÂøÇÏ°í ÀÖ´Ù¸é RF ÀԷµéÀ» ´Ù·é´Ù. ÀÌ·¯ÇÑ ÀԷµéÀ» À§ÇÑ Ä¿³ØÅÍ°¡ °¢°¢ µû·Î Á¸ÀçÇÑ´Ù. Ä¿³Î ¼³Á¤ ¿©·¯ºÐÀÇ Ä«µå¸¦ Áö¿øÇϱâ À§Çؼ­ Ä¿³ÎÀº Á¤È®ÇÏ°Ô ¼³Á¤µÇ¾î¾ß ÇÑ´Ù. ÃÖ±ÙÀÇ ¸®´ª½º ¹èÆ÷º» ´ëºÎºÐÀº ÇÊ¿äÇÑ ¸ðµâµéÀÌ ¹Ì¸® ÄÄÆÄÀϵǾî ÀÖ´Ù. ±×·¡¼­, ¿©·¯ºÐÀÌ /lib/modules/2.x.x/misc¿¡¼­ videodev.o, bttv.o ¿Í tuner.o¸¦ ãÀ» ¼ö ÀÖ´Ù¸é °è¼Ó ÁøÇàÇÒ Áغñ°¡ µÈ °ÍÀÌ´Ù. ±×·¸Áö ¾Ê´Ù¸é, CONFIG_VIDEO_DEV ¿Í CONFIG_VIDEO_BT848 ¿É¼ÇÀ» °¡´ÉÇÏ¸é ¸ðµâ·Î ¼±ÅÃÇؼ­ Ä¿³ÎÀ» ÀçÄÄÆÄÀÏ ÇؾßÇÑ´Ù. Ä¿³Î ÀçÄÄÆÄÀÏ¿¡ °üÇÑ ÀÚ¼¼ÇÑ »çÇ×Àº ¸®´ª½º Ä¿³Î HOWTO (http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html)¸¦ º¸¶ó. ¾÷µ¥ÀÌÆ®µÈ 0.6.x ÆÐÅ°Áö »ç¿ëÇϱ⠾÷µ¥ÀÌÆ®µÈ 0.6.x ÆÐÅ°Áö¸¦ »ç¿ëÇÏ·Á¸é, ¸éÀú À§¿¡ ¾ð±ÞÇÑ ½ÎÀÌÆ®¿¡¼­ µå¶óÀ̹ö¸¦ ¹Þ¾Æ¿Í¾ß ÇÑ´Ù. ¹Þ¾Æ¿Â µå¶óÀ̹ö¸¦ tar -xvzf bttv-0.6.x.tar.gz ·Î ¾ÐÃàÀ» Ç®°í ¾ÐÃàÀ» Ç®¾î¼­ »ý±ä µð·ºÅ丮·Î À̵¿Ç϶ó. su ¸í·É¾î°í root ±ÇÇÑÀ» ȹµæÇÏ°í, µå¶óÀ̹ö¸¦ ¸¸µé±â À§ÇØ ÁÖ µð·ºÅ丮¿¡¼­ make ¶ó´Â Ä¿¸Çµå¸¦ ÀÔ·ÂÇÑ´Ù. INSTALL ÆÄÀÏÀº µå¶óÀ̹ö¿¡°Ô ÇÊ¿äÇÑ Á¤º¸¸¦ make ÆÄÀÏ¿¡¼­ ¼öÁ¤ÇÏ´Â ¹æ¹ýÀ» ¼³¸íÇÏ°í ÀÖ´Ù. ÇÏÁö¸¸, ¿ì¸®´Â ±×·¯ÇÑ Á¤º¸¸¦ ¸ðµâ ÆĶó¸ÞÅ͸¦ »ç¿ëÇؼ­ µå¶óÀ̹ö·Î ³Ñ±æ °ÍÀ̱⠶§¹®¿¡ ¿©·¯ºÐÀº ¾ÈÀüÇÏ°Ô INSTALL ÆÄÀÏÀÇ ³»¿ëÀ» ¹«½ÃÇÒ ¼ö ÀÖ´Ù.) ±×¸®°í ³ª¼­, make install ·Î µå¶óÀ̹ö¸¦ ¼³Ä¡ÇÑ´Ù. ¸¶Áö¸·À¸·Î, /sbin/depmod -a ·Î ¸ðµâÀÇ ÀÇÁ¸¼º Á¤º¸¸¦ ¾÷µ¥ÀÌÆ® ÇÑ´Ù. <Literal remap="tt">/dev</Literal> µð·ºÅ丮ÀÇ Æ¯¼ö ÆÄÀÏµé ´ÙÀ½À¸·Î, /dev µð·ºÅ丮¿¡ Ư¼ö ij¸¯ÅÍ ÆÄÀÏÀ» ¸¸µé¾î¾ß ÇÑ´Ù. ÀÌ·¯ÇÑ µð¹ÙÀ̽ºµéÀÌ ÀÌ¹Ì Á¸ÀçÇÏ´ÂÁö È®ÀÎÇϱâ À§ÇØ ls /dev/video*; ls /dev/radio* Ä¿¸Çµå¸¦ ÀÔ·ÂÇÑ´Ù. Á¸ÀçÇÏÁö ¾Ê´Â´Ù¸é ±×°ÍµéÀ» ¸¸µé¾î¾ß ÇÑ´Ù. ÀÌ ÆÄÀϵéÀº ¸ðµÎ ÁÖ ÀåÄ¡ ¹øÈ£°¡ 81ÀÌ°í, ºÎ ÀåÄ¡ ¹øÈ£´Â ÀÌ·¯ÇÑ ÆÄÀϵéÀÇ ´ÙÁß ÀνºÅϽº »Ó¸¸ ¾Æ´Ï¶ó ƯÁ¤ ÀåÄ¡ (ºñµð¿À, ¶óµð¿À µîµî)¿¡ µû¶ó ´Ù¸£´Ù. ÇÁ·Î±×·¡¹Ö¿¡ °üÇÑ ÀÚ¼¼ÇÑ »çÇ×Àº Video4Linux API (http://roadrunner.swansea.uk.linux.org/v4lapi.shtml) ¸¦ º¸¶ó. bttv µå¶óÀ̹ö ÆÐÅ°ÁöÀÇ driver µð·ºÅ丮¿¡´Â ³×°³ÀÇ ºñµð¿À µð¹ÙÀ̽º ÆÄÀÏÀ» ¸¸µé¾î ÁÙ MAKEDEV ½ºÅ©¸³Æ®°¡ ÀÖ´Ù. ¶ÇÇÑ, ÇÑ°³ÀÇ ºñµð¿À ĸÃÄ Ä«µå¸¸À» °¡Áö°í ÀÖ´Ù¸é ¿©·¯ºÐ ½º½º·Îµµ ²Ï ½±°Ô ¸¸µé ¼ö ÀÖ´Ù. root·Î ´ÙÀ½ÀÇ Ä¿¸Çµå¸¦ ÀÔ·ÂÇ϶ó: mknod /dev/video0 c 81 0 chmod 666 /dev/video0 ln -s /dev/video0 /dev/video mknod /dev/radio0 c 81 64 chmod 666 /dev/radio0 ln -s /dev/radio0 /dev/radio ¶ÇÇÑ, ¿©·¯ºÐÀÌ ºñµð¿À ÅؽºÆ®¿Í VBI µð¹ÙÀ̽º¸¦ ÇÊ¿ä·Î ÇÏ´Â ¾îÇø®ÄÉÀÌ¼Ç (ÇöÀç, ±ØÈ÷ ÀϺΰ¡ ÀÖ´Ù)À» °¡Áö°í ÀÖ´Ù¸é, ´ÙÀ½°ú °°ÀÌ µð¹ÙÀ̽º ÆÄÀÏÀ» ¸¸µé ¼ö ÀÖ´Ù: mknod /dev/vtx0 c 81 192 chmod 666 /dev/vtx0 ln -s /dev/vtx0 /dev/vtx mknod /dev/vbi0 c 81 224 chmod 666 /dev/vbi0 ln -s /dev/vbi0 /dev/vbi ¸ðµâ ·Îµù bttv µå¶óÀ̹ö´Â ¸¹Àº ´Ù¸¥ ¸ðµâ°ú ÀÌ ¹®¼­ÀÇ ºÎ·Ï¿¡¼­ ¼³¸íÇÑ ¸¹Àº ´Ù¸¥ ¿É¼ÇÀ» Á¦°øÇÑ´Ù. ¸¹Àº ¸ðµâ°ú ¿É¼ÇÀÌ Àֱ⠶§¹®¿¡, ¸ðµç°ÍÀÌ ÀÛµ¿ÇÒ ¶§±îÁö ¼öµ¿À¸·Î ÀÌ ÀÛ¾÷À» ÇؾßÇÑ´Ù. ÄÄÇ»ÅÍ°¡ ´Ù¿îµÇ°Å³ª ÇÏ´Â ÀÏÀº °ÅÀÇ ¾ø°ÚÁö¸¸, ¸ðµâÀ» ·ÎµùÇϱâ Àü¿¡ ¾Æ·¡¿Í °°ÀÌ dirty(¹Ìó µð½ºÅ©¿¡ ÀúÀåµÇÁö ¾Ê°í ¹öÆÛ¿¡ ³²¾ÆÀÖ´Â µ¥ÀÌÅÍ) µð½ºÅ© ¹öÆÛ¸¦ °­Á¦·Î ÀúÀåÇÏ¸é ½Ã½ºÅÛÀÌ ¼Õ»óµÇ´Â ÀÏÀº ¾øÀ» °ÍÀÌ´Ù. sync; sleep 1; sync ±×¸®°í ³ª¼­, root·Î insmod Ä¿¸Çµå¸¦ »ç¿ëÇØ ¸ðµâ ·ÎµùÀ» ½ÃµµÇ϶ó. óÀ½ µÎ°³ÀÇ ¸ðµâÀº ´ëºÎºÐ ¾î¶² ¿É¼Çµµ ÇÊ¿äÄ¡ ¾ÊÀ¸¹Ç·Î ·ÎµùÀÌ ½±´Ù: insmod videodev insmod i2c ÀÌÁ¦ bttv ¸ðµâÀ» ·ÎµåÇÒ Áغñ°¡ µÈ°ÍÀÌ´Ù: modprobe bttv µðÆúÆ®·Î, bttv ¸ðµâÀº Ä«µå ŸÀÔÀ» ÀÚµ¿À¸·Î ¾Ë¾Æ³»·Á ÇÑ´Ù. ¾î¶² °ÍÀ¸·Î ÀνÄÇß´ÂÁö È®ÀÎÇϱâ À§ÇØ /var/log/messages¸¦ º¸¶ó. ¸ðµâÀÌ ¿©·¯ºÐÀÇ Ä«µå¸¦ ¹Ù¸£°Ô ÀνÄÇÏÁö ¸øÇß´Ù¸é, Ä«µå ŸÀÔÀ» °­Á¦·Î ÁöÁ¤Çϱâ À§ÇØ À§ÀÇ Ä¿¸Çµå ³¡¿¡ card=n ¿É¼ÇÀ» Ãß°¡ÇÒ ¼ö ÀÖ´Ù. ¿©±â¼­ n Àº ¾Æ·¡ÀÇ ¸ñ·Ï¿¡¼­ ¼±ÅÃÇÒ ¼ö ÀÖ´Ù. (Ä¿³Î¿¡ Æ÷ÇÔµÈ µå¶óÀ̹ö´Â ŸÀÔ 0¿¡¼­ 19±îÁö Áö¿øÇÏ°í, bttv-0.6.4h´Â 20¿¡¼­ 27¹ø±îÁöµµ Áö¿øÇÑ´Ù) ¶ÇÇÑ, ¿©·¯ºÐÀÇ Ä«µå¿¡ FM Æ©³Ê ±â´ÉÀÌ ÀÖ´Ù¸é radio=1 ¿É¼ÇÀ» Ãß°¡ÇÒ ¼ö ÀÖ´Ù. card=n card type 0: Auto-Detect 1: Miro 2: Hauppauge (±¸Çü bt848 º¸µå) 3: STB 4: Intel 5: Diamond 6: AVerMedia 7: MATRIX Vision MV-Delta 8: FlyVideo 9: TurboTV 10: Hauppauge (½ÅÇü bt878 º¸µå) 11: MIRO PCTV pro 12: Terratec/Vobis TV-Boostar 13: Newer Hauppauge WinCam (bt878) 14: MAXI TV Video PCI2 15: Terratec TerraTV+ 16: Aimslab VHX 17: PXC200 18: AVermedia98 19: FlyVideo98 (FlyVideo Ä«µåº¸´Ù Á»´õ ½ÅÇüÀÌ´Ù) 20: Zoltrix TV-Max 21: iProTV 22: ADS Technologies Channel Surfer TV 23: Pixelview PlayTV (bt878) 24: Leadtek WinView 601 25: AVEC Intercapture 26: LifeView FlyKit w/o Tuner 27: Intel Create and Share PCI ´ÙÀ½À¸·Î, ¾Æ·¡¿Í °°ÀÌ Æ©³Ê ¸ðµâÀ» ·ÎµåÇÑ´Ù. modprobe tuner type=n ¿©·¯ºÐÀº ¾Æ¸¶µµ Æ©³Ê¸¦ È®ÀÎÇϱâ À§ÇØ ÄÉÀ̽º¸¦ ¿­¾î¾ß ÇÒ Áöµµ ¸ð¸¥´Ù. ÀϺΠīµåµéÀº (Miro¿Í Hauppauge) Æ©³Ê ŸÀÔÀ» ÀÚµ¿À¸·Î ¾Ë¾Æ³¾ ¼ö ÀÖ´Ù. ±×·¯³ª, ¿©·¯ºÐÀº Æ©³Ê ŸÀÔÀ» ÁöÁ¤ÇØ¾ß ÇÒ °ÍÀÌ´Ù. Æ©³Ê¿¡´Â »óÇ¥(ºê·£µå)¸íÀÌ Ç¥±âµÇ¾î ÀÖÀ¸¸ç, ¿©·¯ºÐÀÌ NTSC³ª PAL Æ©³Ê¸¦ °¡Áö°í ÀÖ´Ù¸é º¸µåÀÇ °ËÆıâ(ÀÛÀº ¾Ë·ç¹Ì´½ ĵ)¿¡¼­ ÀÌ°ÍÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù. PAL ŸÀÔ Æ©³ÊÀÇ °ËÆıâ´Â 28.xxxMHz (xxx´Â ¼¼ÀÚ¸® ¼ýÀÚ)ÀÌ Ç¥±âµÇ¾î ÀÖ´Ù. NTSC ŸÀÔ Æ©³ÊÀÇ ÀÛÀº »óÀÚ¿¡´Â 35.xxxMHzÀÌ ÀûÇôÀÖÀ» °ÍÀÌ´Ù. Æ©³Ê ŸÀÔÀ» ¾Ë°í ÀÖ´Ù¸é, ¾Æ·¡ÀÇ ¸ñ·Ï(ŸÀÔ 8°ú 9´Â bttv-0.6.4h ¿¡¸¸ ÀÖ´Ù)¿¡¼­ n °ªÀ» ¼±ÅÃÇ϶ó: type=n type of the tuner chip. n as follows: 0: Temic PAL tuner 1: Philips PAL_I tuner 2: Philips NTSC tuner 3: Philips SECAM tuner 4: no tuner 5: Philips PAL tuner 6: Temic NTSC tuner 7: Temic PAL tuner 8: Alps TSBH1 NTSC tuner 9: Alps TSBE1 PAL tuner ¸¶Áö¸·À¸·Î, ¿©·¯ºÐ¿¡°Ô ÇÊ¿äÇÑ »ç¿îµå ¸ðµâÀ» ·ÎµåÇ϶ó. ¾Æ¸¶µµ ¶Ç´Ù½Ã ¿©·¯ºÐÀÌ °¡Áö°í ÀÖ´Â Ä«µå°¡ ¹«¾ùÀÎÁö ¸Å¿ì °¡±îÀ̼­ È®ÀÎÇØ¾ß ÇÒ ÇÊ¿ä°¡ ÀÖÀ» °ÍÀÌ´Ù. TEA6300, TDA8425, TDA9855¿Í DPL3518 ĨÀÇ µå¶óÀ̹ö´Â 0.6.4h ½Ã¸®ÁîÀÇ µå¶óÀ̹ö¿¡¸¸ Æ÷ÇԵǾî ÀÖ°í ÇöÀç Ä¿³Î(2.2.14) µå¶óÀ̹ö¿¡´Â Æ÷ÇԵǾî ÀÖÁö ¾ÊÀ½À» ¸í½ÉÇ϶ó. modprobe msp3400 ³ª tea3600 ³ª tda8425 ³ª tda9855 ³ª dpl3518 (ÀÚ¼¼ÇÑ ³»¿ë°ú ¿É¼ÇÀº ºÎ·ÏÀ» º¸¶ó) ÁÁ¾ÆÇÏ´Â video4linux ÇÁ·Î±×·¥À» ½ÇÇàÇؼ­ Àß ÀÛµ¿ÇÏ´ÂÁö È®ÀÎÇ϶ó. ä³ÎÀ» º¯°æÇÒ ¼ö ¾ø´Ù¸é, ¾Ë¸ÂÀº Æ©³Ê ¸ðµâÀ» ·ÎµùÇ϶ó. ¾Æ¹« ¼Ò¸®µµ µéÀ» ¼ö ¾ø´Ù¸é, ´ÙÀ½ÀÇ µÎ°¡Áö¸¦ Á¡°ËÇ϶ó. »ç¿îµå ¸ðµâÀÇ È®Àΰú »ç¿îµå Ä«µå¸¦ ÅëÇØ ¼Ò¸®¸¦ µè´Â´Ù¸é, ä³ÎÀÇ º¼·ýÀÌ À۰ԵǾî ÀÖÁö´Â ¾ÊÀºÁö¸¦ È®ÀÎÇÑ´Ù. ÀÛ¾÷ ÀÚµ¿È­ Çϱ⠿©·¯ºÐ¿¡°Ô ÇÊ¿äÇÑ ¸ðµâ°ú ¿É¼ÇÀ» ¾Ë¾ÒÀ¸¸é, /etc/conf.modules ÆÄÀÏ¿¡ ±×·¯ÇÑ Á¤º¸¸¦ ±â·ÏÇؼ­ ¸ðµâ ·Îµù ÀÛ¾÷À» ÀÚµ¿È­ ÇÒ ¼ö ÀÖ´Ù. ±×·¸°Ô Çϸé, ±× µå¶óÀ̹ö¸¦ ÇÊ¿ä·Î ÇÏ´Â ¾îÇø®ÄÉÀ̼ÇÀÌ ½ÇÇàµÉ ¶§, ÀÚµ¿À¸·Î ¸ðµâÀÌ ·ÎµùµÉ °ÍÀÌ´Ù. ÇÊÀÚ´Â ´ÙÀ½°ú °°ÀÌ »ç¿ëÇÑ´Ù: # TV alias char-major-81 bttv pre-install bttv modprobe -k tuner; modprobe -k msp3400 options bttv radio=1 card=3 options tuner type=2 ¹°·Ð, ¿©·¯ºÐÀÇ Ä«µå¿¡ ¸Â´Â ¸ðµâ°ú ¿É¼ÇÀ» Àû¿ëÇϱâ À§ÇØ À§ÀÇ ¾ê¸¦ ¼öÁ¤ÇØ¾ß ÇÒ °ÍÀÌ´Ù. (¶ÇÇÑ, /sbin/depmod -a ·Î ¸ðµâ ÀÇÁ¸¼º Á¤º¸µµ °»½ÅÇ϶ó) ÀÀ¿ë ÇÁ·Î±×·¥ Ä¿³ÎÀÌ ¼³Á¤µÇ¾ú°í, ÀåÄ¡µéÀÌ ¼³Á¤µÇ¾úÀ¸¸ç, ¸ðµâµµ ·ÎµåµÇ¾ú´Ù. ÀÌÁ¦, ¿©·¯ºÐÀº ½ÇÁ¦·Î ¿©·¯ºÐÀÇ Ä«µå·Î ºÎÅÍ À̹ÌÁö¸¦ º¸¿©Áְųª ĸÃÄÇÏ´Â ÀÀ¿ë ÇÁ·Î±×·¥ÀÌ ÇÊ¿äÇÒ °ÍÀÌ´Ù. ÀÌ·± ÀÀ¿ë ÇÁ·Î±×·¥µéÀº ¿©·¯°¡Áö°¡ ÀÖ´Ù: bttvgrab - ºñµð¿À ³ìÈ­¿¡ ÀûÇÕÇÑ °í¼º´É ĸÃĸ¦ Á¦°øÇÑ´Ù http://moes.pmnet.uni-oldenburg.de/bttvgrab/ Gnome-o-Vision - ±×³ð µ¥½ºÅ©Å¾ ȯ°æÀÇ ºä¾î (ÇöÀç °³¹ßÁß¿¡ ÀÖÀ¸¸ç ±×³ð CVS¿¡¼­ ±¸ÇÒ ¼ö ÀÖ´Ù) http://cvs.gnome.org/lxr/source/gnomovision/ kwintv - KDE ȯ°æÀ» À§ÇÑ Qt ±â¹ÝÀÇ TV ºä¾î http://www.mathematik.uni-kl.de/~wenk/kwintv/ wmtune - bttv ±â¹Ý TV/¶óµð¿À Ä«µå¸¦ À§ÇÑ À©µµ¿ì ¸ÞÀÌÄ¿ ¶óµð¿À Æ©³Ê ¾ÖÇø´ http://home.pages.de/~fionn/archive/wmtune-1.0_bttv.tar.bz2 wmtv - À©µµ¿ì ¸ÞÀÌÄ¿¿ë TV ´Ú¾îÇø®°ÔÀÌ¼Ç http://www.student.uwa.edu.au/~wliang/ XawTV - TV ¾îÇø®ÄÉÀ̼ǰú ¸î°¡Áö À¯Æ¿¸®Æ¼ http://www.in-berlin.de/User/kraxel/xawtv.html XtTV - ¸®´ª½º/X À©µµ¿ë °£´ÜÇÑ TV/ºñµð¿À ÇÁ·Î±×·¥ http://home.pages.de/~rasca/xttv/ ¶ÇÇÑ, FlyVideo98 ¸®¸ðÄÁ Ä«µå¸¦ À§ÇÑ µå¶óÀ̹öµµ ÀÖ´Ù. http://wolf.ifj.edu.pl/~jochym/FlyVideo98/ ¿©·¯ºÐÀÌ »ç¿ëÇÏ·Á´Â ÀÀ¿ë ÇÁ·Î±×·¥ÀÇ ¹®¼­¸¦ ¹Ýµå½Ã Àоî¶ó. ¸¹Àº ÇÁ·Î±×·¥µéÀÌ ½ÇÇàÇϱâ Àü¿¡ ¹Ù¸£°Ô ¼öÁ¤µÈ ÀÚ¼¼ÇÑ ¼³Á¤ÆÄÀÏÀ» ÇÊ¿ä·Î ÇÑ´Ù. ´Ù¾çÇÑ Á¾·ùÀÇ Ä«µåµéÀÌ Àֱ⠶§¹®¿¡, ¿©·¯ºÐÀÇ Ä«µå¿¡¼­ ÇÁ·Î±×·¥ÀÌ µðÆúÆ® ¼³Á¤À¸·Î´Â ½ÊÁßÆȱ¸ ÀÛµ¿ÇÏÁö ¾ÊÀ» °ÍÀÌ´Ù. µû¶ó¼­, ÇÁ·Î±×·¥¿¡ ÀÖ´Â ¹®¼­¸¦ Àдµ¥ ¹Ýµå½Ã ½Ã°£À» ÇÒ¾ÖÇØ¾ß ÇÑ´Ù. ºÎ·Ï - ¸ðµç ¸ðµâµéÀÇ ¿É¼Ç ¾Õ¿¡ "*"°¡ ºÙÀº °ÍµéÀº ¹öÀü 0.6.4h ½Ã¸®ÁîÀÇ µå¶óÀ̹ö¿¡¼­¸¸ ¾µ¼ö ÀÖ´Ù. videodev.o this is the basic video4linux module, all video drivers (incl. bttv) register themselves here. i2c.o the generic i2c module. It does much of the i2c bus management, all other modules (except videodev.o) use this one insmod args: scan=1 scan the bus for i2c devices verbose=0 shut up i2c i2c_debug=1 for debugging, it sticks the whole (software) i2c bus traffic to the syslog bttv.o the bt848 (grabber chip) driver insmod args: remap=adr remap Bt848 memory to adr<<20 vidmem=base frame buffer address>>20 (of graphic card) triton1=0/1 for Triton1 compatibility Triton1 is automatically recognized but this might also help with other chipsets pll=0/1/2 pll settings 0: don't use PLL 1: 28 MHz crystal installed 2: 35 MHz crystal installed radio=0/1 card supports radio card=n card type 0: Auto-Detect 1: Miro 2: Hauppauge (old bt848 boards) 3: STB 4: Intel 5: Diamond 6: AVerMedia 7: MATRIX Vision MV-Delta 8: FlyVideo 9: TurboTV 10: Hauppauge (new bt878 boards) 11: MIRO PCTV pro 12: Terratec/Vobis TV-Boostar 13: Newer Hauppauge WinCam (bt878) 14: MAXI TV Video PCI2 15: Terratec TerraTV+ 16: Aimslab VHX 17: PXC200 18: AVermedia98 19: FlyVideo98 (newer FlyVideo cards) *20: Zoltrix TV-Max *21: iProTV *22: ADS Technologies Channel Surfer TV *23: Pixelview PlayTV (bt878) *24: Leadtek WinView 601 *25: AVEC Intercapture *26: LifeView FlyKit w/o Tuner *27: Intel Create and Share PCI remap, card, radio and pll accept up to four comma-separted arguments (for multiple boards). The CARD and PLL defines from the Makefile are used as defaults. msp3400.o The driver for the msp34xx sound processor chips. If you have a stereo card, you probably want to insmod this one. insmod args: debug=1/2 print some debug info to the syslog, 2 is more verbose. *tea6300.o The driver for the tea6300 fader chip. If you have a stereo card and the msp3400.o doesn't work, you might want to try this one. This chip is seen on most STB TV/FM cards (usually from Gateway OEM sold surplus on auction sites). insmod args: debug=1 print some debug info to the syslog. *tda8425.o The driver for the tda8425 fader chip. This driver used to be part of bttv.c, so if your sound used to work but does not anymore, try loading this module. insmod args: debug=1 print some debug info to the syslog. *tda9855.o The driver for the tda9855 stereo decoder / audio processor chip. insmod args: debug=1 print some debug info to the syslog. *dpl3518.o Driver for the dpl3518a Dolby Pro Logic Processor insmod args: debug=1 print some debug info to the syslog. tuner.o The tuner driver. You need this unless you want to use only with a camera or external tuner ... insmod args: debug=1 print some debug info to the syslog type=n type of the tuner chip. n as follows: 0: Temic PAL tuner 1: Philips PAL_I tuner 2: Philips NTSC tuner 3: Philips SECAM tuner 4: no tuner 5: Philips PAL tuner 6: Temic NTSC tuner 7: Temic PAL tuner *8: Alps TSBH1 NTSC tuner *9: Alps TSBE1 PAL tuner i2c_chardev.o provides a character device for i2c bus access. Works for 2.1.x only, not compiled by default.