From: Takashi Iwai <tiwai@suse.de>
To: Adam Goode <adam@spicenitz.org>
Cc: alsa-devel@alsa-project.org, Robin Gareus <robin@gareus.org>,
Chris J Arges <chris.j.arges@canonical.com>
Subject: Re: Scarlett 18i8 hardware out of sync with AlsaMixer
Date: Wed, 27 May 2015 15:24:17 +0200 [thread overview]
Message-ID: <s5hzj4q9mri.wl-tiwai@suse.de> (raw)
In-Reply-To: <CADN=WdpM_gUD=TpxP9cJmS3VXRwzgODgNeNE0Z2EwC71mZ8yAw@mail.gmail.com>
[Added more people to Cc]
At Wed, 27 May 2015 08:55:21 -0400,
Adam Goode wrote:
>
> The settings were not reset across a mem sleep (echo mem > /sys/power/state).
>
> Hard power off / power on does make the settings get out of sync.
Then maybe the problem is that the device keeps the old setting while
the driver resets to the default. I vaguely remember that scarlett
could save the default state in a persistent area, and the original
driver patch had a kctl to trigger it. We didn't take it because it
might be dangerous.
Takashi
> Adam
>
>
> On Wed, May 27, 2015 at 2:43 AM, Takashi Iwai <tiwai@suse.de> wrote:
> > At Tue, 26 May 2015 21:39:22 -0400,
> > Adam Goode wrote:
> >>
> >> Linux 4.0.2-300.fc22.x86_64
> >>
> >> Hi,
> >>
> >> I have the Scarlett 18i8 USB device that is supported by the new
> >> scarlett_mixer.c code. I am happy to say that the mixer code works in
> >> most cases. But under some conditions, I cannot get any sound out of
> >> the device until I go and toggle the "Matrix 01 Input" and "Matrix 02
> >> Input" enums up and then down (from PCM 1 and PCM 2). This appears to
> >> me to be some kind of cache invalidation bug, where the device is out
> >> of sync with kernel mixer state.
> >>
> >> I will take a look at the code myself at some point, but not for a
> >> while. But I am happy to try patches if anyone comes up with anything
> >> in the mean time.
> >
> > Does it happen after some S3/S4 or even during a normal operation
> > without power-saving? The USB-audio device supports autopm, so this
> > needs to be checked, too.
> >
> >
> > Takashi
>
next prev parent reply other threads:[~2015-05-27 13:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-27 1:39 Scarlett 18i8 hardware out of sync with AlsaMixer Adam Goode
2015-05-27 6:43 ` Takashi Iwai
2015-05-27 12:55 ` Adam Goode
2015-05-27 13:24 ` Takashi Iwai [this message]
2015-05-27 13:37 ` Adam Goode
2015-05-27 13:53 ` Chris J Arges
2015-06-09 21:44 ` Adam Goode
2015-06-10 4:24 ` Adam Goode
2015-06-13 23:03 ` Robin Gareus
2015-06-19 11:34 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hzj4q9mri.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=adam@spicenitz.org \
--cc=alsa-devel@alsa-project.org \
--cc=chris.j.arges@canonical.com \
--cc=robin@gareus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox