On Wed, Nov 11, 2009 at 16:22, Wael Nasreddine (a.k.a eMxyzptlk) mla@nasreddine.com wrote:
On Wed, Jul 29, 2009 at 8:55 AM, Takashi Iwai<tiwai at suse.de> wrote:
At Tue, 28 Jul 2009 20:07:29 +0200, Wael Nasreddine (a.k.a eMxyzptlk) wrote:
On Mon, Jul 27, 2009 at 3:15 PM, Takashi Iwai <tiwai at suse.de> wrote:
At Sat, 25 Jul 2009 21:44:46 +0200, Wael Nasreddine (a.k.a eMxyzptlk) wrote: > > I still got no solution for this problem,
Which problem? It'd be helpful if you give a problem summary and what you've done until now (and don't do top-posting)...
thanks,
Takashi
Hi Takashi,
I'm sorry I didn't notice that the problem wasn't quoted in my last message, anyway the whole topic is included in the forwarded message below, I tried using hda-verb and hda-analyzer, like you suggested in one of your emails, but since I don't even know what I'm looking for nor what to try, I did not got too far!
What else do you suggest? Are you aware of anyone having a similar issue I can query to help me figure it out ?
First off, try the very latest alsa-driver snapshot. ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
The problem is that BIOS sets only one stereo speaker in the pin configuration, so the driver cannot know what to do with another speaker. In short, it's a BIOS bug.
To overcome that, you need to figure out which pin corresponds to the speaker. The rest available (analog) output pins are 0x0f and 0x14. Set these as output pins, and connect to DAC. For example,
# hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40 # hda-verb /dev/snd/hwC0D0 0x0f SET_CONN 0
which enables the output of the pin 0x0f, then connects to the first DAC (= 0x10). Similarly,
# hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40 # hda-verb /dev/snd/hwC0D0 0x15 SET_CONN 0
which enables the output of the pin 0x14, then changes the connection of its mux (0x15) to the first DAC (0x10).
If these don't help, it's possible that some GPIO bits play any role. Play with GPIO bits, which can be also changed via hda-verb.
Takashi
Hey Takashi,
I tried what you have suggested above, and I also tried to upgrade the BIOS (it's F.2C now) but I still have the same problem with my sound, here's an updated alsa-info output
http://www.alsa-project.org/db/?f=2cdfc5aa67bc0baf98d38c13806739afb6f5163f
I also tried to play a bit with GPIO bits but I don't know much about that topic either, I tried
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x0f hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0f
and
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x0f hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0f
But that did not affect anything, the output is only from one speaker (left one), what do you suggest?
Thanks
-- Wael Nasreddine
Weem Chief-Development Officer - http://www.weem.com
Blog : http://wael.nasreddine.com E-mail : wael.nasreddine@weem.com gTalk : wael.nasreddine@gmail.com Tel : +33.6.32.94.70.13 Skype : eMxyzptlk Twitter : @eMxyzptlk
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2
.: An infinite number of monkeys typing into GNU emacs, would never make a good program. (L. Torvalds 1995) :.
Someone else has the same PC as mine (HP DV7-1299EF) and it happens that we are running the exact OS and the exact kernel version, I asked him to send me the alsa-info (attached in this mail), The difference I noticed:
Mine: 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xdf000000 irq 33
His: 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xdf000000 irq 34
In the codec section: Mine: Node 0x0a [Pin Complex] wcaps 0x400181: Stereo Pincap 0x0000001c: OUT HP Detect Pin Default 0x0221401f: [Jack] HP Out at Ext Front Conn = 1/8, Color = Green DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0xc0: OUT HP Unsolicited: tag=01, enabled=1 Connection: 3 0x10 0x11* 0x17 Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Amp-Out caps: N/A Amp-Out vals: [0x63 0x63] Converter: stream=5, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Amp-Out caps: N/A Amp-Out vals: [0x63 0x63] Converter: stream=5, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x09 0x09] Connection: 4 0x1a* 0x17 0x18 0x19 Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x89 0x89] Connection: 4 0x1b* 0x17 0x18 0x19 Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital Converter: stream=5, channel=0 Digital: Enabled Digital category: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 4 samples Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital Converter: stream=5, channel=0 Digital: Enabled Digital category: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 4 samples Node 0x04 [Audio Output] wcaps 0x211: Stereo Digital Converter: stream=0, channel=0 Digital: Enabled Digital category: 0x0 PCM: rates [0xc0]: 48000 88200 bits [0xf]: 8 16 20 24 formats [0x1]: PCM
His: Node 0x0a [Pin Complex] wcaps 0x400181: Stereo Pincap 0x0000001c: OUT HP Detect Pin Default 0x0221401f: [Jack] HP Out at Ext Front Conn = 1/8, Color = Green DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0x00: Unsolicited: tag=01, enabled=1 Connection: 3 0x10 0x11* 0x17 Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Amp-Out caps: N/A Amp-Out vals: [0x5f 0x5f] Converter: stream=0, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Amp-Out caps: N/A Amp-Out vals: [0x5f 0x5f] Converter: stream=0, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x8a 0x8a] Connection: 4 0x1a 0x17 0x18* 0x19 Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x80 0x80] Connection: 4 0x1b 0x17 0x18* 0x19 Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 4 samples Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 4 samples Node 0x04 [Audio Output] wcaps 0x211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0xc0]: 48000 88200 bits [0xf]: 8 16 20 24 formats [0x1]: PCM
The full diff between both info files can be viewed here http://pastebin.com/f314869e
Hopefully someone have an insight on what's going on...