Bt87x.txt 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Intro
  2. =====
  3. You might have noticed that the bt878 grabber cards have actually
  4. _two_ PCI functions:
  5. $ lspci
  6. [ ... ]
  7. 00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 02)
  8. 00:0a.1 Multimedia controller: Brooktree Corporation Bt878 (rev 02)
  9. [ ... ]
  10. The first does video, it is backward compatible to the bt848. The second
  11. does audio. snd-bt87x is a driver for the second function. It's a sound
  12. driver which can be used for recording sound (and _only_ recording, no
  13. playback). As most TV cards come with a short cable which can be plugged
  14. into your sound card's line-in you probably don't need this driver if all
  15. you want to do is just watching TV...
  16. Some cards do not bother to connect anything to the audio input pins of
  17. the chip, and some other cards use the audio function to transport MPEG
  18. video data, so it's quite possible that audio recording may not work
  19. with your card.
  20. Driver Status
  21. =============
  22. The driver is now stable. However, it doesn't know about many TV cards,
  23. and it refuses to load for cards it doesn't know.
  24. If the driver complains ("Unknown TV card found, the audio driver will
  25. not load"), you can specify the load_all=1 option to force the driver to
  26. try to use the audio capture function of your card. If the frequency of
  27. recorded data is not right, try to specify the digital_rate option with
  28. other values than the default 32000 (often it's 44100 or 64000).
  29. If you have an unknown card, please mail the ID and board name to
  30. <alsa-devel@alsa-project.org>, regardless of whether audio capture works
  31. or not, so that future versions of this driver know about your card.
  32. Audio modes
  33. ===========
  34. The chip knows two different modes (digital/analog). snd-bt87x
  35. registers two PCM devices, one for each mode. They cannot be used at
  36. the same time.
  37. Digital audio mode
  38. ==================
  39. The first device (hw:X,0) gives you 16 bit stereo sound. The sample
  40. rate depends on the external source which feeds the Bt87x with digital
  41. sound via I2S interface.
  42. Analog audio mode (A/D)
  43. =======================
  44. The second device (hw:X,1) gives you 8 or 16 bit mono sound. Supported
  45. sample rates are between 119466 and 448000 Hz (yes, these numbers are
  46. that high). If you've set the CONFIG_SND_BT87X_OVERCLOCK option, the
  47. maximum sample rate is 1792000 Hz, but audio data becomes unusable
  48. beyond 896000 Hz on my card.
  49. The chip has three analog inputs. Consequently you'll get a mixer
  50. device to control these.
  51. Have fun,
  52. Clemens
  53. Written by Clemens Ladisch <clemens@ladisch.de>
  54. big parts copied from btaudio.txt by Gerd Knorr <kraxel@bytesex.org>