At Tue, 24 Apr 2007 12:05:49 +0200, I wrote:
I max'ed all playback and capture volumes , ran arecord | aplay ,which worked fine. The laptop I have (toshiba A100) only has builtin speakers and a headphone jack for output (and a mic jack for input). There are no other jacks. I tried both the speakers and headphones, both worked (the speakers are muted when the headphone is connected).
Interesting. It means that this has obviously a different hardware design from the pre-defined one in the current driver code.
I did a quick hack, added a new model toshiba-a100. Hopefully this matches better with your device. Try the patch below, and don't pass model option.
Takashi
diff -r f73f5a4fa439 pci/hda/patch_realtek.c --- a/pci/hda/patch_realtek.c Tue Apr 24 12:27:36 2007 +0200 +++ b/pci/hda/patch_realtek.c Tue Apr 24 12:46:21 2007 +0200 @@ -105,6 +105,7 @@ enum { ALC861_6ST_DIG, ALC861_UNIWILL_M31, ALC861_TOSHIBA, + ALC861_TOSHIBA_A100, ALC861_ASUS, ALC861_ASUS_LAPTOP, ALC861_AUTO, @@ -8299,6 +8300,7 @@ static const char *alc861_models[ALC861_ [ALC861_6ST_DIG] = "6stack-dig", [ALC861_UNIWILL_M31] = "uniwill-m31", [ALC861_TOSHIBA] = "toshiba", + [ALC861_TOSHIBA_A100] = "toshiba-a100", [ALC861_ASUS] = "asus", [ALC861_ASUS_LAPTOP] = "asus-laptop", [ALC861_AUTO] = "auto", @@ -8311,7 +8313,7 @@ static struct snd_pci_quirk alc861_cfg_t SND_PCI_QUIRK(0x1043, 0x1393, "ASUS", ALC861_ASUS), SND_PCI_QUIRK(0x1043, 0x81e7, "ASUS", ALC660_3ST), SND_PCI_QUIRK(0x1179, 0xff00, "Toshiba", ALC861_TOSHIBA), - SND_PCI_QUIRK(0x1179, 0xff10, "Toshiba", ALC861_TOSHIBA), + SND_PCI_QUIRK(0x1179, 0xff10, "Toshiba A100", ALC861_TOSHIBA_A100), SND_PCI_QUIRK(0x1584, 0x9072, "Uniwill m31", ALC861_UNIWILL_M31), SND_PCI_QUIRK(0x1584, 0x2b01, "Uniwill X40AIx", ALC861_UNIWILL_M31), SND_PCI_QUIRK(0x1849, 0x0660, "Asrock 939SLI32", ALC660_3ST), @@ -8395,6 +8397,17 @@ static struct alc_config_preset alc861_p .input_mux = &alc861_capture_source, .unsol_event = alc861_toshiba_unsol_event, .init_hook = alc861_toshiba_automute, + }, + [ALC861_TOSHIBA_A100] = { + .mixers = { alc861_toshiba_mixer }, + .init_verbs = { alc861_base_init_verbs }, + .num_dacs = ARRAY_SIZE(alc861_dac_nids), + .dac_nids = alc861_dac_nids, + .num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes), + .channel_mode = alc883_3ST_2ch_modes, + .num_adc_nids = ARRAY_SIZE(alc861_adc_nids), + .adc_nids = alc861_adc_nids, + .input_mux = &alc861_capture_source, }, [ALC861_ASUS] = { .mixers = { alc861_asus_mixer },