[Desktop-packages] [Bug 939161] Re: [alsa-devel] [PATCH] ALSA: hda - Remove ignore_misc_bit

2012-09-25 Thread Raymond
2012-9-19 上午8:35 於 Raymond Yau superquad.vort...@gmail.com 寫道:

  do you mean the commit does not fix the bug?
 
  ALSA: hda - add support for Uniwill ECS M31EI notebook
 
  This hardware requires same fixup for the node 0x0f like Asus A6Rp.
  More information: https://bugzilla.redhat.com/show_bug.cgi?id=785417
 
 
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commit;h=416846d2b31fc740ed9d5a5ec116964fb43c4o358

 
 
  The PCI SSIDs are different, so I don't think that commit will affect
the bug I was trying to fix.

https://launchpadlibrarian.net/93810068/PciMultimedia.txt

00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High
Definition Audio Controller [8086:27d8] (rev 02)
Subsystem: Uniwill Computer Corp Device [1584:9072]

https://launchpadlibrarian.net/93810064/Card0.Codecs.codec.0.txt

Codec: Realtek ALC861
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10ec0861
Subsystem Id: 0x1584
Revision Id: 0x100300

https://bugzilla.redhat.com/attachment.cgi?id=559582

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

00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 1584:9072

Codec: Realtek ALC861
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10ec0861
Subsystem Id: 0x1584
Revision Id: 0x100300

-- 
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/939161

Title:
  Hardware not showed in Gnome-Control-Center. - [M31EI Series, Realtek
  ALC861, Green Headphone Out, Rear]

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

Bug description:
  My hardware is not displayed when open the gnome-control-center... But when I 
do:
   # sudo gnome-control-center it is showed correctly.

  
  Terminal messages:

  

  jrzabott@junior-notebook:~$ gnome-control-center

  Gtk-WARNING **: Unknown object home-button specified in sizegroup
  sizegroup

   get server info

   update server
   2 profiles supported on port Headphones 

   2 profiles supported on port Microphone

   SET PROFILES Microphone
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 0 
   description Microphone 
   origin Built-in Audio 
   port available 0 
   

   SET PROFILES Headphones
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 1 
   description Headphones 
   origin Built-in Audio 
   port available 0 
   

   update sink - is new

   Match device with stream 
   We have a match with description : Headphones  
   origin : Built-in Audio 
   cached already with device id 2, 
   = set stream id to 1 

   
   
   lookup-device-from-stream found device  
   device description Headphones 
   device port = analog-output-headphones 
   device stream id 1 
   AND 
   stream port = analog-output-headphones stream id 1 and stream description 
Built-in Audio Analog Stereo 
  active_sink change 

  
   active output update - device id = 2 

  
  sound-cc-panel-WARNING **: The tree is empty = we have no devices in the 
tree = cannot set the active output

   Match device with stream 
   We have a match with description : Microphone  
   origin : Built-in Audio 
   cached already with device id 1, 
   = set stream id to 2 

   
   
   lookup-device-from-stream found device  
   device description Microphone 
   device port = analog-input-microphone 
   device stream id 2 
   AND 
   stream port = analog-input-microphone stream id 2 and stream description 
Built-in Audio Analog Stereo 

   active_input_update Microphone

  sound-cc-panel-WARNING **: The tree is empty = we have no devices so
  cannot set the active input

   saving bar for stream System Soundsjrzabott@junior-notebook:~$

  
  
==

  jrzabott@junior-notebook:~$ sudo gnome-control-center
  [sudo] password for jrzabott: 

  Gtk-WARNING **: Unknown object home-button specified in sizegroup
  sizegroup

  
==


  IMAGES SHOWING THE PROBLEM...

  http://i.imgur.com/Dv7Vm.png - all users.

  http://i.imgur.com/92UqG.png - when I use 'sudo'.

  
  I'm always open to provide informations, and help with anything. :D

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
  Uname: Linux 3.2.0-17-generic i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.92-0ubuntu1
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  jrzabott   1792 F pulseaudio
jrzabott   1888 F TeamViewer.exe
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfe0fc000 irq 43'
   

[Desktop-packages] [Bug 939161] Re: [alsa-devel] [PATCH] ALSA: hda - Remove ignore_misc_bit

2012-09-19 Thread Raymond
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/939161

00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High
Definition Audio Controller [8086:27d8] (rev 02)
Subsystem: Uniwill Computer Corp Device [1584:9072]


 The PCI SSIDs are different, so I don't think that commit will affect the
bug I was trying to fix.

There was a model uniwill-m31

what you need is just provide a pin fixup from the patch which remove the
model

- [ALC861_UNIWILL_M31] = uniwill-m31,

- SND_PCI_QUIRK(0x1584, 0x9072, Uniwill m31, ALC861_UNIWILL_M31),

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=9fbbc94fe0f0a85d048b74fced3cfca404d78a3c;hp=6ebb80530b0ed6b2e93f2e6497890b4437807055

-- 
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/939161

Title:
  Hardware not showed in Gnome-Control-Center. - [M31EI Series, Realtek
  ALC861, Green Headphone Out, Rear]

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

Bug description:
  My hardware is not displayed when open the gnome-control-center... But when I 
do:
   # sudo gnome-control-center it is showed correctly.

  
  Terminal messages:

  

  jrzabott@junior-notebook:~$ gnome-control-center

  Gtk-WARNING **: Unknown object home-button specified in sizegroup
  sizegroup

   get server info

   update server
   2 profiles supported on port Headphones 

   2 profiles supported on port Microphone

   SET PROFILES Microphone
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 0 
   description Microphone 
   origin Built-in Audio 
   port available 0 
   

   SET PROFILES Headphones
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 1 
   description Headphones 
   origin Built-in Audio 
   port available 0 
   

   update sink - is new

   Match device with stream 
   We have a match with description : Headphones  
   origin : Built-in Audio 
   cached already with device id 2, 
   = set stream id to 1 

   
   
   lookup-device-from-stream found device  
   device description Headphones 
   device port = analog-output-headphones 
   device stream id 1 
   AND 
   stream port = analog-output-headphones stream id 1 and stream description 
Built-in Audio Analog Stereo 
  active_sink change 

  
   active output update - device id = 2 

  
  sound-cc-panel-WARNING **: The tree is empty = we have no devices in the 
tree = cannot set the active output

   Match device with stream 
   We have a match with description : Microphone  
   origin : Built-in Audio 
   cached already with device id 1, 
   = set stream id to 2 

   
   
   lookup-device-from-stream found device  
   device description Microphone 
   device port = analog-input-microphone 
   device stream id 2 
   AND 
   stream port = analog-input-microphone stream id 2 and stream description 
Built-in Audio Analog Stereo 

   active_input_update Microphone

  sound-cc-panel-WARNING **: The tree is empty = we have no devices so
  cannot set the active input

   saving bar for stream System Soundsjrzabott@junior-notebook:~$

  
  
==

  jrzabott@junior-notebook:~$ sudo gnome-control-center
  [sudo] password for jrzabott: 

  Gtk-WARNING **: Unknown object home-button specified in sizegroup
  sizegroup

  
==


  IMAGES SHOWING THE PROBLEM...

  http://i.imgur.com/Dv7Vm.png - all users.

  http://i.imgur.com/92UqG.png - when I use 'sudo'.

  
  I'm always open to provide informations, and help with anything. :D

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
  Uname: Linux 3.2.0-17-generic i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.92-0ubuntu1
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  jrzabott   1792 F pulseaudio
jrzabott   1888 F TeamViewer.exe
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfe0fc000 irq 43'
 Mixer name : 'Realtek ALC861'
 Components : 'HDA:10ec0861,1584,00100300 
HDA:10573055,10573055,00100700'
 Controls  : 14
 Simple ctrls  : 9
  Date: Wed Feb 22 22:58:28 2012
  InstallationMedia: Ubuntu 11.10 Oneiric Ocelot - Release i386 (20111012)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:Intel successful
  Symptom_AlsaPlaybackTestStderr:
   A L S A   l i b   c o n f . c : 1 2 2 0 : ( p a r s e _ d e f )   s h o w   
i s   n o t   a   c o m p o u n d 
A L S A   l i b   c o n f . c : 

[Desktop-packages] [Bug 939161] Re: [alsa-devel] [PATCH] ALSA: hda - Remove ignore_misc_bit

2012-09-18 Thread Takashi Iwai
At Mon, 17 Sep 2012 09:39:01 +0200,
David Henningsson wrote:
 
  But the jack detection controls don't follow this yet.  Maybe we can
  set such a jack control as inactive state when the jack detection is
  disabled.
 
  (And this reminds me that we can cut off Phantom name hack by
following the same rule -- just set the control inactive when it has
no real detection.  But it still appears in control list.)
 
 Looking at the alsa-lib API, this seems doable. It seems possible to 
 figure out using snd_hctl_elem_info and then 
 snd_ctl_elem_info_is_inactive. If it is also runtime changeable (i e 
 depending on some other mixer control), we need a callback to fire on 
 the hctl.

Why are you using snd_hctl?  For looking over jack controls, using
snd_ctl_* is more straightforward.

Also, which callback are you thinking of?  The phantom jack is
basically just a placeholder, so there should be no activity from
itself.


Takashi

-- 
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/939161

Title:
  Hardware not showed in Gnome-Control-Center. - [M31EI Series, Realtek
  ALC861, Green Headphone Out, Rear]

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

Bug description:
  My hardware is not displayed when open the gnome-control-center... But when I 
do:
   # sudo gnome-control-center it is showed correctly.

  
  Terminal messages:

  

  jrzabott@junior-notebook:~$ gnome-control-center

  Gtk-WARNING **: Unknown object home-button specified in sizegroup
  sizegroup

   get server info

   update server
   2 profiles supported on port Headphones 

   2 profiles supported on port Microphone

   SET PROFILES Microphone
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 0 
   description Microphone 
   origin Built-in Audio 
   port available 0 
   

   SET PROFILES Headphones
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 1 
   description Headphones 
   origin Built-in Audio 
   port available 0 
   

   update sink - is new

   Match device with stream 
   We have a match with description : Headphones  
   origin : Built-in Audio 
   cached already with device id 2, 
   = set stream id to 1 

   
   
   lookup-device-from-stream found device  
   device description Headphones 
   device port = analog-output-headphones 
   device stream id 1 
   AND 
   stream port = analog-output-headphones stream id 1 and stream description 
Built-in Audio Analog Stereo 
  active_sink change 

  
   active output update - device id = 2 

  
  sound-cc-panel-WARNING **: The tree is empty = we have no devices in the 
tree = cannot set the active output

   Match device with stream 
   We have a match with description : Microphone  
   origin : Built-in Audio 
   cached already with device id 1, 
   = set stream id to 2 

   
   
   lookup-device-from-stream found device  
   device description Microphone 
   device port = analog-input-microphone 
   device stream id 2 
   AND 
   stream port = analog-input-microphone stream id 2 and stream description 
Built-in Audio Analog Stereo 

   active_input_update Microphone

  sound-cc-panel-WARNING **: The tree is empty = we have no devices so
  cannot set the active input

   saving bar for stream System Soundsjrzabott@junior-notebook:~$

  
  
==

  jrzabott@junior-notebook:~$ sudo gnome-control-center
  [sudo] password for jrzabott: 

  Gtk-WARNING **: Unknown object home-button specified in sizegroup
  sizegroup

  
==


  IMAGES SHOWING THE PROBLEM...

  http://i.imgur.com/Dv7Vm.png - all users.

  http://i.imgur.com/92UqG.png - when I use 'sudo'.

  
  I'm always open to provide informations, and help with anything. :D

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
  Uname: Linux 3.2.0-17-generic i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.92-0ubuntu1
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  jrzabott   1792 F pulseaudio
jrzabott   1888 F TeamViewer.exe
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfe0fc000 irq 43'
 Mixer name : 'Realtek ALC861'
 Components : 'HDA:10ec0861,1584,00100300 
HDA:10573055,10573055,00100700'
 Controls  : 14
 Simple ctrls  : 9
  Date: Wed Feb 22 22:58:28 2012
  InstallationMedia: Ubuntu 11.10 Oneiric Ocelot - Release i386 (20111012)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA 

[Desktop-packages] [Bug 939161] Re: [alsa-devel] [PATCH] ALSA: hda - Remove ignore_misc_bit

2012-09-18 Thread Raymond
 do you mean the commit does not fix the bug?

 ALSA: hda - add support for Uniwill ECS M31EI notebook

 This hardware requires same fixup for the node 0x0f like Asus A6Rp.
 More information: https://bugzilla.redhat.com/show_bug.cgi?id=785417


http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commit;h=416846d2b31fc740ed9d5a5ec116964fb43c4o358


 The PCI SSIDs are different, so I don't think that commit will affect the
bug I was trying to fix.


How many audio jacks do this m31ei have as
JrZabott specified model=3stack(3 jacks) which use cd pin , no auto Mic
since this input source also does not support jack detect.

Node 0x11 [Pin Complex] wcaps 0x41: Stereo
  Pincap 0x0063: IN Balanced Trigger ImpSense
  Pin Default 0x99331121: [Fixed] CD at Int ATAPI
Conn = ATAPI, Color = Black
DefAssociation = 0x2, Sequence = 0x1
Misc = NO_PRESENCE
  Pin-ctls: 0x00:

The master playback switch is at audio mixer node 0x16

Simple mixer control 'Master',0
  Capabilities: pswitch penum
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]

There is no  headphone playback volume/switch so why do pulseaudio remove
the analog output path ?

ports:
analog-output-headphones: Headphones (priority 9000, available: no)
properties:

active port: analog-output-headphones

There are mini itx chassis which does not have front audio panel, will
pulseaudio remove the analog output path ?

Default PCM:
rates [0x140]: 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Refer to the block diagram of alc861 datasheet, it seem every audio output
and pin complex has a mute switch

And you already mentioned there is no speaker pin


 the real cases are those desktop which does not use hda front audio
panel ,
 they just loss the auto mute since there is no jack detect circuit but
they
 can still hear sound from the headphone at anytime


 If there is an AC'97 front panel connected, the BIOS should set
NO_PRESENCE in the misc bit.

Do you mean the driver should a read/write kcontrol so that user can change
the state by qashctl ?

-- 
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/939161

Title:
  Hardware not showed in Gnome-Control-Center. - [M31EI Series, Realtek
  ALC861, Green Headphone Out, Rear]

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

Bug description:
  My hardware is not displayed when open the gnome-control-center... But when I 
do:
   # sudo gnome-control-center it is showed correctly.

  
  Terminal messages:

  

  jrzabott@junior-notebook:~$ gnome-control-center

  Gtk-WARNING **: Unknown object home-button specified in sizegroup
  sizegroup

   get server info

   update server
   2 profiles supported on port Headphones 

   2 profiles supported on port Microphone

   SET PROFILES Microphone
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 0 
   description Microphone 
   origin Built-in Audio 
   port available 0 
   

   SET PROFILES Headphones
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 1 
   description Headphones 
   origin Built-in Audio 
   port available 0 
   

   update sink - is new

   Match device with stream 
   We have a match with description : Headphones  
   origin : Built-in Audio 
   cached already with device id 2, 
   = set stream id to 1 

   
   
   lookup-device-from-stream found device  
   device description Headphones 
   device port = analog-output-headphones 
   device stream id 1 
   AND 
   stream port = analog-output-headphones stream id 1 and stream description 
Built-in Audio Analog Stereo 
  active_sink change 

  
   active output update - device id = 2 

  
  sound-cc-panel-WARNING **: The tree is empty = we have no devices in the 
tree = cannot set the active output

   Match device with stream 
   We have a match with description : Microphone  
   origin : Built-in Audio 
   cached already with device id 1, 
   = set stream id to 2 

   
   
   lookup-device-from-stream found device  
   device description Microphone 
   device port = analog-input-microphone 
   device stream id 2 
   AND 
   stream port = analog-input-microphone stream id 2 and stream description 
Built-in Audio Analog Stereo 

   active_input_update Microphone

  sound-cc-panel-WARNING **: The tree is empty = we have no devices so
  cannot set the active input

   saving bar for stream System Soundsjrzabott@junior-notebook:~$

  
  

[Desktop-packages] [Bug 939161] Re: [alsa-devel] [PATCH] ALSA: hda - Remove ignore_misc_bit

2012-09-17 Thread David Henningsson
On 09/09/2012 09:50 AM, Takashi Iwai wrote:
 At Sat, 8 Sep 2012 09:10:14 +0800,
 Raymond Yau wrote:

 2012-9-7 下午1:26 於 David Henningsson david.hennings...@canonical.com 寫道:

 The purpose of this flag is unclear. If the problem is that some machines
 have broken misc/NO_PRESENCE bits, they should be fixed by pin fixups.

 In addition, this causes jack detection functionality to be flawed on
 the M31EI, where there are two jacks without jack detection (which is
 properly marked as NO_PRESENCE), but due to ignore_misc_bit, these
 jacks are instead being reported as being present but always unplugged.

 BugLink:

 do you mean the commit does not fix the bug?

 ALSA: hda - add support for Uniwill ECS M31EI notebook

 This hardware requires same fixup for the node 0x0f like Asus A6Rp.
 More information: https://bugzilla.redhat.com/show_bug.cgi?id=785417

 http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commit;h=416846d2b31fc740ed9d5a5ec116964fb43c4358

The PCI SSIDs are different, so I don't think that commit will affect 
the bug I was trying to fix.

 the real cases are those desktop which does not use hda front audio panel ,
 they just loss the auto mute since there is no jack detect circuit but they
 can still hear sound from the headphone at anytime

If there is no HDA front panel connected to the motherboard physically, 
the codec should report front headphone and mic as unconnected.

If there is an AC'97 front panel connected, the BIOS should set 
NO_PRESENCE in the misc bit.

If BIOS/HW does not support these simple rules, we need to quirk them.

 do pulseaudio need a phantom port for the front panel headphone and mic
 without jack detection ?

 Actually this is one good point.
 The jack detection isn't always reliably on such old machines, and
 BIOS cannot know, too.

Can you be a bit more specific about this claim? What machines? How many 
machines? In what way is it unreliable?

  That is, it has to be adjusted by user
  manually, whether the jack detection is enabled or not.

 So far, we solved this by providing Auto-Mute Mode mixer switch.

This is not a proper way to solve it - Auto-Mute mode as the control 
name says is more closely related to the muting of outputs, than it is 
to the actual jack detection.

Also, Auto-Mute mode is 1) only related to outputs and 2) not 
available generically but only for specific codecs.

 But the jack detection controls don't follow this yet.  Maybe we can
 set such a jack control as inactive state when the jack detection is
 disabled.

 (And this reminds me that we can cut off Phantom name hack by
   following the same rule -- just set the control inactive when it has
   no real detection.  But it still appears in control list.)

Looking at the alsa-lib API, this seems doable. It seems possible to 
figure out using snd_hctl_elem_info and then 
snd_ctl_elem_info_is_inactive. If it is also runtime changeable (i e 
depending on some other mixer control), we need a callback to fire on 
the hctl.


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

-- 
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/939161

Title:
  Hardware not showed in Gnome-Control-Center. - [M31EI Series, Realtek
  ALC861, Green Headphone Out, Rear]

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

Bug description:
  My hardware is not displayed when open the gnome-control-center... But when I 
do:
   # sudo gnome-control-center it is showed correctly.

  
  Terminal messages:

  

  jrzabott@junior-notebook:~$ gnome-control-center

  Gtk-WARNING **: Unknown object home-button specified in sizegroup
  sizegroup

   get server info

   update server
   2 profiles supported on port Headphones 

   2 profiles supported on port Microphone

   SET PROFILES Microphone
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 0 
   description Microphone 
   origin Built-in Audio 
   port available 0 
   

   SET PROFILES Headphones
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 1 
   description Headphones 
   origin Built-in Audio 
   port available 0 
   

   update sink - is new

   Match device with stream 
   We have a match with description : Headphones  
   origin : Built-in Audio 
   cached already with device id 2, 
   = set stream id to 1 

   
   
   lookup-device-from-stream found device  
   device description Headphones 
   device port = analog-output-headphones 
   device stream id 1 
   AND 
   stream port = analog-output-headphones stream id 1 and stream description 
Built-in Audio Analog Stereo 
  active_sink change 

  
   active output update - device id = 2 

  
  sound-cc-panel-WARNING **: The tree is empty = we have no devices in the 
tree = cannot set the active output

   Match device 

[Desktop-packages] [Bug 939161] Re: [alsa-devel] [PATCH] ALSA: hda - Remove ignore_misc_bit

2012-09-13 Thread Raymond
 
  the real cases are those desktop which does not use hda front audio
panel ,
  they just loss the auto mute since there is no jack detect circuit but
they
  can still hear sound from the headphone at anytime
 
  do pulseaudio need a phantom port for the front panel headphone and mic
  without jack detection ?

 Actually this is one good point.
 The jack detection isn't always reliably on such old machines, and
 BIOS cannot know, too.  That is, it has to be adjusted by user
 manually, whether the jack detection is enabled or not.

 So far, we solved this by providing Auto-Mute Mode mixer switch.
 But the jack detection controls don't follow this yet.  Maybe we can
 set such a jack control as inactive state when the jack detection is
 disabled.

 (And this reminds me that we can cut off Phantom name hack by
  following the same rule -- just set the control inactive when it has
  no real detection.  But it still appears in control list.)



The other case is the bios of some computers with alc880 codec have pin
defaults 0x
for some pin complexes

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1015232

hda jack detect need pin fixup

Pin Default 0x: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0x0, Sequence = 0x0

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commit;h=67b6ec3196da235317ff1b9474f17379b78f3294

-- 
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/939161

Title:
  Hardware not showed in Gnome-Control-Center. - [M31EI Series, Realtek
  ALC861, Green Headphone Out, Rear]

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

Bug description:
  My hardware is not displayed when open the gnome-control-center... But when I 
do:
   # sudo gnome-control-center it is showed correctly.

  
  Terminal messages:

  

  jrzabott@junior-notebook:~$ gnome-control-center

  Gtk-WARNING **: Unknown object home-button specified in sizegroup
  sizegroup

   get server info

   update server
   2 profiles supported on port Headphones 

   2 profiles supported on port Microphone

   SET PROFILES Microphone
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 0 
   description Microphone 
   origin Built-in Audio 
   port available 0 
   

   SET PROFILES Headphones
   device-priv-disable_profile_swapping = 1 

   create_ui_device_from_port, direction 1 
   description Headphones 
   origin Built-in Audio 
   port available 0 
   

   update sink - is new

   Match device with stream 
   We have a match with description : Headphones  
   origin : Built-in Audio 
   cached already with device id 2, 
   = set stream id to 1 

   
   
   lookup-device-from-stream found device  
   device description Headphones 
   device port = analog-output-headphones 
   device stream id 1 
   AND 
   stream port = analog-output-headphones stream id 1 and stream description 
Built-in Audio Analog Stereo 
  active_sink change 

  
   active output update - device id = 2 

  
  sound-cc-panel-WARNING **: The tree is empty = we have no devices in the 
tree = cannot set the active output

   Match device with stream 
   We have a match with description : Microphone  
   origin : Built-in Audio 
   cached already with device id 1, 
   = set stream id to 2 

   
   
   lookup-device-from-stream found device  
   device description Microphone 
   device port = analog-input-microphone 
   device stream id 2 
   AND 
   stream port = analog-input-microphone stream id 2 and stream description 
Built-in Audio Analog Stereo 

   active_input_update Microphone

  sound-cc-panel-WARNING **: The tree is empty = we have no devices so
  cannot set the active input

   saving bar for stream System Soundsjrzabott@junior-notebook:~$

  
  
==

  jrzabott@junior-notebook:~$ sudo gnome-control-center
  [sudo] password for jrzabott: 

  Gtk-WARNING **: Unknown object home-button specified in sizegroup
  sizegroup

  
==


  IMAGES SHOWING THE PROBLEM...

  http://i.imgur.com/Dv7Vm.png - all users.

  http://i.imgur.com/92UqG.png - when I use 'sudo'.

  
  I'm always open to provide informations, and help with anything. :D

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
  Uname: Linux 3.2.0-17-generic i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.92-0ubuntu1
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  jrzabott   1792 F pulseaudio
jrzabott   1888 F