€•i1Œ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”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”j°Œ ASTIdentifier”“”)”}”Œ identifier”ŒV4L”sbN†”asbŒ 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 K hj ubhŒ, and must support the ”…””}”(hj hžhhŸNh Nubh)”}”(hŒ!:ref:`tuner or modulator `”h]”jÉ)”}”(hj7h]”hŒtuner or modulator”…””}”(hj9hžhhŸNh Nubah}”(h]”h ]”(jœŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÈhj5ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j©Œ refdomain”jCŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj¾Œtuner”uh1hhŸh³h K hj ubhŒ ioctls.”…””}”(hj hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh³h K hjø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.”…””}”(hj_hž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”…””}”(hjxhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhjuhž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 ”…””}”(hj†hž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ÈhjŽubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j©Œ refdomain”jœŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj¾Œcontrol”uh1hhŸh³h K,hj†ubhŒ„) such as a volume control, possibly custom controls. Further all radio devices have one tuner or modulator (these are discussed in ”…””}”(hj†hž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,hj†ubhŒØ) 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 ”…””}”(hj†hž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,hj†ubhŒ or ”…””}”(hj†hž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,hj†ubhŒ- ioctl reports the supported frequency range.”…””}”(hj†hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h×hŸh³h K,hjuhž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”}”j2h¶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”j\Œ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”}”(j2hÁj1j.jõjòjrjoj)j&uŒ nametypes”}”(j2ˆj1‰jõ‰jr‰j)‰uh}”(hÁhÄj.hÄjòj-jojøj&juuŒ 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.