just edit the firmware file generated by hda-jack-retask and add the
hint

add_jack_modes to add Mic Jack Mode (Mic and Line in Switching) and Line
Out Jack Mode for (Line Out and HP switching)


Early Patching
~~~~~~~~~~~~~~
When CONFIG_SND_HDA_PATCH_LOADER=y is set, you can pass a "patch" as a
firmware file for modifying the HD-audio setup before initializing the
codec.  This can work basically like the reconfiguration via sysfs in
the above, but it does it before the first codec configuration.

A patch file is a plain text file which looks like below:

------------------------------------------------------------------------
  [codec]
  0x10ec0892 0x80862036

  [pincfg]
  0x18 0x01a19020

  [hint]
add_jack_modes  = true
------------------------------------------------------------------------

The file needs to have a line `[codec]`.  The next line should contain
three numbers indicating the codec vendor-id (0x12345678 in the
example), the codec subsystem-id (0xabcd1234) and the address (2) of
the codec.  The rest patch entries are applied to this specified codec
until another codec entry is given.  Passing 0 or a negative number to
the first or the second value will make the check of the corresponding
field be skipped.  It'll be useful for really broken devices that don't
initialize SSID properly.

The `[model]` line allows to change the model name of the each codec.
In the example above, it will be changed to model=auto.
Note that this overrides the module option.

After the `[pincfg]` line, the contents are parsed as the initial
default pin-configurations just like `user_pin_configs` sysfs above.
The values can be shown in user_pin_configs sysfs file, too.

Similarly, the lines after `[verb]` are parsed as `init_verbs`
sysfs entries, and the lines after `[hint]` are parsed as `hints`
sysfs entries, respectively.


The hd-audio driver reads the file via request_firmware().  Thus,
a patch file has to be located on the appropriate firmware path,
typically, /lib/firmware.  For example, when you pass the option
`patch=hda-init.fw`, the file /lib/firmware/hda-init.fw must be
present.

The patch module option is specific to each card instance, and you
need to give one file name for each instance, separated by commas.
For example, if you have two cards, one for an on-board analog and one 
for an HDMI video board, you may pass patch option like below:
------------------------------------------------------------------------
    options snd-hda-intel patch=on-board-patch,hdmi-patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1216094

Title:
  [Cirrus7 Nimbus, Realtek ALC892, Pink Line In, Rear] No sound at all

Status in “alsa-driver” package in Ubuntu:
  New

Bug description:
  I cannot get a microphone to work (attached to back, pink line-in). I
  hope all neccessary information is in automated attachment.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
  Uname: Linux 3.8.0-29-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  andreas    2221 F.... pulseaudio
  Date: Fri Aug 23 22:06:07 2013
  InstallationDate: Installed on 2013-07-08 (46 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaRecordingTest: ALSA recording test through plughw:PCH failed
  Symptom_Card: Intern geluid - HDA Intel PCH
  Symptom_DevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  andreas    2221 F.... pulseaudio
  Symptom_Jack: Pink Line In, Rear
  Symptom_Type: No sound at all
  Title: [hostname, Realtek ALC892, Pink Line In, Rear] No sound at all
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/29/2013
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: KBQ7710H.86A.0051.2013.0329.1350
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: DQ77KB
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAG81483-500
  dmi.chassis.type: 81
  dmi.chassis.vendor: cirrus7 computing
  dmi.chassis.version: rev1
  dmi.modalias: 
dmi:bvnIntelCorp.:bvrKBQ7710H.86A.0051.2013.0329.1350:bd03/29/2013:svncirrus7computing:pnnimbus:pvrrev1:rvnIntelCorporation:rnDQ77KB:rvrAAG81483-500:cvncirrus7computing:ct81:cvrrev1:
  dmi.product.name: nimbus
  dmi.product.version: rev1
  dmi.sys.vendor: cirrus7 computing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1216094/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to