[alsa-devel] Realtek ALC268, Acer 4315 ?Use mic port as independent output?

Eliot Blennerhassett linux at audioscience.com
Fri Oct 31 09:55:43 CET 2008


I have acer 4315 laptop with realtek alc268 codec.
(It also has hda modem which I don't use.)

Looking at the datasheet, the codec has 2 PCM outs, but alsa hda driver
with model=acer shows only one.

I want to know if I can enable the 2nd output, and use the external mic
jack as a second line out?

I can see that PCM2/LOUT2 connects to HP-OUT (widget 0x15), while
PCM1/LOUT1 connects to several pins 0x[14,15,16,18,1A]

How do I go about testing this.  Does the hda model=test enable *every*
widget and PCM and allow change of pin direction etc?

BTW I want to use the 2nd output as the secondar  "preview" (prelisten?)
headphone output for my  audio player (pytone), while main output is
going to speakers.

TIA for any advice


!!PCI Soundcards installed in the system

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)

!!Advanced information - PCI Vendor/Device/Susbsystem ID's

00:1b.0 0403: 8086:284b (rev 03)
	Subsystem: 1025:0133

!!Modprobe options (Sound related)

snd-hda-intel: enable=1 index=0 model=acer
snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388

!!Loaded sound module options

!!Module: snd_hda_intel
enable : Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 0
index : 0,-1,-1,-1,-1,-1,-1,-1
model : acer,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
position_fix : 0,0,0,0,0,0,0,0
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
single_cmd : N

!!HDA-Intel Codec information

Codec: Realtek ALC268
Address: 0
Vendor Id: 0x10ec0268
Subsystem Id: 0x10250133
Revision Id: 0x100003
No Modem Function Group found

!!Aplay/Arecord output


**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0


**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

More information about the Alsa-devel mailing list