While going through Ubuntu bugs, I discovered this patch being
posted and a confirmation that the patch works as expected.

Finding out how the hw volume really works would be preferrable
to just disabling the broken one, but this would be better than
nothing.

Credit: sndfnsdfin (qawsnews)
BugLink: https://bugs.launchpad.net/bugs/559939
Signed-off-by: David Henningsson <david.hennings...@canonical.com>
---
 sound/usb/mixer.c |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index 4f40ba8..fe56c9d 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -1267,6 +1267,13 @@ static int parse_audio_feature_unit(struct mixer_build 
*state, int unitid, void
                /* disable non-functional volume control */
                master_bits &= ~UAC_CONTROL_BIT(UAC_FU_VOLUME);
                break;
+       case USB_ID(0x1130, 0xf211):
+               snd_printk(KERN_INFO
+                          "usbmixer: volume control quirk for Tenx TP6911 
Audio Headset\n");
+               /* disable non-functional volume control */
+               channels = 0;
+               break;
+
        }
        if (channels > 0)
                first_ch_bits = snd_usb_combine_bytes(bmaControls + csize, 
csize);
-- 
1.7.9.5

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/559939

Title:
  [USB-Audio - USB  AUDIO  ] no volume control possible with Tenx USB
  audio adapter

Status in “alsa-driver” package in Ubuntu:
  Confirmed

Bug description:
  When using a "Logilink USB2.0 to Audio Adapter" (which apparently uses
  a Tenx Technology TP6911 chip, judging from USB id 1130:f211) under
  Lucid Beta, the volume control does not work. Sound is always played
  at same volume.

  The volume slider in panel can be used but doesn't have any effect on
  volume, except that going down near 0 suddenly mutes the sound. Also,
  when using the slider in Volume Settings dialog, moving the volume
  above the 100% mark actually increases playback volume - but I assume
  this is done by Pulseaudio in software?

  Aside from the volume issue, the device seems to basically work - it
  is displayed in Audio Settings as additional input/output device, and
  it plays sound (didn't test recording, though).

  According to http://www.tenx.com.tw/product_detail.aspx?ProductID=192
  the chip is supposed to have "64-level volume control" - is that not
  true, or does the driver not make these 64 levels available?

  This is with up-to-date Lucid Beta, on EeePc 701. The normal built-in
  sound card works fine, including volume control.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
  ProcVersionSignature: Ubuntu 2.6.32-19.28-generic-pae 2.6.32.10+drm33.1
  Uname: Linux 2.6.32-19-generic-pae i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  oliver     1121 F.... pulseaudio
   /dev/snd/controlC0:  oliver     1121 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xf7eb8000 irq 16'
     Mixer name : 'Realtek ALC662 rev1'
     Components : 'HDA:10ec0662,104382a1,00100101'
     Controls      : 13
     Simple ctrls  : 8
  Card1.Amixer.info:
   Card hw:1 'default'/'USB  AUDIO   at usb-0000:00:1d.0-2, full speed'
     Mixer name : 'USB Mixer'
     Components : 'USB1130:f211'
     Controls      : 4
     Simple ctrls  : 2
  Date: Sat Apr 10 12:11:03 2010
  InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Alpha i386 (20100224.3)
  PackageArchitecture: all
  ProcEnviron:
   LANG=de_DE.utf8
   SHELL=/bin/bash
  SelectedCard: 1 default USB-Audio - USB  AUDIO
  SourcePackage: alsa-driver
  Symptom: audio
  Title: [USB-Audio - USB  AUDIO  ] Playback problem
  dmi.bios.date: 05/16/2008
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1101
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: 701
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: x.xx
  dmi.chassis.asset.tag: 0x00000000
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTek Computer INC.
  dmi.chassis.version: x.x
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr1101:bd05/16/2008:svnASUSTeKComputerINC.:pn701:pvrx.x:rvnASUSTeKComputerINC.:rn701:rvrx.xx:cvnASUSTekComputerINC.:ct10:cvrx.x:
  dmi.product.name: 701
  dmi.product.version: x.x
  dmi.sys.vendor: ASUSTeK Computer INC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/559939/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to