All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Recording AUX on ak4531 (e.g. es1370)
@ 2004-02-28 10:41 Roberto Ragusa
  2004-02-28 10:49 ` Jaroslav Kysela
  0 siblings, 1 reply; 2+ messages in thread
From: Roberto Ragusa @ 2004-02-28 10:41 UTC (permalink / raw)
  To: alsa-devel

Hi,

after going from kernel 2.4 to 2.6 (and so switching to alsa) I noticed
it wasn't possible to record the aux signal on my es1370 (this is TV
audio in my case).

I had a look at the code and resolved the problem with this small patch,
for kernel 2.6.3.
Surprisingly enough, the fix is just related to a string, but I see
that there are no "Input Route" in sound/* (only "Capture Route"),
so it should be right.

--- ak4531_codec.c_orig 2003-12-18 03:58:15.000000000 +0100
+++ ak4531_codec.c      2004-02-26 12:36:46.000000000 +0100
@@ -285,7 +285,7 @@ AK4531_INPUT_SW("Line Capture Route", 0,
 AK4531_DOUBLE("Aux Switch", 0, AK4531_LAUXA, AK4531_RAUXA, 7, 7, 1, 1),
 AK4531_DOUBLE("Aux Volume", 0, AK4531_LAUXA, AK4531_RAUXA, 0, 0, 0x1f, 1),
 AK4531_DOUBLE("Aux Playback Switch", 0, AK4531_OUT_SW2, AK4531_OUT_SW2, 5, 4, 1, 0),
-AK4531_INPUT_SW("Aux Input Route", 0, AK4531_LIN_SW2, AK4531_RIN_SW2, 4, 3),
+AK4531_INPUT_SW("Aux Capture Route", 0, AK4531_LIN_SW2, AK4531_RIN_SW2, 4, 3),

 AK4531_SINGLE("Mono Switch", 0, AK4531_MONO1, 7, 1, 1),
 AK4531_SINGLE("Mono Volume", 0, AK4531_MONO1, 0, 0x1f, 1),

-- 
   Roberto Ragusa    r.ragusa at libero.it


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

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

* Re: [PATCH] Recording AUX on ak4531 (e.g. es1370)
  2004-02-28 10:41 [PATCH] Recording AUX on ak4531 (e.g. es1370) Roberto Ragusa
@ 2004-02-28 10:49 ` Jaroslav Kysela
  0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2004-02-28 10:49 UTC (permalink / raw)
  To: Roberto Ragusa; +Cc: alsa-devel

On Sat, 28 Feb 2004, Roberto Ragusa wrote:

> Hi,
> 
> after going from kernel 2.4 to 2.6 (and so switching to alsa) I noticed
> it wasn't possible to record the aux signal on my es1370 (this is TV
> audio in my case).
> 
> I had a look at the code and resolved the problem with this small patch,
> for kernel 2.6.3.
> Surprisingly enough, the fix is just related to a string, but I see
> that there are no "Input Route" in sound/* (only "Capture Route"),
> so it should be right.

Thanks for this report. Applied to CVS.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

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

end of thread, other threads:[~2004-02-28 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-28 10:41 [PATCH] Recording AUX on ak4531 (e.g. es1370) Roberto Ragusa
2004-02-28 10:49 ` Jaroslav Kysela

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.