From: Chris J Arges <chris.j.arges@canonical.com>
To: Tobias Hoffmann <th55@gmx.de>
Cc: Takashi Iwai <tiwai@suse.de>,
alsa-devel@alsa-project.org, robin@gareus.org,
clemens@ladisch.de, david.henningsson@canonical.com
Subject: Re: [PATCH 4/4 v4] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20
Date: Tue, 4 Nov 2014 13:51:05 -0600 [thread overview]
Message-ID: <20141104195104.GA9391@canonical.com> (raw)
In-Reply-To: <5458D19D.7050206@gmx.de>
On Tue, Nov 04, 2014 at 02:16:13PM +0100, Tobias Hoffmann wrote:
<snip>
> @Chris:
> The original get_ctl_value (after cleanup:
> snd_usb_get_cur_mix_value) contained this:
> > // quirk: write 2bytes, but read 1byte
> > if ( (elem->index == 0x01)|| // input impedance and
> >input pad switch
> > ((elem->index == 0x0a)&&(elem->wValue < 0x0200))|| //
> >bus mutes
> > (elem->index == 0x32)||(elem->index == 0x33) ) { // mux
> > val_len = 1;
> > }
> Is it removed(AFAICT) intentionally in your patches?
> The windows mixer software did read-back some values (but only after
> they had been written once, IIRC), and had this asymmetry that
> certain registers used 2-byte writes but 1-byte reads...
> I'm quite unsure about just reading 2 bytes, i.e. whether the device
> would actually return the correct values.
> OTOH, we should only hit the cache because of the zero-initialization(?).
>
> Tobias
>
Tobias,
I've notcied that the controls work just fine without this hack (at least on my 18i8);
however I can look more closely into this to see what the extra byte that's being read actually is.
--chris
next prev parent reply other threads:[~2014-11-04 19:51 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 19:46 [PATCH v2] Scarlett mixer interface inclusion Chris J Arges
2014-10-21 19:46 ` [PATCH v2] Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-10-22 6:49 ` Takashi Iwai
2014-10-22 18:44 ` Chris J Arges
2014-10-29 20:55 ` [PATCH v3 0/4] Scarlett mixer interface inclusion Chris J Arges
2014-10-29 20:56 ` [PATCH v3 1/4] Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett Chris J Arges
2014-10-29 20:56 ` [PATCH v3 2/4] ALSA: usb-audio: Add usb_mixer_elem_enum_info Chris J Arges
2014-10-30 7:17 ` Takashi Iwai
2014-10-29 20:56 ` [PATCH v3 3/4] ALSA: usb-audio: make set_*_mix_values functions public Chris J Arges
2014-10-29 20:56 ` [PATCH v3 4/4] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-10-30 7:43 ` Takashi Iwai
2014-11-03 17:11 ` Chris J Arges
2014-11-03 17:31 ` Clemens Ladisch
2014-10-30 7:11 ` [PATCH v3 0/4] Scarlett mixer interface inclusion Takashi Iwai
2014-11-03 22:58 ` [PATCH 0/4 v4] " Chris J Arges
2014-11-03 22:58 ` [PATCH 1/4 v4] Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett Chris J Arges
2014-11-03 22:58 ` [PATCH 2/4 v4] ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info Chris J Arges
2014-11-03 22:58 ` [PATCH 3/4 v4] ALSA: usb-audio: make set_*_mix_values functions public Chris J Arges
2014-11-03 22:58 ` [PATCH 4/4 v4] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-11-04 10:18 ` Takashi Iwai
2014-11-04 13:16 ` Tobias Hoffmann
2014-11-04 13:29 ` Tobias Hoffmann
2014-11-04 19:45 ` Chris J Arges
2014-11-04 14:00 ` Takashi Iwai
2014-11-04 19:56 ` Chris J Arges
2014-11-04 19:51 ` Chris J Arges [this message]
2014-11-05 16:32 ` [PATCH v5] " Chris J Arges
2014-11-06 14:33 ` [PATCH 0/4 v5] Scarlett mixer interface inclusion Chris J Arges
2014-11-06 14:33 ` [PATCH 1/4 v5] Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett Chris J Arges
2014-11-06 14:33 ` [PATCH 2/4 v5] ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info Chris J Arges
2014-11-06 14:33 ` [PATCH 3/4 v5] ALSA: usb-audio: make set_*_mix_values functions public Chris J Arges
2014-11-06 14:33 ` [PATCH 4/4 v5] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-11-07 10:15 ` Takashi Iwai
2014-11-10 18:59 ` [PATCH 0/4 v6] Scarlett mixer interface inclusion Chris J Arges
2014-11-10 18:59 ` [PATCH 1/4 v6] Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett Chris J Arges
2014-11-10 18:59 ` [PATCH 2/4 v6] ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info Chris J Arges
2014-11-10 18:59 ` [PATCH 3/4 v6] ALSA: usb-audio: make set_*_mix_values functions public Chris J Arges
2014-11-10 18:59 ` [PATCH 4/4 v6] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-11-10 19:24 ` Takashi Iwai
2014-11-10 22:00 ` Chris J Arges
2014-11-11 7:33 ` Takashi Iwai
2014-11-12 18:06 ` [PATCH 0/4 v7] Scarlett mixer interface inclusion Chris J Arges
2014-11-12 18:06 ` [PATCH 1/4 v7] Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett Chris J Arges
2014-11-12 18:07 ` [PATCH 2/4 v7] ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info Chris J Arges
2014-11-12 18:07 ` [PATCH 3/4 v7] ALSA: usb-audio: make set_*_mix_values functions public Chris J Arges
2014-11-12 18:07 ` [PATCH 4/4 v7] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-11-13 6:36 ` [PATCH 0/4 v7] Scarlett mixer interface inclusion Takashi Iwai
2014-11-13 6:38 ` David Henningsson
2014-11-13 13:01 ` Chris J Arges
2014-11-04 20:11 ` [PATCH 4/4 v4] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 David Henningsson
2014-11-04 20:18 ` Chris J Arges
2014-11-05 9:55 ` David Henningsson
2014-11-02 19:00 ` [PATCH v3 0/4] Scarlett mixer interface inclusion Dominik Haumann
2014-11-03 15:49 ` Chris J Arges
2014-11-03 22:31 ` Chris J Arges
2014-10-22 6:36 ` [PATCH v2] " Takashi Iwai
2014-11-05 11:33 ` Takashi Iwai
2014-11-05 12:39 ` Takashi Iwai
2014-11-05 14:20 ` Takashi Iwai
2014-11-05 14:30 ` Chris J Arges
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=20141104195104.GA9391@canonical.com \
--to=chris.j.arges@canonical.com \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=david.henningsson@canonical.com \
--cc=robin@gareus.org \
--cc=th55@gmx.de \
--cc=tiwai@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.