€•ô0Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ5/translations/zh_CN/userspace-api/media/v4l/dev-radio”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/zh_TW/userspace-api/media/v4l/dev-radio”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/it_IT/userspace-api/media/v4l/dev-radio”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/ja_JP/userspace-api/media/v4l/dev-radio”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/ko_KR/userspace-api/media/v4l/dev-radio”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/sp_SP/userspace-api/media/v4l/dev-radio”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”h]”hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”…””}”hh£sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1h¡hhhžhhŸŒO/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/dev-radio.rst”h KubhŒtarget”“”)”}”(hŒ .. _radio:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œradio”uh1h´h KhhhžhhŸh³ubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒRadio Interface”h]”hŒRadio Interface”…””}”(hhÉhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhhÄhžhhŸh³h KubhŒ paragraph”“”)”}”(hŒSThis interface is intended for AM and FM (analog) radio receivers and transmitters.”h]”hŒSThis interface is intended for AM and FM (analog) radio receivers and transmitters.”…””}”(hhÙhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh³h K hhÄhžhubhØ)”}”(hŒÄConventionally V4L2 radio devices are accessed through character device special files named ``/dev/radio`` and ``/dev/radio0`` to ``/dev/radio63`` with major number 81 and minor numbers 64 to 127.”h]”(hŒ\Conventionally V4L2 radio devices are accessed through character device special files named ”…””}”(hhçhžhhŸNh NubhŒliteral”“”)”}”(hŒ``/dev/radio``”h]”hŒ /dev/radio”…””}”(hhñhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hïhhçubhŒ and ”…””}”(hhçhžhhŸNh Nubhð)”}”(hŒ``/dev/radio0``”h]”hŒ /dev/radio0”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hïhhçubhŒ to ”…””}”(hhçhžhhŸNh Nubhð)”}”(hŒ``/dev/radio63``”h]”hŒ /dev/radio63”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hïhhçubhŒ2 with major number 81 and minor numbers 64 to 127.”…””}”(hhçhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh³h K hhÄhžhubhÃ)”}”(hhh]”(hÈ)”}”(hŒQuerying Capabilities”h]”hŒQuerying Capabilities”…””}”(hj0hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhj-hžhhŸh³h KubhØ)”}”(hX2Devices supporting the radio interface set the ``V4L2_CAP_RADIO`` and ``V4L2_CAP_TUNER`` or ``V4L2_CAP_MODULATOR`` flag in the ``capabilities`` field of struct :c:type:`v4l2_capability` returned by the :ref:`VIDIOC_QUERYCAP` ioctl. Other combinations of capability flags are reserved for future extensions.”h]”(hŒ/Devices supporting the radio interface set the ”…””}”(hj>hžhhŸNh Nubhð)”}”(hŒ``V4L2_CAP_RADIO``”h]”hŒV4L2_CAP_RADIO”…””}”(hjFhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hïhj>ubhŒ and ”…””}”(hj>hžhhŸNh Nubhð)”}”(hŒ``V4L2_CAP_TUNER``”h]”hŒV4L2_CAP_TUNER”…””}”(hjXhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hïhj>ubhŒ or ”…””}”(hj>hžhhŸNh Nubhð)”}”(hŒ``V4L2_CAP_MODULATOR``”h]”hŒV4L2_CAP_MODULATOR”…””}”(hjjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hïhj>ubhŒ flag in the ”…””}”(hj>hžhhŸNh Nubhð)”}”(hŒ``capabilities``”h]”hŒ capabilities”…””}”(hj|hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hïhj>ubhŒ field of struct ”…””}”(hj>hžhhŸNh Nubh)”}”(hŒ:c:type:`v4l2_capability`”h]”hð)”}”(hjh]”hŒv4l2_capability”…””}”(hj’hžhhŸNh Nubah}”(h]”h ]”(Œxref”Œc”Œc-type”eh"]”h$]”h&]”uh1hïhjŽubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ!userspace-api/media/v4l/dev-radio”Œ refdomain”jŒreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰Œ reftarget”Œv4l2_capability”uh1hhŸh³h Khj>ubhŒ returned by the ”…””}”(hj>hžhhŸNh Nubh)”}”(hŒ:ref:`VIDIOC_QUERYCAP`”h]”hŒinline”“”)”}”(hj·h]”hŒVIDIOC_QUERYCAP”…””}”(hj»hžhhŸNh Nubah}”(h]”h ]”(jœŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j¹hjµubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j©Œ refdomain”jÅŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj¯Œvidioc_querycap”uh1hhŸh³h Khj>ubhŒR ioctl. Other combinations of capability flags are reserved for future extensions.”…””}”(hj>hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh³h Khj-hžhubeh}”(h]”Œquerying-capabilities”ah ]”h"]”Œquerying capabilities”ah$]”h&]”uh1hÂhhÄhžhhŸh³h KubhÃ)”}”(hhh]”(hÈ)”}”(hŒSupplemental Functions”h]”hŒSupplemental Functions”…””}”(hjìhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhjéhžhhŸh³h KubhØ)”}”(hŒsRadio devices can support :ref:`controls `, and must support the :ref:`tuner or modulator ` ioctls.”h]”(hŒRadio devices can support ”…””}”(hjúhžhhŸNh Nubh)”}”(hŒ:ref:`controls `”h]”jº)”}”(hjh]”hŒcontrols”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”(jœŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j¹hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j©Œ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj¯Œcontrol”uh1hhŸh³h KhjúubhŒ, and must support the ”…””}”(hjúhžhhŸNh Nubh)”}”(hŒ!:ref:`tuner or modulator `”h]”jº)”}”(hj(h]”hŒtuner or modulator”…””}”(hj*hžhhŸNh Nubah}”(h]”h ]”(jœŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j¹hj&ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j©Œ refdomain”j4Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj¯Œtuner”uh1hhŸh³h KhjúubhŒ ioctls.”…””}”(hjúhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh³h KhjéhžhubhØ)”}”(hŒèThey do not support the video input or output, audio input or output, video standard, cropping and scaling, compression and streaming parameter, or overlay ioctls. All other ioctls and I/O methods are reserved for future extensions.”h]”hŒèThey do not support the video input or output, audio input or output, video standard, cropping and scaling, compression and streaming parameter, or overlay ioctls. All other ioctls and I/O methods are reserved for future extensions.”…””}”(hjPhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh³h K"hjéhžhubeh}”(h]”Œsupplemental-functions”ah ]”h"]”Œsupplemental functions”ah$]”h&]”uh1hÂhhÄhžhhŸh³h KubhÃ)”}”(hhh]”(hÈ)”}”(hŒ Programming”h]”hŒ Programming”…””}”(hjihžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhjfhžhhŸh³h K)ubhØ)”}”(hX;Radio devices may have a couple audio controls (as discussed in :ref:`control`) such as a volume control, possibly custom controls. Further all radio devices have one tuner or modulator (these are discussed in :ref:`tuner`) with index number zero to select the radio frequency and to determine if a monaural or FM stereo program is received/emitted. Drivers switch automatically between AM and FM depending on the selected frequency. The :ref:`VIDIOC_G_TUNER ` or :ref:`VIDIOC_G_MODULATOR ` ioctl reports the supported frequency range.”h]”(hŒ@Radio devices may have a couple audio controls (as discussed in ”…””}”(hjwhžhhŸNh Nubh)”}”(hŒ:ref:`control`”h]”jº)”}”(hjh]”hŒcontrol”…””}”(hjƒhžhhŸNh Nubah}”(h]”h ]”(jœŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j¹hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j©Œ refdomain”jŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj¯Œcontrol”uh1hhŸh³h K+hjwubhŒ„) such as a volume control, possibly custom controls. Further all radio devices have one tuner or modulator (these are discussed in ”…””}”(hjwhžhhŸNh Nubh)”}”(hŒ :ref:`tuner`”h]”jº)”}”(hj¥h]”hŒtuner”…””}”(hj§hžhhŸNh Nubah}”(h]”h ]”(jœŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j¹hj£ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j©Œ refdomain”j±Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj¯Œtuner”uh1hhŸh³h K+hjwubhŒØ) with index number zero to select the radio frequency and to determine if a monaural or FM stereo program is received/emitted. Drivers switch automatically between AM and FM depending on the selected frequency. The ”…””}”(hjwhžhhŸNh Nubh)”}”(hŒ&:ref:`VIDIOC_G_TUNER `”h]”jº)”}”(hjÉh]”hŒVIDIOC_G_TUNER”…””}”(hjËhžhhŸNh Nubah}”(h]”h ]”(jœŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j¹hjÇubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j©Œ refdomain”jÕŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj¯Œvidioc_g_tuner”uh1hhŸh³h K+hjwubhŒ or ”…””}”(hjwhžhhŸNh Nubh)”}”(hŒ.:ref:`VIDIOC_G_MODULATOR `”h]”jº)”}”(hjíh]”hŒVIDIOC_G_MODULATOR”…””}”(hjïhžhhŸNh Nubah}”(h]”h ]”(jœŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j¹hjëubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j©Œ refdomain”jùŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj¯Œvidioc_g_modulator”uh1hhŸh³h K+hjwubhŒ- ioctl reports the supported frequency range.”…””}”(hjwhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh³h K+hjfhžhubeh}”(h]”Œ programming”ah ]”h"]”Œ programming”ah$]”h&]”uh1hÂhhÄhžhhŸh³h K)ubeh}”(h]”(Œradio-interface”hÁeh ]”h"]”(Œradio interface”Œradio”eh$]”h&]”uh1hÂhhhžhhŸh³h KŒexpect_referenced_by_name”}”j#h¶sŒexpect_referenced_by_id”}”hÁh¶subeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h³uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÇNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jMŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h³Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”hÁ]”h¶asŒnameids”}”(j#hÁj"jjæjãjcj`jjuŒ nametypes”}”(j#ˆj"‰jæ‰jc‰j‰uh}”(hÁhÄjhÄjãj-j`jéjjfuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hØ)”}”(hhh]”hŒ+Hyperlink target "radio" is not referenced.”…””}”hj·sbah}”(h]”h ]”h"]”h$]”h&]”uh1h×hj´ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”h³Œline”Kuh1j²ubaŒ transformer”NŒ include_log”]”Œ decoration”Nhžhub.