Re: [Alsa-user] help with Focusrite Scarlett 18i6 USB

2011-07-20 Thread Nicolai Krakowiak
On Sun, Jul 17, 2011 at 4:37 AM, Daniel Mack wrote: > Interface 3 is the MIDI streaming interface, and > snd_usb_create_mixer() shouldn't find any controls there. I assume > there is a confusion in the usage of mixer->chip_ctrl_if, and the code > there also seems wrong. Can you test whether the at

Re: [Alsa-user] help with Focusrite Scarlett 18i6 USB

2011-07-16 Thread Nicolai Krakowiak
On Wed, Jul 13, 2011 at 5:27 AM, Daniel Mack wrote: > Can you check the value of the "ctrlif" argument in snd_usb_create_mixer()? Two instances: ctrlif = 0, ctrlif = 3. Here's the relevant kernel log snippet: [ 428.011513] ALSA sound/usb/endpoint.c:434: 3:1:1: add audio endpoint 0x1 [ 428.4

Re: [Alsa-user] help with Focusrite Scarlett 18i6 USB

2011-07-16 Thread Nicolai Krakowiak
the length checks is redundant, as is the !csize check), but I'm not well versed in the local style and didn't want to break anything. =) nicolai From 83bcd097550a4494c6b3f362ebbc432249acde59 Mon Sep 17 00:00:00 2001 From: Nicolai Krakowiak Date: Fri, 15 Jul 2011 23:05:10 -0700 Subje

Re: [Alsa-user] help with Focusrite Scarlett 18i6 USB

2011-07-13 Thread Nicolai Krakowiak
On Tue, Jul 12, 2011 at 5:22 PM, Daniel Mack wrote: > On Tue, Jul 12, 2011 at 12:39 PM, Nicolai Krakowiak > wrote: >> On Mon, Jul 11, 2011 at 3:22 AM, Daniel Mack wrote: >> I got as far as sound/usb/card.c:514 calling snd_usb_create_mixer(). >> It looks like it is hitti

Re: [Alsa-user] help with Focusrite Scarlett 18i6 USB

2011-07-12 Thread Nicolai Krakowiak
On Tue, Jul 12, 2011 at 3:48 AM, Daniel Mack wrote: > As you seem to known what you're doing, can you try to disable the > mixer creation entirely? Just bail out very early in > snd_usb_create_mixer() or don't call it at all in the first place. The > audio should stream without any mixer functions

Re: [Alsa-user] help with Focusrite Scarlett 18i6 USB

2011-07-12 Thread Nicolai Krakowiak
On Mon, Jul 11, 2011 at 3:22 AM, Daniel Mack wrote: > Ok, that is also what your lsusb dump shows - the FORMAT_TYPE > descriptor has a length of 10, even though a FORMAT_TYPE_I descriptor > must be 6 bytes longs, according to the UAC specification. I can't see > a reason why it is 10 bytes longs,

Re: [Alsa-user] help with Focusrite Scarlett 18i6 USB

2011-07-09 Thread Nicolai Krakowiak
On Sat, Jul 9, 2011 at 2:25 AM, Daniel Mack wrote: > Can you apply the attached patch and send us a the kernel log messages again? After power cycling the device after boot: [ 191.372814] 10:1:1 : invalid UAC_FORMAT_TYPE desc (protocol 32, bLength 10) [ 191.372935] 10:2:1 : invalid UAC_FORMAT_

Re: [Alsa-user] help with Focusrite Scarlett 18i6 USB

2011-07-08 Thread Nicolai Krakowiak
On Fri, Jul 8, 2011 at 2:27 AM, Daniel Mack wrote: > Can I ask you to download the newest > versions of the usbutils source code and try it out? You can find them > here: http://git.kernel.org/?p=linux/kernel/git/gregkh/usbutils.git;a=summary Done and attached. > Also, support for this protocol

Re: [Alsa-user] help with Focusrite Scarlett 18i6 USB

2011-07-07 Thread Nicolai Krakowiak
On Wed, Jul 6, 2011 at 6:08 AM, Graham Dicker wrote: > Try making the Focusrite the primary device. This worked for me under > somewhat similar circumstances. > > Graham Dicker Thanks for the suggestion, Graham. I tried this last night without success unfortunately. nicolai --

[Alsa-user] help with Focusrite Scarlett 18i6 USB

2011-07-06 Thread Nicolai Krakowiak
Hi folks, I have an unsupported USB device (Focusrite Scarlett 18i6), and I was curious what steps are necessary to get it to work under Linux. The internal sound card on this machine works well (hw:0). After loading snd_usb_audio, the 18i6 shows up as expected as device 1: % cat /proc/asound/c