[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-24 Thread Raymond
Do internal mic use both left and right channel of node 0x0d?  Try mute
either left or right amp in value of ADC

You need to find the missing headset mic from the remaining unconnected
pin complex which pincap support IN

Node 0x0d [Pin Complex] wcaps 0x41048b: Stereo
 Amp-In Control: name="Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, 
dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 
Amp-In vals: [0x02 0x02] 
Pincap 0x1764: IN Detect Balanced 
Vref caps: HIZ 50 GRD 80 
Pin Default 0x90a00110: [Fixed] Mic at Int N/A Conn = Unknown, Color = Unknown 
DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE
 
Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=00, enabled=0
 
Power states: D0 D3 EPSS 
Power: setting=D0, actual=D0 Delay: 1 samples

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-24 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/include/sound/hda_verbs.h

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-24 Thread Raymond
Node 0x12 [Pin Complex] wcaps 0x41000b: Stereo
 Amp-In Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x27, mute=0 
Amp-In vals: [0x00 0x00] 
Pincap 0x0020: IN Pin Default 0x40f0: [N/A] Line Out at Ext N/A Conn = 
Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 
Pin-ctls: 0x00: 
Delay: 1 samples

If pin 0x12 is the headset mic, you need to set pin cfg to a headset mic
jack

so that driver set pin ctl to IN instead of 0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-24 Thread Raymond
Dynamic adc switching between 0x05 and 0x06

Node 0x05 [Audio Input] wcaps 0x18051b: Stereo

Amp-In Amp-In caps: ofs=0x33, nsteps=0x3f, stepsize=0x03, mute=1 
Amp-In vals: [0xb3 0xb3] Converter: stream=0, channel=0 
SDI-Select: 0 
PCM: rates [0x1f5]: 8000 16000 32000 44100 48000 88200 96000 bits [0x1e]: 16 20 
24 32 formats [0x3]: PCM FLOAT 
Power states: D0 D3 EPSS 
Power: setting=D3, actual=D0 Delay: 8 samples
 Connection: 2 0x0c* 0x12

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-24 Thread Raymond
http://git.kernel.org/cgit/linux/kernel/git/tiwai/hda-
emu.git/tree/README?id=HEAD

hda-emu, alsa driver source and your codec info show which verbs send to
the codecs by alsa dri ver, hda-decode-verb and hda-decode-pincfg decode
those init verbs, proc coef and pincfg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-24 Thread Raymond
http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hda-
verb/README;hb=HEAD

http://git.alsa-project.org/?p=alsa-
tools.git;a=blob;f=hdajackretask/README;hb=HEAD

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-23 Thread christoph
hm. for my model (MacBook 6,1) there are no pincfg table and I can't find the 
subsystem Id. 
Closest is 0x106b5600, "MacBookAir 5,2". Unfortunately there is no pincfg table 
for this model either + none for the generic "Apple" for 0x106b SSIDs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-23 Thread Raymond
https://bugzilla.kernel.org/show_bug.cgi?id=110561#c21

** Bug watch added: Linux Kernel Bug Tracker #110561
   http://bugzilla.kernel.org/show_bug.cgi?id=110561

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-23 Thread christoph
sorry, this is beyond my skill, and I didn't find a guide to follow. 
Maybe you can give me a little bit more precise instructions on what to do with 
the values. 
I think I found the relevant part of the windows .inf file (Section starting 
with [CDB4206DM12PinConfigOverride]), i think I have to switch the bytes e.g. 
0x1,10,1c,97,00 will become 00 97 1c 10 and I found a guide describing what 
those hex digits mean (comment #15 on 
http://www.insanelymac.com/forum/topic/275086-pin-config-patching-voodoohda-0272-project-os-x-branch/)

the info retrieved from the pins matches with the comments of the
windows .inf file.

But now? What do I do with these hex codes. Which of these and where do
I have to patch my audio driver to recognize the TRRS input signal?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-19 Thread Raymond
Codec: Cirrus Logic CS4206 
Address: 0 
AFG Function Id: 0x1 (unsol 0) 
Vendor Id: 0x10134206
 Subsystem Id: 0x106b5400 
Revision Id: 0x100301

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-19 Thread Raymond
Find out the initverbs, pincfg related to the subsystem id


Codec: Cirrus Logic CS4206 
Address: 0 
AFG Function Id: 0x1 (unsol 0)
 Vendor Id: 0x10134206 
Subsystem Id: 0x106b5500 
Revision Id: 0x100302

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-19 Thread Raymond
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/hda/patch_cirrus.c

Compare those initverb, pincfg, hp detect in  patch cs4206

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-18 Thread christoph
Honestly I don't know at which values I have to look in this inf file
(and then what to do with them).

I tried to override x0c pin with hdajackretask as external Microphone which 
leaves me with 2 input devices in Settings -> Sound and 2 capture devices in 
alsamixer as well. Fiddling around with unmuting/muting etc.: they both don't 
produce signals (not even the internal laptop mic). 
I tried different settings for hdajackretask with pin x0c but they didn't 
affect sound devices at all. 
Overriding other pins mutes the headset + internal speakers (and don't affect 
input devices).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-18 Thread Raymond
https://www.cirrus.com/en/products/pro/detail/P1233.html

Study datasheet and take a look at windows inf file to find those verbs
and pincfg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: alsa-driver (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1329191] Re: [MacBookAir5, 1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using TRRS plug does not work correctly

2016-01-17 Thread christoph
*push*

this happens on the MacBook 6,1 (late 2009) as well. It has the same
Cirrus CS4206.

I just tested the most recent alsa-daily which builds for wily/amd64 without 
effect. Internal Speakers, Internal Mic, Headphones all work - TRRS mic doesn't 
work (Mac OS X supports exactly this Headset device out of the box). 
I'm using 15.10 GNOME Ubuntu. In sound settings I can only activate the 
internal mic and don't even see any external (as with output where the label of 
the output device automatically changes if the headset is connected). 

uname -r
Linux macbook 4.2.0-23-generic #28-Ubuntu SMP Sun Dec 27 17:47:31 UTC 2015 
x86_64 x86_64 x86_64 GNU/Linux

running alsa-info.sh (with headset connected) =>
 Your ALSA information is located at 
http://www.alsa-project.org/db/?f=7556cfd21195211e5d8bd44184d481b0bd26d892

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329191

Title:
  [MacBookAir5,1, Cirrus Logic CS4206, Blue Line In, Rear] Line In using
  TRRS plug does not work correctly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs