You are not logged in.

#1 2015-06-28 12:40:16

wywialm
Member
Registered: 2013-11-11
Posts: 6

No sound on VT8237A sound card

Hi,

I recently installed Arch linux on HP 2133 with VT8237A sound card (VIA chipset). I installed alsa-utils, alsa-plugins, pulseaudio and gstreamer together with pavucontrol.

I'm pretty sure that all channels are unmuted (this is showed by alsamixer and pavucontrol). Pavucontrol shows meter moving when speaker-test is run, however, no sound is played.

The output of alsa-info.sh script is available here: http://www.alsa-project.org/db/?f=7d033 … fa49adcbef

I thought that the problem might be caused by wrong kernel modules, so I created /etc/alsa-base.conf:

options snd_via82xx index=0 dxs_support=4

Also, I created /etc/modules-load.d/snd-via82xx.conf:

snd_via82xx

None of this helped.

What am I doing wrong?

Thanks in advance!

Offline

#2 2015-06-28 13:29:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: No sound on VT8237A sound card

pacmd list-cards
pacmd list-sinks

Should give some more info here, generally have you checked that the correct profile is set under pavucontrol's configuration tab? If you think it's the driver and you know the driver you load is correct, you will likely have to blacklist snd_hda_intel as well, since that one is loaded automatically (to determine which drivers are actually usable and/or loaded by the kernel look for

lspci -k | grep -A3 Audio

there should only be one that is denoted as 'in use' otherwise you will have conflicts)

Offline

#3 2015-07-02 06:48:14

wywialm
Member
Registered: 2013-11-11
Posts: 6

Re: No sound on VT8237A sound card

V1del,
Thank you for your answer.

This is the output of lsmod | grep ^snd command:

localhost% lsmod | grep ^snd  
snd_hda_codec_analog    16384  1
snd_hda_codec_generic    65536  1 snd_hda_codec_analog
snd_hda_intel          28672  6
snd_hda_controller     28672  1 snd_hda_intel
snd_hda_codec          98304  4 snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,snd_hda_codec_analog
snd_hwdep              16384  1 snd_hda_codec
snd_via82xx            28672  0
snd_mpu401_uart        16384  1 snd_via82xx
snd_ac97_codec         98304  1 snd_via82xx
snd_rawmidi            24576  1 snd_mpu401_uart
snd_seq_device         16384  1 snd_rawmidi
snd_pcm                77824  6 snd_via82xx,snd_ac97_codec,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              28672  1 snd_pcm
snd                    57344  23 snd_via82xx,snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_mpu401_uart,snd_seq_device,snd_hda_codec_analog
localhost% lspci -k | grep -A3 Audio              
80:01.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 10)
	Subsystem: Hewlett-Packard Company Device 3030
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

This is the output of pacmd list-cards:

localhost% pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_80_01.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA VIA VT82xx"
		alsa.long_card_name = "HDA VIA VT82xx at 0xfebfc000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:80:01.0"
		sysfs.path = "/devices/pci0000:80/0000:80:01.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1106"
		device.vendor.name = "VIA Technologies, Inc."
		device.product.id = "3288"
		device.product.name = "VT8237A/VT8251 HDA Controller"
		device.string = "0"
		device.description = "VT8237A/VT8251 HDA Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_80_01.0.analog-stereo/#0: VT8237A/VT8251 HDA Controller Analog Stereo
	sources:
		alsa_output.pci-0000_80_01.0.analog-stereo.monitor/#0: Monitor of VT8237A/VT8251 HDA Controller Analog Stereo
		alsa_input.pci-0000_80_01.0.analog-stereo/#1: VT8237A/VT8251 HDA Controller Analog Stereo
	ports:
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"

Pavucontrol has Analog Stereo Duplex selected, switching to Analog Stereo Output doesn't help.

Here is the output of pacmd list-sinks:

localhost% pacmd list-sinks         
1 sink(s) available.
  * index: 0
	name: <auto_null>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 344 KiB
	max rewind: 344 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 11
	properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"

As you might suspect, sound still doesn't work.

I blacklisted snd_hda_intel by adding

blacklist snd_hda_intel

at the beginning of /etc/modprobe.d/alsa-base.conf
After that, no card is detected, no kernel module is loaded.

After removing both /etc/modprobe.d/alsa-base.conf and /etc/modules-load.d/snd-via82xx.conf (thus resetting to default modules), lsmod shows the following:

localhost% lsmod | grep ^snd                             
snd_hda_codec_analog    16384  1
snd_hda_codec_generic    65536  1 snd_hda_codec_analog
snd_hda_intel          28672  4
snd_hda_controller     28672  1 snd_hda_intel
snd_hda_codec          98304  4 snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,snd_hda_codec_analog
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                77824  3 snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              28672  1 snd_pcm
snd                    57344  15 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_hda_codec_analog

After reset I noticed that the headphones work - however, speakers still don't. I am pretty convinced that the speakers are not broken as hardware since before install they worked.

Again, I created /etc/modprobe.d/alsa-base.conf and started experimenting with options:

options snd-hda-intel index=1,0 model=auto

and similar. still, without success.


What should I do now?

Offline

#4 2015-07-02 07:42:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: No sound on VT8237A sound card

Hmmm the card is detected properly, yet you get a null sink, which is weird, can you post

# fuser -v /dev/snd/*

but technically headphones shouldn't work then either, do you get an usable pulse sink when you plug your headphones in? may also be a mute toggle or similar in alsamixer. If you don't see anything obvious (all the devices from the fuser command should be occupied by pulseaudio and you don't see a setting in alsamixer) it might be a wrong jack wiring, in which case there is hdajackretask with which you should be able to set the correct output for the speakers

Offline

#5 2015-07-02 08:04:28

wywialm
Member
Registered: 2013-11-11
Posts: 6

Re: No sound on VT8237A sound card

Here is the pacmd command output with new alsa-base.conf file:

localhost% pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_80_01.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9059
	volume: front-left: 64044 /  98% / -0.60 dB,   front-right: 64044 /  98% / -0.60 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1837.33 ms
	card: 0 <alsa_card.pci-0000_80_01.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "AD1984A Analog"
		alsa.id = "AD1984A Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA VIA VT82xx"
		alsa.long_card_name = "HDA VIA VT82xx at 0xfebfc000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:80:01.0"
		sysfs.path = "/devices/pci0000:80/0000:80:01.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1106"
		device.vendor.name = "VIA Technologies, Inc."
		device.product.id = "3288"
		device.product.name = "VT8237A/VT8251 HDA Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "VT8237A/VT8251 HDA Controller Analog Stereo"
		alsa.mixer_name = "Analog Devices AD1984A"
		alsa.components = "HDA:11d4194a,103c3030,00100400"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>

Here is the output of fuser -v /dev/snd/* :

                     USER        PID ACCESS COMMAND
/dev/snd/controlC1:  user       444 F.... pulseaudio
                     user       477 F.... panel-20-mixer
                     user       478 F.... xfce4-volumed

Most recent output of alsa-info.sh is here: http://www.alsa-project.org/db/?f=7cf1e … d4bdb0bb1e

Nothing was muted on alsamixer.

After I plug the headphones, I see the following output of pacmd list-sinks:

localhost% pacmd list-sinks                       
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_80_01.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9059
	volume: front-left: 60671 /  93% / -2.01 dB,   front-right: 60671 /  93% / -2.01 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
	card: 0 <alsa_card.pci-0000_80_01.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "AD1984A Analog"
		alsa.id = "AD1984A Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA VIA VT82xx"
		alsa.long_card_name = "HDA VIA VT82xx at 0xfebfc000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:80:01.0"
		sysfs.path = "/devices/pci0000:80/0000:80:01.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1106"
		device.vendor.name = "VIA Technologies, Inc."
		device.product.id = "3288"
		device.product.name = "VT8237A/VT8251 HDA Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "VT8237A/VT8251 HDA Controller Analog Stereo"
		alsa.mixer_name = "Analog Devices AD1984A"
		alsa.components = "HDA:11d4194a,103c3030,00100400"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-headphones>

and fuser:

                     USER        PID ACCESS COMMAND
/dev/snd/controlC1:  user       415 F.... pulseaudio
                     user       440 F.... panel-20-mixer
                     user       448 F.... xfce4-volumed

What should I set with hdajackretask?

Last edited by wywialm (2015-07-03 11:55:26)

Offline

Board footer

Powered by FluxBB