si470x.txt 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Driver for USB radios for the Silicon Labs Si470x FM Radio Receivers
  2. Copyright (c) 2008 Tobias Lorenz <tobias.lorenz@gmx.net>
  3. Information from Silicon Labs
  4. =============================
  5. Silicon Laboratories is the manufacturer of the radio ICs, that nowadays are the
  6. most often used radio receivers in cell phones. Usually they are connected with
  7. I2C. But SiLabs also provides a reference design, which integrates this IC,
  8. together with a small microcontroller C8051F321, to form a USB radio.
  9. Part of this reference design is also a radio application in binary and source
  10. code. The software also contains an automatic firmware upgrade to the most
  11. current version. Information on these can be downloaded here:
  12. http://www.silabs.com/usbradio
  13. Supported ICs
  14. =============
  15. The following ICs have a very similar register set, so that they are or will be
  16. supported somewhen by the driver:
  17. - Si4700: FM radio receiver
  18. - Si4701: FM radio receiver, RDS Support
  19. - Si4702: FM radio receiver
  20. - Si4703: FM radio receiver, RDS Support
  21. - Si4704: FM radio receiver, no external antenna required
  22. - Si4705: FM radio receiver, no external antenna required, RDS support, Dig I/O
  23. - Si4706: Enhanced FM RDS/TMC radio receiver, no external antenna required, RDS
  24. Support
  25. - Si4707: Dedicated weather band radio receiver with SAME decoder, RDS Support
  26. - Si4708: Smallest FM receivers
  27. - Si4709: Smallest FM receivers, RDS Support
  28. More information on these can be downloaded here:
  29. http://www.silabs.com/products/mcu/Pages/USBFMRadioRD.aspx
  30. Supported USB devices
  31. =====================
  32. Currently the following USB radios (vendor:product) with the Silicon Labs si470x
  33. chips are known to work:
  34. - 10c4:818a: Silicon Labs USB FM Radio Reference Design
  35. - 06e1:a155: ADS/Tech FM Radio Receiver (formerly Instant FM Music) (RDX-155-EF)
  36. - 1b80:d700: KWorld USB FM Radio SnapMusic Mobile 700 (FM700)
  37. - 10c5:819a: DealExtreme USB Radio
  38. Software
  39. ========
  40. Testing is usually done with most application under Debian/testing:
  41. - fmtools - Utility for managing FM tuner cards
  42. - gnomeradio - FM-radio tuner for the GNOME desktop
  43. - gradio - GTK FM radio tuner
  44. - kradio - Comfortable Radio Application for KDE
  45. - radio - ncurses-based radio application
  46. There is also a library libv4l, which can be used. It's going to have a function
  47. for frequency seeking, either by using hardware functionality as in radio-si470x
  48. or by implementing a function as we currently have in every of the mentioned
  49. programs. Somewhen the radio programs should make use of libv4l.
  50. For processing RDS information, there is a project ongoing at:
  51. http://rdsd.berlios.de/
  52. There is currently no project for making TMC sentences human readable.
  53. Audio Listing
  54. =============
  55. USB Audio is provided by the ALSA snd_usb_audio module. It is recommended to
  56. also select SND_USB_AUDIO, as this is required to get sound from the radio. For
  57. listing you have to redirect the sound, for example using one of the following
  58. commands.
  59. If you just want to test audio (very poor quality):
  60. cat /dev/dsp1 > /dev/dsp
  61. If you use OSS try:
  62. sox -2 --endian little -r 96000 -t oss /dev/dsp1 -t oss /dev/dsp
  63. If you use arts try:
  64. arecord -D hw:1,0 -r96000 -c2 -f S16_LE | artsdsp aplay -B -
  65. Module Parameters
  66. =================
  67. After loading the module, you still have access to some of them in the sysfs
  68. mount under /sys/module/radio_si470x/parameters. The contents of read-only files
  69. (0444) are not updated, even if space, band and de are changed using private
  70. video controls. The others are runtime changeable.
  71. Errors
  72. ======
  73. Increase tune_timeout, if you often get -EIO errors.
  74. When timed out or band limit is reached, hw_freq_seek returns -EAGAIN.
  75. If you get any errors from snd_usb_audio, please report them to the ALSA people.
  76. Open Issues
  77. ===========
  78. V4L minor device allocation and parameter setting is not perfect. A solution is
  79. currently under discussion.
  80. There is an USB interface for downloading/uploading new firmware images. Support
  81. for it can be implemented using the request_firmware interface.
  82. There is a RDS interrupt mode. The driver is already using the same interface
  83. for polling RDS information, but is currently not using the interrupt mode.
  84. There is a LED interface, which can be used to override the LED control
  85. programmed in the firmware. This can be made available using the LED support
  86. functions in the kernel.
  87. Other useful information and links
  88. ==================================
  89. http://www.silabs.com/usbradio