Line In for Acer Inspire 6530G model
PATCH 1/1 Line In for Acer Inspire 6530G model
The Line In connector is set up as PIN_IN by default, using VREF_HIZ. It is connected to both ADCs, so add it to both input selectors.
Also add the ability to use the input mix (on a SoundBlaster one would call this "What You Hear").
sound/pci/hda/patch_realtek.c +8 -2
@@ -1560,18 +1560,22 @@ static struct hda_input_mux alc888_2_capture_sources[2] = {static struct hda_input_mux alc888_acer_aspire_6530_sources[2 ] = {/* Interal mic only available on one ADC */ { - .num_items =3 , + .num_items =5 , .items = { {"Ext Mic" ,0x0 }, + {"Line In" ,0x2 }, {"CD" ,0x4 }, + {"Input Mix" ,0xa }, {"Int Mic" ,0xb }, }, }, { - .num_items =2 , + .num_items =4 , .items = { {"Ext Mic" ,0x0 }, + {"Line In" ,0x2 }, {"CD" ,0x4 }, + {"Input Mix" ,0xa }, }, } };
@@ -8189,6 +8193,8 @@ static struct snd_kcontrol_new alc888_acer_aspire_6530_mixer[] = {HDA_BIND_MUTE ("Front Playback Switch" ,0x0c ,2 ,HDA_INPUT ),HDA_CODEC_VOLUME ("LFE Playback Volume" ,0x0f ,0x0 ,HDA_OUTPUT ),HDA_BIND_MUTE ("LFE Playback Switch" ,0x0f ,2 ,HDA_INPUT ), +HDA_CODEC_VOLUME ("Line Playback Volume" ,0x0b ,0x02 ,HDA_INPUT ), +HDA_CODEC_MUTE ("Line Playback Switch" ,0x0b ,0x02 ,HDA_INPUT ),HDA_CODEC_VOLUME ("CD Playback Volume" ,0x0b ,0x04 ,HDA_INPUT ),HDA_CODEC_MUTE ("CD Playback Switch" ,0x0b ,0x04 ,HDA_INPUT ), HDA_CODEC_VOLUME("Mic Playback Volume", 0x0b, 0x0, HDA_INPUT),
At Fri, 26 Jun 2009 09:27:50 +0100 (BST),
Quoted 8 lines · Tony Vroon
The Line In connector is set up as
PIN_INby default, usingVREF_HIZ. It is connected to both ADCs, so add it to both input selectors.
Also add the ability to use the input mix (on a SoundBlaster one would call this "What You Hear").Signed-off-by Tony Vroon <[email protected]>
I applied this as this appears safe.
Emilio, could you check whether this works?
thanks,
Takashi
2009/6/29 Takashi Iwai <[email protected]>:
Quoted 9 lines
At Fri, 26 Jun 2009 09:27:50 +0100 (BST),
Quoted 7 lines · Tony Vroon
The Line In connector is set up as
PIN_INby default, usingVREF_HIZ. It is connected to both ADCs, so add it to both input selectors.
Also add the ability to use the input mix (on a SoundBlaster one would call this "What You Hear").
Quoted 4 lines
Quoted 1 line
Signed-off-by Tony Vroon <[email protected]>I applied this as this appears safe.
Emilio, could you check whether this works?
I don't have the necessary cable to connect my MP3/CD Player to line in, sorry. Unless I can use a normal mic on line in (I guess not, because mics don't have any power supply), I won't be able to test.
Quoted 6 lines
thanks,
Takashi
Hi.
2009/6/30 Emilio López <[email protected]>:
Quoted 7 lines
2009/6/29 Takashi Iwai <[email protected]>:
Quoted 2 lines
I applied this as this appears safe.
Emilio, could you check whether this works?I don't have the necessary cable to connect my MP3/CD Player to line in, sorry. Unless I can use a normal mic on line in (I guess not, because mics don't have any power supply), I won't be able to test.
Some time ago I was the one to (wrongly, it seems) report the 6530G to work with the 4930 model. My problem was not being able to use the internal mic for audioconference, which that model fixed. I didn't put any attention into the "tuba" thing (I suspected it to be a marketing thing, with the bass speaker tied to one of the two stereo channels).
I've been reading the thread, and I think I'll be able to test the line-in issue. But I'm a bit confused about where to get the latest driver snapshot package. Could you please provide a link to it, so that I can get it running on my Ubuntu 9.04 installation?
Best regards,
Juan Jesus.
Signature · 2 lines
Dream small if success is enough for you; dream big if you need to change the world.
At Tue, 30 Jun 2009 08:07:21 +0200,
Quoted 18 lines · Juan Jesús García de Soria Lucena
Hi.
2009/6/30 Emilio López <[email protected]>:
Quoted 7 lines
2009/6/29 Takashi Iwai <[email protected]>:
Quoted 2 lines
I applied this as this appears safe.
Emilio, could you check whether this works?I don't have the necessary cable to connect my MP3/CD Player to line in, sorry. Unless I can use a normal mic on line in (I guess not, because mics don't have any power supply), I won't be able to test.
Some time ago I was the one to (wrongly, it seems) report the 6530G to work with the 4930 model. My problem was not being able to use the internal mic for audioconference, which that model fixed. I didn't put any attention into the "tuba" thing (I suspected it to be a marketing thing, with the bass speaker tied to one of the two stereo channels).
Quoted 4 lines
I've been reading the thread, and I think I'll be able to test the line-in issue. But I'm a bit confused about where to get the latest driver snapshot package. Could you please provide a link to it, so that I can get it running on my Ubuntu 9.04 installation?
The alsa-driver snapshot tarball can be found at
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
There seems some script for Ubuntu to adapt that tree automatically, but I don't remember exactly as I'm no Ubuntu user :)
HTH,
Takashi
Wow!
Quoted 2 lines · Takashi Iwai
The alsa-driver snapshot tarball can be found at
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
I installed the snapshot, rebooted, plugged in both a CD player into the line in and an external mic, launched
(arecord | aplay) &
and then started playing with the alsamixer controls.
I can confirm that pluggin in headphones mute all the speakers. Also the LFE level controls the bass speaker correctly.
I played with the "Capture" / "Input Source" pair of controls, and can confirm that "Internal Mic", "External Mic" and "Line In" work ok. I'm not sure about how to test the "CD" and "Input Mix" options.
I couldn't do anything about "Capture 1" / "Input Source 1". Has it anything to do with the second capture device I get from arecord -l?
skandalfo@rimmer:~$ arecord -l **** Lista de CAPTURE Dispositivos Hardware **** tarjeta 0: SB [HDA ATI SB], dispositivo 0: ALC888 Analog [ALC888 Analog] Subdispositivos: 1/1 Subdispositivo #0: subdevice #0 tarjeta 0: SB [HDA ATI SB], dispositivo 2: ALC888 Analog [ALC888 Analog] Subdispositivos: 1/1 Subdispositivo #0: subdevice #0
I tried to perform the same tests with arecord -Dhw:0,2 but it complained about no appropriate sample format, so I suppose I was trying something stupid.
In any case, congratulations, and lots of thanks for your good work. My laptop now sounds much better :-D
Best regards,
Juan Jesus.
Signature · 2 lines
Dream small if success is enough for you; dream big if you need to change the world.
A message that is not in the archive (sent off-list or not yet received): 1246392149.11792.8.camel@localhost
can't find snd_card_next!
Hi all!
I studing the aplay program and there is a function that I can't find in any header.
Ive tried asound.h and asoundlib.h among other but without success!
This is the code:
card = -1;
if (snd_card_next(&card) < 0 || card < 0) {
error(_("no soundcards found..."));
return;
}Where is the snd_card_next() function?
Thanks all!
Tks!
-------------------
Guilherme Longo
Dept. Eng. da Computação
Unaerp
Linux User - #484927
*Before Asking
http://www.istf.com.br/?page=perguntas
!- I'd rather die on my feet than live on my knees -!
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: can't find snd_card_next!
Quoted 5 lines · Guilherme
I studing the aplay program and there is a function that I can't find in any header.
Ive triedasound.handasoundlib.hamong other but without success! [...]
Where is thesnd_card_next()function?
$ grep snd_card_next /usr/include/alsa/* /usr/include/alsa/control.h:int snd_card_next(int *card);
HTH
Clemens