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 Mack zonque@gmail.com wrote:
On Fri, May 20, 2011 at 1:14 PM, Felix Homann linuxaudio@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