Hi,
this might be a topic for the Kodi Forum, but I have read more detailed technical CEC threads here, so I think this is the real home of CEC experts.
I am running LE12 stable on a RPi 5.
This is my HDMI setup:
- The Pi is connected to my TV (LG G4)
 - The AVR (Yamaha) is connected to my TV as well 
 - Sound is passed through from the Pi to the AVR using ARC
 
This is the current CEC topology:
	
	
		htpc:~ # cec-ctl -S
Driver Info:
    Driver Name                : vc4_hdmi
    Adapter Name               : vc4-hdmi-0
    Capabilities               : 0x0000010e
        Logical Addresses
        Transmit
        Passthrough
        Connector Info
    Driver version             : 6.6.28
    Available Logical Addresses: 1
    DRM Connector Info         : card 1, connector 32
    Physical Address           : 4.0.0.0
    Logical Address Mask       : 0x0002
    CEC Version                : 1.4
    Vendor ID                  : 0x001582 (Pulse-Eight)
    OSD Name                   : ''
    Logical Addresses          : 1 (Allow Fallback to Unregistered)
      Logical Address          : 1 (Recording Device 1)
        Primary Device Type    : Record
        Logical Address Type   : Record
        All Device Types       : Record
        RC TV Profile          : None
        Device Features        :
        None
    System Information for device 0 (TV) from device 1 (Recording Device 1):
        CEC Version                : 1.4
        Physical Address           : 0.0.0.0
        Primary Device Type        : TV
        Vendor ID                  : 0x00e091 (LG)
        OSD Name                   : Tx, OK, Rx, OK, Feature Abort
        Menu Language              : ger
        Power Status               : On
    System Information for device 5 (Audio System) from device 1 (Recording Device 1):
        CEC Version                : 1.4
        Physical Address           : 2.0.0.0
        Primary Device Type        : Audio System
        Vendor ID                  : 0x00a0de (Yamaha)
        OSD Name                   : 'RX-V381'
        Power Status               : Standby
    Topology:
        0.0.0.0: TV
            2.0.0.0: Audio System
            4.0.0.0: Recording Device 1
	
			Display More
	 
Using the CEC Adapter add-on (Pulse-Eight) I can successfully control the volume of the AVR when it is on, although it seems like the add-on is sending the underlying CEC volume control message directly to the AVR. At least there is no OSD shown on the TV and I can't control the TV's volume when the AVR is turned off.
This is the add-on's config:
	
	
		<settings>
    <setting id="activate_source" value="1"/>
    <setting id="button_release_delay_ms" value="0"/>
    <setting id="button_repeat_rate_ms" value="0"/>
    <setting id="cec_hdmi_port" value="1"/>
    <setting id="cec_standby_screensaver" value="0"/>
    <setting id="cec_wake_screensaver" value="0"/>
    <setting id="connected_device" value="36037"/>
    <setting id="device_name" value="Kodi"/>
    <setting id="device_type" value="36051"/>
    <setting id="double_tap_timeout_ms" value="300"/>
    <setting id="enabled" value="1"/>
    <setting id="pause_or_stop_playback_on_deactivate" value="36045"/>
    <setting id="pause_playback_on_deactivate" value="0"/>
    <setting id="physical_address" value="0"/>
    <setting id="power_avr_on_as" value="0"/>
    <setting id="send_inactive_source" value="1"/>
    <setting id="standby_devices" value="231"/>
    <setting id="standby_devices_advanced" value=""/>
    <setting id="standby_pc_on_tv_standby" value="36028"/>
    <setting id="standby_tv_on_pc_standby" value="0"/>
    <setting id="tv_vendor" value="0"/>
    <setting id="use_tv_menu_language" value="0"/>
    <setting id="wake_devices" value="36037"/>
    <setting id="wake_devices_advanced" value=""/>
</settings>
	
			Display More
	 
So my question is:
Is it possible to have the CEC Adapter add-on send CEC volume control messages to the TV instead of the AVR?