[alsa-devel] Regression in Traktor Audio10 driver (snd-usb-audio) mixer flags

Owen Williams owilliams at mixxx.org
Tue Jan 12 22:24:41 CET 2016


Finally found the bad commit:
SHA da6d276957ea56b9514aa5c8d885edf22f0b3e65
ALSA: usb-audio: Add resume support for Native Instruments controls

I did upgrade my firmware at some point, perhaps the newer firmware
changed how this works.  Happy to test whatever patches against a newer
kernel (I'm on Wily, so 4.2.0-23).

Owen


On Tue, 2016-01-12 at 07:22 +0100, Takashi Iwai wrote:
> On Sun, 10 Jan 2016 21:20:17 +0100,
> Owen Williams wrote:
> > 
> > Unfortunately I can't narrow the problem down more specifically than
> > the changes from Ubuntu-3.18.0-14.14 to Ubuntu-3.19.0-1.1.  If I try to
> > git bisect between those, I end up with commits that don't have the
> > proper debian packaging information so I can't build packages.  Any
> > ideas?  I see a bunch of merges for the sound subsystem in the 3.19
> > branch so if can figure out how to build debs I bet the problem is in
> > there.
> 
> Well, usually you'd need to install the kernel manually without
> packaging.  There aren't so wide spread files / directories, so it's
> not too hard to manage manually.
> 
> 
> Takashi
> 
> > 
> > On Sat, 2016-01-09 at 08:42 +0100, Takashi Iwai wrote:
> > > On Fri, 08 Jan 2016 15:18:58 +0100,
> > > Owen Williams wrote:
> > > > 
> > > > Sorry to bump my own thread, but I don't know how else to report
> > > > bugs to
> > > > ALSA (I think the bug tracker was abandoned a while back?).  I'm
> > > > willing
> > > > to do work to diagnose and fix this problem (I'm comfortable
> > > > building
> > > > kernels, doing git bisect, using gdb, etc) but I need some guidance
> > > > about how to start.
> > > 
> > > If the problem is easily reproducible, could you try bisection?
> > > This is the best way to spot out the cause.
> > > 
> > > 
> > > thanks,
> > > 
> > > Takashi
> > > 
> > > > On Thu, 2015-12-31 at 13:26 -0500, Owen Williams wrote:
> > > > > Sometime between kernels 3.13 (ubuntu 14.04) and 3.19 (15.04)
> > > > > there was
> > > > > a regression that caused the mixer elements of the Traktor
> > > > > Audio10
> > > > > driver to stop responding to changes to True.  I have an older
> > > > > machine
> > > > > still running 14.04, and if I open alsamixer I can see and
> > > > > interact
> > > > > with the 8 basic boolean switches:
> > > > > 
> > > > > numid=3,iface=MIXER,name='Direct Thru Channel A'
> > > > >   ; type=BOOLEAN,access=rw------,values=1
> > > > >   : values=off
> > > > > numid=4,iface=MIXER,name='Direct Thru Channel B'
> > > > >   ; type=BOOLEAN,access=rw------,values=1
> > > > >   : values=off
> > > > > numid=5,iface=MIXER,name='Direct Thru Channel C'
> > > > >   ; type=BOOLEAN,access=rw------,values=1
> > > > >   : values=off
> > > > > numid=6,iface=MIXER,name='Direct Thru Channel D'
> > > > >   ; type=BOOLEAN,access=rw------,values=1
> > > > >   : values=off
> > > > > numid=7,iface=MIXER,name='Phono Input Channel A'
> > > > >   ; type=BOOLEAN,access=rw------,values=1
> > > > >   : values=off
> > > > > numid=8,iface=MIXER,name='Phono Input Channel B'
> > > > >   ; type=BOOLEAN,access=rw------,values=1
> > > > >   : values=off
> > > > > numid=9,iface=MIXER,name='Phono Input Channel C'
> > > > >   ; type=BOOLEAN,access=rw------,values=1
> > > > >   : values=off
> > > > > numid=10,iface=MIXER,name='Phono Input Channel D'
> > > > >   ; type=BOOLEAN,access=rw------,values=1
> > > > >   : values=off
> > > > > 
> > > > > 
> > > > > or I can use amixer:
> > > > > amixer -c T10 cset numid=8 on
> > > > > 
> > > > > 
> > > > > however on my newer machine, with ubuntu 15.04 and 15.10, I am
> > > > > unable
> > > > > to change the values to true.  I am a member of the audio group
> > > > > and I
> > > > > have also tried with sudo, but when I try to set the value on
> > > > > nothing
> > > > > happens:
> > > > > 
> > > > > $ amixer -c T10 cset numid=8 on
> > > > > numid=8,iface=MIXER,name='Phono Input Channel B'
> > > > >   ; type=BOOLEAN,access=rw------,values=1
> > > > >   : values=off
> > > > > 
> > > > > The fun part is, if I connect the card to my mac I can set
> > > > > startup
> > > > > conditions for these flags.  I can set them to true, and when I
> > > > > connect
> > > > > to my linux machines the flags start up as true.  And then, even
> > > > > on the
> > > > > newer kernel, I can turn them off!  But I can't turn them back on
> > > > > again.
> > > > > 
> > > > > This sound card is the one I'd like to recommend officially for
> > > > > the
> > > > > Mixxx DJ project so I'd really like to get to the bottom of this
> > > > > issue.
> > > > > 
> > > > > 
> > > > > thanks,
> > > > > Owen Williams
> > > > > 
> > > > > A Lead Developer, Mixxx.org
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Alsa-devel mailing list
> > > > Alsa-devel at alsa-project.org
> > > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > > > 
> > > 
> > > 
> > 
> 
> 




More information about the Alsa-devel mailing list