All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Make ASUS Xonar U3 S/PDIF channel accessible
@ 2012-12-11 10:37 Denis Washington
  2012-12-11 11:41 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Denis Washington @ 2012-12-11 10:37 UTC (permalink / raw)
  To: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 1443 bytes --]

Hello,

This is my first ALSA patch ever (in fact, also my first kernel patch 
and my first e-mail to this mailing list); as such, I'm sorry when I did 
something wrong and/or didn't follow the procedure properly. I hope you 
can forgive me.

I recently bought an ASUS Xonar U3 USB audio card. It general it works 
well with Linux, but unfortunately, it's PCM output channel is unusable 
for headphones because it allows virtually no volume control (maximum 
loudness is already reach at a volume level of 2 or 3). The card does 
also have a digital (S/PDIF) output channel, which however isn't 
switched on by the Linux USB audio driver:

http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg28970.html

When I boot into Windows (where the ASUS driver seemingly enables the 
channel) and then reboot into Linux, I can use this channel and control 
volume as expected. It's just this turning on of S/PDIF which is 
missing, as suggested by the alsa-user thread linked to above.

The patchset that follows enables S/PDIF on the Xonar U3 by using the 
(seemingly compatible) mixer quirks code as for the U1, just as done and 
tested by the initiator of the alsa-user thread, together with a very 
minor cleanup (renaming internal xonar_u1_* identifiers to just 
xonar_u_*). The change seems to work well (tested with the 3.7.0 Ubuntu 
kernel as found in today' daily version).

Regard,
Denis Washington


[-- Attachment #1.2: S/MIME Kryptografische Unterschrift --]
[-- Type: application/pkcs7-signature, Size: 4453 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Make ASUS Xonar U3 S/PDIF channel accessible
  2012-12-11 10:37 [PATCH 0/2] Make ASUS Xonar U3 S/PDIF channel accessible Denis Washington
@ 2012-12-11 11:41 ` Takashi Iwai
  2012-12-11 18:24   ` Denis Washington
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2012-12-11 11:41 UTC (permalink / raw)
  To: Denis Washington; +Cc: alsa-devel

At Tue, 11 Dec 2012 11:37:26 +0100,
Denis Washington wrote:
> 
> Hello,
> 
> This is my first ALSA patch ever (in fact, also my first kernel patch 
> and my first e-mail to this mailing list); as such, I'm sorry when I did 
> something wrong and/or didn't follow the procedure properly. I hope you 
> can forgive me.
> 
> I recently bought an ASUS Xonar U3 USB audio card. It general it works 
> well with Linux, but unfortunately, it's PCM output channel is unusable 
> for headphones because it allows virtually no volume control (maximum 
> loudness is already reach at a volume level of 2 or 3). The card does 
> also have a digital (S/PDIF) output channel, which however isn't 
> switched on by the Linux USB audio driver:
> 
> http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg28970.html
> 
> When I boot into Windows (where the ASUS driver seemingly enables the 
> channel) and then reboot into Linux, I can use this channel and control 
> volume as expected. It's just this turning on of S/PDIF which is 
> missing, as suggested by the alsa-user thread linked to above.
> 
> The patchset that follows enables S/PDIF on the Xonar U3 by using the 
> (seemingly compatible) mixer quirks code as for the U1, just as done and 
> tested by the initiator of the alsa-user thread, together with a very 
> minor cleanup (renaming internal xonar_u1_* identifiers to just 
> xonar_u_*). The change seems to work well (tested with the 3.7.0 Ubuntu 
> kernel as found in today' daily version).

Thanks for patches.

I think the rename of xonar_u1_* isn't needed.  What we need is rather
giving more comments there, that it's for both U1 and U3.

In anyway, could you resubmit with your sign-off?
Put a line like
	Signed-of-by: Your Name <foo@bar.com>
in the tail of the change log text.

See Documentation/SubmittingPatches the section 12 "Sign your work"
for details.


Takashi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Make ASUS Xonar U3 S/PDIF channel accessible
  2012-12-11 11:41 ` Takashi Iwai
@ 2012-12-11 18:24   ` Denis Washington
  2012-12-13  6:40     ` Denis Washington
  0 siblings, 1 reply; 5+ messages in thread
From: Denis Washington @ 2012-12-11 18:24 UTC (permalink / raw)
  To: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 2051 bytes --]

Am 11.12.2012 12:41, schrieb Takashi Iwai:
> At Tue, 11 Dec 2012 11:37:26 +0100,
> Denis Washington wrote:
>>
>> Hello,
>>
>> This is my first ALSA patch ever (in fact, also my first kernel patch
>> and my first e-mail to this mailing list); as such, I'm sorry when I did
>> something wrong and/or didn't follow the procedure properly. I hope you
>> can forgive me.
>>
>> I recently bought an ASUS Xonar U3 USB audio card. It general it works
>> well with Linux, but unfortunately, it's PCM output channel is unusable
>> for headphones because it allows virtually no volume control (maximum
>> loudness is already reach at a volume level of 2 or 3). The card does
>> also have a digital (S/PDIF) output channel, which however isn't
>> switched on by the Linux USB audio driver:
>>
>> http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg28970.html
>>
>> When I boot into Windows (where the ASUS driver seemingly enables the
>> channel) and then reboot into Linux, I can use this channel and control
>> volume as expected. It's just this turning on of S/PDIF which is
>> missing, as suggested by the alsa-user thread linked to above.
>>
>> The patchset that follows enables S/PDIF on the Xonar U3 by using the
>> (seemingly compatible) mixer quirks code as for the U1, just as done and
>> tested by the initiator of the alsa-user thread, together with a very
>> minor cleanup (renaming internal xonar_u1_* identifiers to just
>> xonar_u_*). The change seems to work well (tested with the 3.7.0 Ubuntu
>> kernel as found in today' daily version).
>
> Thanks for patches.
>
> I think the rename of xonar_u1_* isn't needed.  What we need is rather
> giving more comments there, that it's for both U1 and U3.

Yes, that would be useful. I don't know if I'm qualified to write a 
useful comment for this, though.

> In anyway, could you resubmit with your sign-off?
> Put a line like
> 	Signed-of-by: Your Name <foo@bar.com>
> in the tail of the change log text.

OK, no problem.

Regards,
Denis


[-- Attachment #1.2: S/MIME Kryptografische Unterschrift --]
[-- Type: application/pkcs7-signature, Size: 4453 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Make ASUS Xonar U3 S/PDIF channel accessible
  2012-12-11 18:24   ` Denis Washington
@ 2012-12-13  6:40     ` Denis Washington
  2012-12-13  6:46       ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Denis Washington @ 2012-12-13  6:40 UTC (permalink / raw)
  To: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 338 bytes --]

Am 11.12.2012 19:24, schrieb Denis Washington:
>> In anyway, could you resubmit with your sign-off?
>> Put a line like
>>     Signed-of-by: Your Name <foo@bar.com>
>> in the tail of the change log text.
>
> OK, no problem.

Done. Anything else important missing until the patch can be considered?

Regards,
Denis Washington


[-- Attachment #1.2: S/MIME Kryptografische Unterschrift --]
[-- Type: application/pkcs7-signature, Size: 4453 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Make ASUS Xonar U3 S/PDIF channel accessible
  2012-12-13  6:40     ` Denis Washington
@ 2012-12-13  6:46       ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2012-12-13  6:46 UTC (permalink / raw)
  To: Denis Washington; +Cc: alsa-devel

At Thu, 13 Dec 2012 07:40:18 +0100,
Denis Washington wrote:
> 
> Am 11.12.2012 19:24, schrieb Denis Washington:
> >> In anyway, could you resubmit with your sign-off?
> >> Put a line like
> >>     Signed-of-by: Your Name <foo@bar.com>
> >> in the tail of the change log text.
> >
> > OK, no problem.
> 
> Done. Anything else important missing until the patch can be considered?

No, it's fine.  I just forgot to post I merged the first patch,
sorry.  The second one was skipped as mentioned.


Thanks!

Takashi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-13  6:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-11 10:37 [PATCH 0/2] Make ASUS Xonar U3 S/PDIF channel accessible Denis Washington
2012-12-11 11:41 ` Takashi Iwai
2012-12-11 18:24   ` Denis Washington
2012-12-13  6:40     ` Denis Washington
2012-12-13  6:46       ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.