Skip to contentSkip to conversation

Alsa Driver Scarlett

DISCUSSION Eugène Bandit 7 participants 11 messages Sep 13, 2014 – Sep 19, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

I've come across this earlier post from the alsa-devel mailing list :
http://thread.gmane.org/gmane.linux.alsa.devel/126241/focus=126682

It deals with a kernel patch made to support some Focusrite Scarlett hardware, you can find the github project page is here : https://github.com/smilingthax/alsa-driver_scarlett

I would be really interested in it being integrated into alsa. Unfortunately, it appears that the original developer of this patch cannot put any time into such a thing. Since I'm not skilled enough to perform this integration, i wanted to know if anyone was willing to work on this ? I own a Focusrite Scarlett 18i20 and can perform any test to help.

#1 lore raw

Hey Eugène,

Quoted 9 lines · On Sat, 13 Sep 2014 20:38:19 +0200 Eugène Bandit <[email protected]> wrote:

Hello,

I've come across this earlier post from the alsa-devel mailing list :
http://thread.gmane.org/gmane.linux.alsa.devel/126241/focus=126682

It deals with a kernel patch made to support some Focusrite Scarlett hardware, you can find the github project page is here :
https://github.com/smilingthax/alsa-driver_scarlett

Quoted 5 lines

I would be really interested in it being integrated into alsa. Unfortunately, it appears that the original developer of this patch cannot put any time into such a thing. Since I'm not skilled enough to perform this integration, i wanted to know if anyone was willing to work on this ? I own a Focusrite Scarlett 18i20 and can perform any test to help.

I'm using a Scarlett 18i8. I'm currently using an older kerner for which the patch applies, but I'm going to have to upgrade at some point, so I'm in the same boat.

I guess I'll need to find the time to port the patch to a recent kernel when I upgrade, unless someone else does it first.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw

Am Dienstag, den 16. September 2014 um 15:22:27 Uhr (+0200) schrieb Johannes Kroll:

Quoted 3 lines

I guess I'll need to find the time to port the patch to a recent kernel when I upgrade, unless someone else does it first.

The patch still works on our recent kernels (we are on debian testing with a 3.14-2 kernel), atm there is no porting necessary. I can also confirm that the driver has no known issues on our systems (we use a couple of Scarlett 18i20 in different configurations). It would be great, though if the patch could get integrated into alsa. At the moment it is quite painful for our students with linux laptops as they have to reapply the patch on every upgrade.

--
Orm Finnendahl
------------------------------------------------------------------
Prof. Orm Finnendahl
Komposition
Hochschule für Musik und Darstellende Kunst
Eschersheimer Landstr. 29-39
60322 Frankfurt am Main
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw
Quoted 5 lines · On Tue, 16 Sep 2014 15:49:25 +0200 Orm Finnendahl…

Am Dienstag, den 16. September 2014 um 15:22:27 Uhr (+0200) schrieb Johannes Kroll:

Quoted 3 lines

I guess I'll need to find the time to port the patch to a recent kernel when I upgrade, unless someone else does it first.

Quoted 7 lines

The patch still works on our recent kernels (we are on debian testing with a 3.14-2 kernel), atm there is no porting necessary. I can also confirm that the driver has no known issues on our systems (we use a couple of Scarlett 18i20 in different configurations). It would be great, though if the patch could get integrated into alsa. At the moment it is quite painful for our students with linux laptops as they have to reapply the patch on every upgrade.

Oh, I see. I'm all for integrating this patch into mainline. But I have never done such a thing, so I don't know how much effort it would be. I guess it would be a simple thing to do for a routine Alsa developer. Anyone? :]

#4 lore raw
Quoted 8 lines · Johannes Kroll
Quoted 5 lines · On Tue, 16 Sep 2014 15:49:25 +0200 Orm Finnendahl…

Am Dienstag, den 16. September 2014 um 15:22:27 Uhr (+0200) schrieb Johannes Kroll:

Quoted 3 lines

I guess I'll need to find the time to port the patch to a recent kernel when I upgrade, unless someone else does it first.

Quoted 7 lines
Quoted 7 lines

The patch still works on our recent kernels (we are on debian testing with a 3.14-2 kernel), atm there is no porting necessary. I can also confirm that the driver has no known issues on our systems (we use a couple of Scarlett 18i20 in different configurations). It would be great, though if the patch could get integrated into alsa. At the moment it is quite painful for our students with linux laptops as they have to reapply the patch on every upgrade.

A tip could be to use the DKMS infrastructure, which recompiles itself on kernel upgrades.

Quoted 4 lines

Oh, I see. I'm all for integrating this patch into mainline. But I have never done such a thing, so I don't know how much effort it would be. I guess it would be a simple thing to do for a routine Alsa developer. Anyone? :]

Well, as a first check: Do we have means to contact Tobias Hoffman, and possibly other contributors? Having their sign-off would be a good start...

Signature · 2 lines
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
#5 lore raw
Quoted 2 lines · On Wed, 17 Sep 2014 14:29:04 +0200 David Henningsson…

Well, as a first check: Do we have means to contact Tobias Hoffman, and possibly other contributors? Having their sign-off would be a good start...

You could reach the patch author via github, I guess.

https://github.com/smilingthax

#6 lore raw
Quoted 9 lines · Johannes Kroll
Quoted 2 lines · On Wed, 17 Sep 2014 14:29:04 +0200 David Henningsson…

Well, as a first check: Do we have means to contact Tobias Hoffman, and possibly other contributors? Having their sign-off would be a good start...

You could reach the patch author via github, I guess.

https://github.com/smilingthax

Well, I wonder how, as there is no email address. There's also a GitHub issue about mainlining the driver (#1), in which I suggested the first steps towards submission.

I think David is right - we need at least some sort of acknowledgment from Tobias to include his code in the kernel.

Daniel

#7 lore raw
In reply to Johannes Kroll

Hi Tobias,

I believe you are the author of the repository at https://github.com/smilingthax/alsa-driver_scarlett.

Your Scarlett driver is reported to be working fine, and there are some requests (see below) to get the driver into mainline Linux. Is this something you would be interested in helping out with?

Regards,
David

Quoted 25 lines · Johannes Kroll
Quoted 5 lines · On Tue, 16 Sep 2014 15:49:25 +0200 Orm Finnendahl…

Am Dienstag, den 16. September 2014 um 15:22:27 Uhr (+0200) schrieb Johannes Kroll:

Quoted 3 lines

I guess I'll need to find the time to port the patch to a recent kernel when I upgrade, unless someone else does it first.

Quoted 7 lines

The patch still works on our recent kernels (we are on debian testing with a 3.14-2 kernel), atm there is no porting necessary. I can also confirm that the driver has no known issues on our systems (we use a couple of Scarlett 18i20 in different configurations). It would be great, though if the patch could get integrated into alsa. At the moment it is quite painful for our students with linux laptops as they have to reapply the patch on every upgrade.

Oh, I see. I'm all for integrating this patch into mainline. But I have never done such a thing, so I don't know how much effort it would be. I guess it would be a simple thing to do for a routine Alsa developer. Anyone? :]
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Signature · 2 lines
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
#8 lore raw

Hi,

Quoted 2 lines
Quoted 2 lines
Quoted 1 line · Orm Finnendahl

Am Dienstag, den 16. September 2014 um 15:22:27 Uhr (+0200) schrieb

Johannes Kroll:

Quoted 11 lines
Quoted 11 lines
Quoted 10 lines
Quoted 2 lines

I guess I'll need to find the time to port the patch to a recent kernel when I upgrade, unless someone else does it first.

The patch still works on our recent kernels (we are on debian testing with a 3.14-2 kernel), atm there is no porting necessary. I can also confirm that the driver has no known issues on our systems (we use a couple of Scarlett 18i20 in different configurations). It would be great, though if the patch could get integrated into alsa. At the moment it is quite painful for our students with linux laptops as they have to reapply the patch on every upgrade.

Quoted 4 lines
Quoted 4 lines

Oh, I see. I'm all for integrating this patch into mainline. But I have never done such a thing, so I don't know how much effort it would be. I guess it would be a simple thing to do for a routine Alsa developer. Anyone? :]

just joined this mailing list yesterday for exactly the same reason: Bought an Focusrite Scarlett 6i6, and while it works with jack, it doesn't show up in the alsa mixer. As I understand, this patch should also work better for the 6i6, so I'd also very much appreciate getting this patch into the kernel.

If you need a tester for the 6i6 device, I'd happily try a patch.

Greetings,
Dominik

#9 lore raw
In reply to David Henningsson
Quoted 3 lines · David Henningsson

Hi Tobias,

I believe you are the author of the repository at https://github.com/smilingthax/alsa-driver_scarlett.

Yes, I am.

Quoted 1 line

Your Scarlett driver is reported to be working fine, and there are some requests (see below) to get the driver into mainline Linux. Is this something you would be interested in helping out with?

I'm all for including the driver into mainline, but I do not have any time to go through N iterations of a patch to get it there.

I *might* be able to do a initial cleaned up version against tiwai's for-next in the next few days, if that helps.

Other than that, I will happily (try to) answer questions about the code.

Tobias

Quoted 30 lines

Regards,
David

Quoted 25 lines · Johannes Kroll
Quoted 5 lines · On Tue, 16 Sep 2014 15:49:25 +0200 Orm Finnendahl…

Am Dienstag, den 16. September 2014 um 15:22:27 Uhr (+0200) schrieb Johannes Kroll:

Quoted 3 lines

I guess I'll need to find the time to port the patch to a recent kernel when I upgrade, unless someone else does it first.

Quoted 7 lines

The patch still works on our recent kernels (we are on debian testing with a 3.14-2 kernel), atm there is no porting necessary. I can also confirm that the driver has no known issues on our systems (we use a couple of Scarlett 18i20 in different configurations). It would be great, though if the patch could get integrated into alsa. At the moment it is quite painful for our students with linux laptops as they have to reapply the patch on every upgrade.

Oh, I see. I'm all for integrating this patch into mainline. But I have never done such a thing, so I don't know how much effort it would be. I guess it would be a simple thing to do for a routine Alsa developer. Anyone? :]
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#10 lore raw
Quoted 15 lines · Tobias Hoffmann
Quoted 4 lines · David Henningsson

Hi Tobias,

I believe you are the author of the repository at
https://github.com/smilingthax/alsa-driver_scarlett.

Yes, I am.

Quoted 3 lines

Your Scarlett driver is reported to be working fine, and there are some requests (see below) to get the driver into mainline Linux. Is this something you would be interested in helping out with?

I'm all for including the driver into mainline, but I do not have any time to go through N iterations of a patch to get it there.

Quoted 6 lines

I *might* be able to do a initial cleaned up version against tiwai's for-next in the next few days, if that helps.

Other than that, I will happily (try to) answer questions about the code.

Tobias

Ok, thanks for the update!

As I looked through the patches I noticed Robin Gareus (now cc:ed) were also the author of these patches, I assume you're okay with upstreaming it too, Robin?

There seem to be these "main" patches:

* Initial code for 18i6 mixer (Robin)
* Added log scale meters for 18i6 mixer (Robin)
* Added code for 18i8 and "big rewrite" (Tobias)
* Added code for 18i20 (Tobias)
* Added code for 8i6 (Tobias)
* Added code for 6i6 (Tobias)

...the rest of the patches are fixups which can be squashed into the existing patches when mainlining.

I could commit to do this squashing, run the remaining patches through checkpatch and submit the result on alsa-devel. I have no hw to test with though.

The big rewrite probably means that the rewrite patch should be squashed with the initial patch too, and list both of you as authors on the resulting patch. (Btw, what's the Linux kernel standard for that? To add a co-authored-by?)

Quoted 35 lines
Quoted 34 lines

Regards,
David

Quoted 27 lines · Johannes Kroll
Quoted 7 lines · On Tue, 16 Sep 2014 15:49:25 +0200 Orm Finnendahl…

Am Dienstag, den 16. September 2014 um 15:22:27 Uhr (+0200) schrieb Johannes Kroll:

Quoted 4 lines

I guess I'll need to find the time to port the patch to a recent kernel
when I upgrade, unless someone else does it first.

Quoted 7 lines

The patch still works on our recent kernels (we are on debian testing with a 3.14-2 kernel), atm there is no porting necessary. I can also confirm that the driver has no known issues on our systems (we use a couple of Scarlett 18i20 in different configurations). It would be great, though if the patch could get integrated into alsa. At the moment it is quite painful for our students with linux laptops as they have to reapply the patch on every upgrade.

Oh, I see. I'm all for integrating this patch into mainline. But I have never done such a thing, so I don't know how much effort it would be. I guess it would be a simple thing to do for a routine Alsa developer. Anyone? :]
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Signature · 2 lines
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic