Re: Commit a551d91473 (ALSA: hda - Use regmap for command verb caches, too) breaks TOSLINK

From: Takashi Iwai
Date: Thu Apr 16 2015 - 03:57:08 EST


At Thu, 16 Apr 2015 09:15:04 +0200,
Markus Trippelsdorf wrote:
>
> Hi,
>
> since commit a551d914:
> Author: Takashi Iwai <tiwai@xxxxxxx>
> Date: Thu Feb 26 12:34:49 2015 +0100
>
> ALSA: hda - Use regmap for command verb caches, too
>
> my DAC receives no signal over TOSLINK-S/PDIF anymore.
>
> Reverting the commit on top of the current Linus tree "fixes" the issue.
>
> % aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 0: SB [HDA ATI SB], device 3: VT1708S Digital [VT1708S Digital]
> Subdevices: 0/1
> Subdevice #0: subdevice #0
> card 1: HDMI [HDA ATI HDMI], device 3: ID 791a Digital [ID 791a Digital]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
> [VT1708S Digital] is the device I use.
>
> # cat /etc/asound.conf
> pcm.!default {
> type hw
> card 0
> device 3
> }
>
> ctl.!default {
> type hw
> card 0
> device 3
> }
>
> pcm.crossfeed {
> type plug
> slave.pcm "ladspa"
> }
>
> pcm.guitar {
> type plug
> slave.pcm "ladspa2"
> }
>
> pcm.ladspa {
> type ladspa
> slave.pcm "plughw:0,3";
> path "/usr/lib/ladspa";
> plugins [
> {
> label bs2b
> input {
> controls [ 700 4 ]
> }
> }
> ]
> }
>
> pcm.ladspa2{
> type ladspa
> slave.pcm "plughw:2,0";
> path "/usr/lib/ladspa";
> plugins [
> {
> label bs2b
> input {
> controls [ 700 4 ]
> }
> }
> ]
> }

Could you give alsa-info.sh outputs from both working and non-working
cases? Run the script with --no-upload option and give attachments
(better compressed). Take snapshots while you're testing the
playback.


thanks,

Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/