7.5 ³]©w¹qµø¥d(TV Cards)

Original contribution by Josef El-Rayes. Enhanced and adapted by Marc Fonvieille.

7.5.1 ¤¶²Ð

¹qµø¥d(TV card)¥i¥HÅý±z¥Î¹q¸£¨Ó¬ÝµL½u¡B¦³½u¹qµø¸`¥Ø¡C³\¦h¥d³£¬O³z¹L RCA ©Î S-video ¿é¤JºÝ¤l¨Ó±µ¦¬µø°T¡A¦Ó¥B¦³¨Ç¥dÁÙ¥i±µ¦¬ FM ¼s¼½ªº¥\¯à¡C

FreeBSD ¥i³z¹L bktr(4) ÅX°Êµ{¦¡¡A¨Ó¤ä´© PCI ¤¶­±ªº¹qµø¥d¡A¥u­n³o¨Ç¥d¨Ï¥Îªº¬O Brooktree Bt848/849/878/879 ©Î Conexant CN-878/Fusion 878a µø°TÂ^¨ú´¹¤ù¡C¦¹¥~¡A­n¦A½T»{­þ¨Ç¥d¤W©Òªþªº¿ï¥x¥\¯à¬O§_¦³¤ä´©¡A¥i¥H°Ñ¦Ò bktr(4) »¡©ú¡A¥H¬d¬Ý©Ò¤ä´©ªºµwÅé²M³æ¡C

7.5.2 ³]©w¬ÛÃöÅX°Êµ{¦¡

­n¥Î¹qµø¥dªº¸Ü¡A´N­n¸ü¤J bktr(4) ÅX°Êµ{¦¡¡A³o­Ó¥i¥H³z¹L¦b /boot/loader.conf ÀÉ¥[¤W¤U­±³o¤@¦æ´N¥i¥H¤F¡G

bktr_load="YES"

¦¹¥~¡A¤]¥i¥H§â¸Ó kernel module ª½±µ»P kernel ½sͦb¤@°_¡A§@ªk´N¬O¦b§Aªº kernel ³]©wÀɤº¡A¥[¤W¤U­±³o´X¦æ¡G

device	 bktr
device	iicbus
device	iicbb
device	smbus

¤§©Ò¥H­n¥[¤W³o¨ÇÃB¥~ªºÅX°Êµ{¦¡¡A¬O¦]¬°¥dªº¦U²Õ¦¨³¡¤À³£¬O³z¹L I2C ¶×¬y±Æ¦Ó¬Û¤¬³s±µªº¡C±µ¤U¨Ó¡A½Ð­«·s½sĶ¡B¦w¸Ë·sªº kernel ¡C

¦w¸Ë¦n·sªº kernel ¤§«á¡A­n­«¶}¾÷¤~·|¥Í®Ä¡C¶}¾÷®É¡AÀ³¸Ó·|¬Ý¨ìÃþ¦ü¤U­±ªº¥¿½T°»´ú¨ì TV card °T®§¡G

bktr0: <BrookTree 848A> mem 0xd7000000-0xd7000fff irq 10 at device 10.0 on pci0
iicbb0: <I2C bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicbus1: <Philips I2C bus> on iicbb0 master-only
smbus0: <System Management Bus> on bti2c0
bktr0: Pinnacle/Miro TV, Philips SECAM tuner.

·íµM¡A³o¨Ç°T®§¥i¯à¦]±zªºµwÅ餣¦P¦Ó¦³©Ò¤£¦P¡CHowever you should check if the tuner is correctly detected; it is still possible to override some of the detected parameters with sysctl(8) MIBs and kernel configuration file options. For example, if you want to force the tuner to a Philips SECAM tuner, you should add the following line to your kernel configuration file:

options OVERRIDE_TUNER=6

or you can directly use sysctl(8):

# sysctl hw.bt848.tuner=6

See the bktr(4) manual page and the /usr/src/sys/conf/NOTES file for more details on the available options. (If you are under FreeBSD 4.X, /usr/src/sys/conf/NOTES is replaced with /usr/src/sys/i386/conf/LINT.)

7.5.3 ¦n¥Îªºµ{¦¡

­n¥Î¹qµø¥d¡A¥i¥Hµø»Ý­n¦w¸Ë¤U¦CÀ³¥Îµ{¦¡¤§¤@¡J

More applications are available in the FreeBSD Ports Collection.

7.5.4 Troubleshooting

If you encounter any problem with your TV card, you should check at first if the video capture chip and the tuner are really supported by the bktr(4) driver and if you used the right configuration options. For more support and various questions about your TV card you may want to contact and use the archives of the freebsd-multimedia mailing list.

¥»¤å¤Î¨ä¥L¤å¥ó¡A¥i¥Ñ¦¹¤U¸ü¡Gftp://ftp.FreeBSD.org/pub/FreeBSD/doc/¡C

­Y¦³ FreeBSD ¤è­±ºÃ°Ý¡A½Ð¥ý¾\Ū FreeBSD ¬ÛÃö¤å¥ó¡A¦p¤£¯à¸Ñ¨Mªº¸Ü¡A¦A¬¢¸ß <questions@FreeBSD.org>¡C
Ãö©ó¥»¤å¥óªº°ÝÃD¡A½Ð¬¢¸ß <doc@FreeBSD.org>¡C