<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.20.163.222</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.20.163.222"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/87.20.163.222"/>
	<updated>2026-04-22T04:47:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=N900_FM_radio_receiver&amp;diff=27437</id>
		<title>N900 FM radio receiver</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=N900_FM_radio_receiver&amp;diff=27437"/>
		<updated>2011-04-27T21:14:34Z</updated>

		<summary type="html">&lt;p&gt;87.20.163.222: /* User */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[Nokia N900|N900]] FM receiver allows the reception of broadcast FM radio signals using the headset/headphones as an antenna.&lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
&lt;br /&gt;
The FM radio is part of the [[N900 Hardware Bluetooth|Bluetooth chip]]. It receives FM radio signals using the headset or earphones plugged into the 3.5 mm socket as an antenna (actually arbitrary headset/headphones, or any other cable, for this purpose).&lt;br /&gt;
&lt;br /&gt;
The audio output of the FM radio is connected to the audio codec chip.&lt;br /&gt;
This can be routed directly to the headphones - but possibly not the speaker due to concerns about speaker damage due to the speakers not being able to handle bass.&lt;br /&gt;
&lt;br /&gt;
The existing software that uses the radio passes the audio through the CPU, implementing a software filter for speaker protection when the speakers are enabled.&lt;br /&gt;
&lt;br /&gt;
==Software==&lt;br /&gt;
&lt;br /&gt;
===Kernel===&lt;br /&gt;
&lt;br /&gt;
The FM receiver is implemented as a video4linux radio device by the [http://mxr.maemo.org/fremantle/source/kernel/drivers/media/radio/radio-bcm2048.c bcm2048] module. This controls the receiver over the [[N900 Hardware Bus I2C]].&lt;br /&gt;
&lt;br /&gt;
It appears as device &amp;lt;code&amp;gt;/dev/radio1&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
v4l2-ctl --all -d /dev/radio1&lt;br /&gt;
Driver Info:&lt;br /&gt;
 Driver name   : bcm2048&lt;br /&gt;
 Card type     : Broadcom bcm2048 FM Radio Recei&lt;br /&gt;
 Bus info      : I2C: 0x22&lt;br /&gt;
 Driver version: 1&lt;br /&gt;
 Capabilities  : 0x00050400&lt;br /&gt;
  Tuner&lt;br /&gt;
  Radio&lt;br /&gt;
 Video input : 0&lt;br /&gt;
Frequency: 1518400 (94.900000 MHz)&lt;br /&gt;
Video Standard = 0x00000000&lt;br /&gt;
Streaming Parameters Video Capture:&lt;br /&gt;
 Frames per second: 25.000 (25/1)&lt;br /&gt;
 Read buffers     : 0&lt;br /&gt;
Tuner:&lt;br /&gt;
 Name                 : FM Receiver&lt;br /&gt;
 Capabilities         : 62.5 Hz stereo &lt;br /&gt;
 Frequency range      : 87.5 MHz - 108.0 MHz&lt;br /&gt;
 Signal strength/AFC  : 0%/0&lt;br /&gt;
 Current audio mode   : stereo&lt;br /&gt;
 Available subchannels: stereo &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The module is only loaded when the radio is used.&lt;br /&gt;
&lt;br /&gt;
It is also exposed under sysfs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sys/class/i2c-adapter/i2c-3/3-0022# ls&lt;br /&gt;
audio_route               fm_rssi                   rds_data&lt;br /&gt;
bus                       fm_search_mode_direction  rds_pi&lt;br /&gt;
dac_output                fm_search_rssi_threshold  rds_pi_mask&lt;br /&gt;
driver                    fm_search_tune_mode       rds_pi_match&lt;br /&gt;
fm_af_frequency           modalias                  rds_ps&lt;br /&gt;
fm_best_tune_mode         mute                      rds_rt&lt;br /&gt;
fm_carrier_error          name                      rds_wline&lt;br /&gt;
fm_deemphasis             power                     region&lt;br /&gt;
fm_frequency              power_state               region_bottom_frequency&lt;br /&gt;
fm_hi_lo_injection        rds                       region_top_frequency&lt;br /&gt;
fm_rds_flags              rds_b_block_mask          subsystem&lt;br /&gt;
fm_rds_mask               rds_b_block_match         uevent&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The sysfs interface allows configuration of region (which affects frequency ranges and other parameters).&lt;br /&gt;
&lt;br /&gt;
===User===&lt;br /&gt;
&lt;br /&gt;
There are 3 userspace application that uses the FM receiver:&lt;br /&gt;
&lt;br /&gt;
[http://maemo.org/packages/view/fmradio/ FMRadio],&lt;br /&gt;
[http://maemo.org/packages/view/qradio/ QRadio]&lt;br /&gt;
and&lt;br /&gt;
[http://maemo.org/packages/view/cfmradio/ C FM Radio]&lt;br /&gt;
&lt;br /&gt;
[[Category:N900 Hardware]]&lt;/div&gt;</summary>
		<author><name>87.20.163.222</name></author>
	</entry>
</feed>