All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@caiaq.de>
To: Matti Picus <matti.picus@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: S51 usb support
Date: Tue, 5 Oct 2010 09:38:54 +0200	[thread overview]
Message-ID: <20101005073853.GL7159@buzzloop.caiaq.de> (raw)
In-Reply-To: <4CAA3458.9080007@gmail.com>

On Mon, Oct 04, 2010 at 10:08:56PM +0200, Matti Picus wrote:
> On 10/04/2010 06:41 AM, Daniel Mack wrote:
> >As for the volume controls, there are merely two ways how they can be
> >implemented on USB soundcards. One is as feature unit control, and the
> >other is a proprietary vendor specific USB request. You should start
> >having a look at the USB descriptors the devices exports (by running
> >"lsusb -v").
> >
> OK, what should I be looking for? Here is a summary:

Normally, the volume would be controlled by a feature unit. Just post
the whole output of 'lsusb -v' to some pastebin website and post the
link.

> The card must offer something close to a standard set of volume
> controls since pulseaudio can control the basic stereo volume
> sliders. 

No. PulseAudio will do the volume control in software if there are no
hardware controls.

> I would be happy if amixer or even alsamixer would see just
> the analog stereo output and analog line-in input. Currently,
> pulseaudio can control the volume levels but alsa cannot, alsamixer
> simply shows no volume controls.

Yes, because the driver doesn't know about any volume controls. If you
manage to implement them, PA will also use them.

> Any guidance you can give toward getting the volume controls
> recognized would be greatly appreciate.

The best way is to sniff the USB communication when Windows sets the
volume, and add controls to the Linux driver and make it do the same
thing.


Daniel

  reply	other threads:[~2010-10-05  7:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-03 21:22 S51 usb support Matti Picus
2010-10-04  4:41 ` Daniel Mack
2010-10-04 20:08   ` Matti Picus
2010-10-05  7:38     ` Daniel Mack [this message]
2010-10-05 19:11       ` Matti Picus
2010-10-05 22:04         ` Daniel Mack
  -- strict thread matches above, loose matches on Subject: below --
2010-10-20 20:30 Mandar Joshi
2010-10-22  5:14 ` Mandar Joshi
2010-10-23 15:37   ` Mandar Joshi

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=20101005073853.GL7159@buzzloop.caiaq.de \
    --to=daniel@caiaq.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=matti.picus@gmail.com \
    /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.