€•z2Œ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ŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/pt_BR/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”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhûubhŒ and ”…””}”(hhûh²hh³Nh´Nubj)”}”(hŒ``/dev/radio0``”h]”hŒ /dev/radio0”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhûubhŒ to ”…””}”(hhûh²hh³Nh´Nubj)”}”(hŒ``/dev/radio63``”h]”hŒ /dev/radio63”…””}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhû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”…””}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjAh²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 ”…””}”(hjRh²hh³Nh´Nubj)”}”(hŒ``V4L2_CAP_RADIO``”h]”hŒV4L2_CAP_RADIO”…””}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjRubhŒ and ”…””}”(hjRh²hh³Nh´Nubj)”}”(hŒ``V4L2_CAP_TUNER``”h]”hŒV4L2_CAP_TUNER”…””}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjRubhŒ or ”…””}”(hjRh²hh³Nh´Nubj)”}”(hŒ``V4L2_CAP_MODULATOR``”h]”hŒV4L2_CAP_MODULATOR”…””}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjRubhŒ flag in the ”…””}”(hjRh²hh³Nh´Nubj)”}”(hŒ``capabilities``”h]”hŒ capabilities”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjRubhŒ field of struct ”…””}”(hjRh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_capability`”h]”j)”}”(hj¤h]”hŒv4l2_capability”…””}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œc”Œc-type”eh"]”h$]”h&]”uh1jhj¢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´KhjRubhŒ returned by the ”…””}”(hjRh²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´KhjRubhŒR ioctl. Other combinations of capability flags are reserved for future extensions.”…””}”(hjRh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KhjAh²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”…””}”(hjh²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 ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:ref:`controls `”h]”jÝ)”}”(hj'h]”hŒcontrols”…””}”(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”j3Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjÒŒcontrol”uh1hh³hÇh´K hjubhŒ, and must support the ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ!:ref:`tuner or modulator `”h]”jÝ)”}”(hjKh]”hŒtuner or modulator”…””}”(hjMh²hh³Nh´Nubah}”(h]”h ]”(j°Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jÜhjIubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j½Œ refdomain”jWŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjÒŒtuner”uh1hh³hÇh´K hjubhŒ ioctls.”…””}”(hjh²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.”…””}”(hjsh²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”…””}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj‰h²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Ý)”}”(hj¤h]”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Ý)”}”(hjh]”hŒVIDIOC_G_MODULATOR”…””}”(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ÒŒ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,hj‰h²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”}”jFhÊ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”jpŒ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”}”(jFhÕjEjBj jj†jƒj=j:uŒ nametypes”}”(jFˆjE‰j ‰j†‰j=‰uh}”(hÕhØjBhØjjAjƒj j:j‰uŒ 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.