I am trying to connect my computer to a monitor and speakers using a single HDMI cable. My computer recognizes HDMI because my screen connects. However even after multiple attempts I can not make the sound work. Ubuntu does not recognize an HDMI output although with aplay gives me three HDMI output.
╭─simon@simon-UX305UA ~ ╰─$ aplay -l output**** List of PLAYBACK Hardware Devices ****card 0: PCH [HDA Intel PCH], device 0: CX20751/2 Analog [CX20751/2 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0
I try to use them with speaker-test but no sound comes out.
╭─simon@simon-UX305UA ~ ╰─$ speaker-test --channels 2 --rate 48000 --device hw:0,3 speaker-test 1.1.3Playback device is hw:0,3Stream parameters are 48000Hz, S16_LE, 2 channelsUsing 16 octaves of pink noiseRate set to 48000Hz (requested 48000Hz)Buffer size range from 64 to 16384Period size range from 32 to 8192Using max buffer size 16384Periods = 4was set period_size = 4096was set buffer_size = 16384 0 - Unknown 1 - UnknownTime per period = 4.588343
I tried every HDMI output with speaker-testThanks for reading