All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julian Sikorski <belegdol@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: model needed for Clevo P150HM (Realtek ALC892)
Date: Mon, 18 Jul 2011 14:42:55 +0200	[thread overview]
Message-ID: <4E242A4F.7080009@gmail.com> (raw)
In-Reply-To: <s5h8vrvkclo.wl%tiwai@suse.de>

W dniu 18.07.2011 14:16, Takashi Iwai pisze:
> At Mon, 18 Jul 2011 13:42:50 +0200,
> Julian Sikorski wrote:
>>
>> W dniu 18.07.2011 13:19, Takashi Iwai pisze:
>>> At Mon, 18 Jul 2011 13:15:14 +0200,
>>> Julian Sikorski wrote:
>>>>
>>>> W dniu 18.07.2011 10:52, Takashi Iwai pisze:
>>>>> And I can't reproduce your problem with the alsa-info.sh output above.
>>>>> Give more exact information what you did and what is the problem.
>>>>>
>>>>>
>>>>> thanks,
>>>>>
>>>>> Takashi
>>>> I'm sorry for the confusion - let me sum up the current situation. With
>>>> the fixes you pushed to sound-2.6/master I was able to get 5.1 sound out
>>>> of my laptop. The only missing bit was the 7.1 sound. And the last
>>>> channel goes via a jack/optical spdif hybrid. The problem is that the
>>>> BIOS does not announce that and as such alsa is unaware of the side
>>>> surround channel.
>>>> Using Raymond's advice, I was able to make the sound come out of the
>>>> last jack, by changing some values for pin 0x17 (described as sidesurr
>>>> in the datasheet), diff is attached. I basically checked what was the
>>>> difference in alsa-info.sh output when I was changing number of channels
>>>> with alsamixer, and then did the same for pin 0x17.
>>>> Since, from what I understood, you wanted me to figure out which pin is
>>>> connected to the last jack [1], I thought this information would be
>>>> useful to fix BIOS shortcomings.
>>>
>>> Yes, and note that you can set up the initial pin configurations
>>> dynamically via sysfs, too.
>>
>> I tried, but without much success [2] - I came up with 0x01111xxx, but I
>> do not have enough understanding on what to put as the last 3 numbers.
>
> The last three numbers are pretty important, so check the HD-audio
> specification.

The specification [3] says the last 3 are misc, default association and 
sequence. So what I have now:
- misc: not sure here, since 3 out of 4 bits are reserved. 4th one 
should be 0 though, since the port has jack sensing functionality.
- default association: 3, as the working jacks have that set to 3
- sequence: since the working lfe has it set to 0 (center/lfe) and f 
(surround), I guess any value in between should work.
I am not sure if my reasoning is right though.

>
>> Moreover, I keep getting this upon trying to apply the new pin
>> configuration:
>> # echo 0x17 0x011111f0>  user_pin_configs
>> # LANG=C pasuspender echo 1>  reconfig
>> echo: write error: Device or resource busy
>
> You should log out, go to linux console, and kill all processes
> accessing the sound devices, then do reconfig.

OK, I will try with 0x17 0x111103b or something like that.

>
>>
>>>> Other problem is that the volume on that jack is controlled by center
>>>> and lfe sliders (in alsamixer), which is probably caused by the fact
>>>> that alsa is unaware of the 7.1 sound.
>>>
>>> And this is not what I can't reproduce.
>>>
>>>> If more information is needed, please let me know what do you need in
>>>> addition to alsa-info.sh output.
>>>
>>> First off, double-check whether the CLFE mixer really changes the pin
>>> amp.  At best, take alsa-info.sh output snapshot before and after
>>> changing the mixer state, and compare the files (better give both
>>> files in the mail).
>>
>> Here you go. playing.txt is the state when sound comes out of the
>> spdif/side pin, and the center-lfe-half-volume.txt is when the volume is
>> reduced to 50 % afterwards.
>
> Between playing.txt and cneter-lfe-half-volume.txt, I see no change
> regarding the pin 0x17.  The only difference is the DAC volume of NID
> 0x05.  What am I missing?

Nothing probably. I can only confirm that the volume on the spdif/side 
jack goes down if you move the slider. I will check what does windows do.

> Takashi

Julian

[3] 
http://www.intel.com/standards/hdaudio/pdf/High_Definition_Audio_1_0a.pdf

  reply	other threads:[~2011-07-18 12:43 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-23  6:36 model needed for Clevo P150HM (Realtek ALC892) Julian Sikorski
2011-06-23 12:41 ` Takashi Iwai
2011-06-23 16:40   ` Julian Sikorski
2011-06-24  8:34     ` Takashi Iwai
2011-06-24  9:12       ` Takashi Iwai
2011-06-24 11:25         ` Julian Sikorski
2011-06-25  7:11           ` Takashi Iwai
2011-06-25  9:22             ` Julian Sikorski
2011-06-25 11:08             ` Julian Sikorski
2011-06-25 11:31               ` Julian Sikorski
2011-06-25 12:01                 ` Julian Sikorski
2011-06-27  6:04                   ` Takashi Iwai
2011-06-27  6:21                     ` Julian Sikorski
2011-06-27  9:19                       ` Takashi Iwai
2011-06-27 12:32                         ` Takashi Iwai
2011-06-27 12:42                           ` Julian Sikorski
2011-06-27 12:46                             ` Takashi Iwai
2011-06-27 12:55                               ` Julian Sikorski
2011-06-27 16:12                                 ` Takashi Iwai
2011-06-27 20:08                           ` Julian Sikorski
2011-06-28  7:12                             ` Takashi Iwai
2011-06-28  8:03                               ` Julian Sikorski
2011-06-28  9:05                                 ` Takashi Iwai
2011-06-28 10:36                                   ` Julian Sikorski
2011-06-28 12:40                                     ` Takashi Iwai
2011-06-29 17:36                               ` Julian Sikorski
2011-06-29 18:16                                 ` Julian Sikorski
2011-06-29 19:29                                   ` Julian Sikorski
2011-06-30  5:26                                     ` Takashi Iwai
2011-06-30  6:33                                       ` Julian Sikorski
     [not found]                                       ` <4E0C17F2.5070704@gmail.com>
2011-06-30  6:54                                         ` Takashi Iwai
2011-06-30 17:00                                           ` Julian Sikorski
2011-06-30 17:41                                             ` Takashi Iwai
2011-06-30 18:09                                               ` Julian Sikorski
2011-06-30 19:28                                                 ` Takashi Iwai
2011-06-30 20:16                                                   ` Julian Sikorski
2011-07-01  5:21                                                     ` Takashi Iwai
2011-07-01  6:14                                                       ` Julian Sikorski
2011-07-01  6:24                                                         ` Takashi Iwai
2011-07-01  6:27                                                           ` Julian Sikorski
2011-07-01  7:07                                                             ` Julian Sikorski
2011-07-01  7:14                                                               ` Takashi Iwai
2011-07-01 11:18                                                                 ` Julian Sikorski
2011-07-01 22:09                                                                 ` Julian Sikorski
2011-07-01 22:37                                                                   ` Julian Sikorski
2011-07-04 20:47                                                                     ` Julian Sikorski
2011-07-05  8:16                                                           ` Julian Sikorski
2011-07-01  7:32                                                       ` Takashi Iwai
2011-07-01 18:57                                                         ` Julian Sikorski
2011-07-01 19:25                                                           ` Takashi Iwai
2011-07-01 19:35                                                             ` Julian Sikorski
2011-07-03 11:22                                                       ` Julian Sikorski
2011-07-04 22:50                                                       ` Julian Sikorski
2011-07-05  1:31                                                         ` Raymond Yau
2011-07-05  7:45                                                           ` Julian Sikorski
2011-07-17 11:55                                                           ` Julian Sikorski
2011-07-17 12:17                                                             ` Julian Sikorski
2011-07-18  7:35                                                               ` Takashi Iwai
2011-07-18  8:52                                                                 ` Takashi Iwai
2011-07-18 11:15                                                                   ` Julian Sikorski
2011-07-18 11:18                                                                     ` Julian Sikorski
2011-07-18 11:19                                                                     ` Takashi Iwai
2011-07-18 11:42                                                                       ` Julian Sikorski
2011-07-18 12:16                                                                         ` Takashi Iwai
2011-07-18 12:42                                                                           ` Julian Sikorski [this message]
2011-07-18 13:23                                                                             ` Takashi Iwai
2011-07-18 13:36                                                                               ` Julian Sikorski
2011-07-05  5:32                                                         ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2011-06-23  6:40 Julian Sikorski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E242A4F.7080009@gmail.com \
    --to=belegdol@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.