I'm not close to my FTU at the moment. So I can't test it myself. Could you try interchanging chn and n in the calls of snd_maudio_ftu_create_ctl(mixer, n, chn, name) in snd_maudio_ftu_create_mixer().
--Felix
Am 20.05.2011 17:43, schrieb Grant Diffey:
So something is very whacky with the control map. not sure how to debug this.
The original patch felix posted works as I expect this one doesn't where should I start debugging this?
Grant.
On Sat, May 21, 2011 at 1:08 AM, Grant Diffeygdiffey@gmail.com wrote:
so this works.. (ie compiles and I get controls that do change volumes of things )
I think there's something whacky with the control map. (I can't seem to send Ain5 to out 1 and 2 successfully. but I'll test this with felix's original code.
The Ain's are not capture volumes for this device.
There's 8 "analog ins" and 8 "software returns" (pcm channels) that are mixed to 8 outputs. all the input gain controls are physical or line +4db level balanced
Grant.
On Fri, May 20, 2011 at 9:37 PM, Daniel Mackzonque@gmail.com wrote:
On Fri, May 20, 2011 at 1:14 PM, Felix Homannlinuxaudio@showlabor.de wrote:
Sorry, here are the first lines:
[ 4104.510080] usb 1-3: new high speed USB device using ehci_hcd and
address
2 [ 4104.661745] usb 1-3: config 1 interface 3 altsetting 0 bulk endpoint
0x7
has invalid maxpacket 8 [ 4104.661750] usb 1-3: config 1 interface 3 altsetting 0 bulk endpoint
0x87
has invalid maxpacket 8 [ 4104.824137] BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 [ 4104.824147] IP: [<ffffffffa04b0119>]
snd_usb_mixer_controls+0x49/0x1a0
[snd_usb_audio]
Ok, chip->ctrl_intf needs to be initialized. Next try ...
Daniel
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel