Skip to contentSkip to conversation

Problems with HDa

DISCUSSION Lorenzo Milesi 2 participants 4 messages May 25, 2005 – May 27, 2005

lore
Share & tools
lore
#0 lore raw

hi

A friend of mine has just bought a brand new Asus laptop, equiped with an Intel 82801fb.
We're having lots of troubles with this card, and still we couldn't get it working. We previously tried with azm module and then with alsa 1.0.9's hda driver. both modules load correctly, alsamixer works, but absolutely no sound comes out from the speakers.
I was missing one thing: when loading the hda module it says:
hda_codec.c:512:
hda_codec.c: no AFG node found

Any help?
thanks
maxxer

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

#1 lore raw

At Wed, 25 May 2005 09:44:24 +0200,

Quoted 12 lines · Lorenzo Milesi

hi

A friend of mine has just bought a brand new Asus laptop, equiped with an Intel 82801fb.
We're having lots of troubles with this card, and still we couldn't get it working. We previously tried with azm module and then with alsa 1.0.9's hda driver. both modules load correctly, alsamixer works, but absolutely no sound comes out from the speakers.
I was missing one thing: when loading the hda module it says:
hda_codec.c:512:
hda_codec.c: no AFG node found

This message is mostly harmless. The driver detected the modem codec in the tree, which isn't supported yet. In the latest version, this message is suppressed. The serious message is "no codecs initialized". If this message appears, the driver won't work at all.

If the driver is loaded and doesn't complain like above, the silent problem is likely the wrong PIN assignment.
For ALC880 codec (you can check it in /proc/asound/card0/codec#* file), try a different "model" module option. See ALSA-Configuration.txt for details. Make sure that you use the latest 1.0.9rc4!

If none of models matches your device, try to build drivers with debug option and set model=test. This will enable almost all available controls for testing. Check different PIN configurations via alsamixer, and report it to here together with the content of /proc/asound/card0/codec#* files.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

#2 lore raw

Hi

Thanks for your reply.
We could do some testing yesterday, but they were unsuccessful.

As you told us, we downloaded 1.0.9rc4 and compiled modules from that. We tried all the possible models using module=3jack in the modprobe command, but noone of them worked.
Then we tried making modules with debug enabled, and modprobing with module=test.
With an aplay going in another session we tried all the possible pin combinations, but we got no output.

As you requested, in case of failure, I'm attaching the proc file.

I hope we can solve this issue.

Thank you very much.
Maxxer

Quoted 7 lines

If the driver is loaded and doesn't complain like above, the silent problem is likely the wrong PIN assignment.
For ALC880 codec (you can check it in /proc/asound/card0/codec#* file), try a different "model" module option. See ALSA-Configuration.txt for details. Make sure that you use the latest 1.0.9rc4!

Quoted 5 lines

If none of models matches your device, try to build drivers with debug option and set model=test. This will enable almost all available controls for testing. Check different PIN configurations via alsamixer, and report it to here together with the content of /proc/asound/card0/codec#* files.

Codec: Realtek ALC880
Address: 0
Vendor Id: 0x10ec0880
Subsystem Id: 0x0
Revision Id: 0x90500
Default PCM: rates 0x560, bits 0x0e, types 0x1 Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x411: Stereo
PCM: rates 0x560, bits 0x0e, types 0x1
Node 0x03 [Audio Output] wcaps 0x411: Stereo
PCM: rates 0x560, bits 0x0e, types 0x1
Node 0x04 [Audio Output] wcaps 0x411: Stereo
PCM: rates 0x160, bits 0x0e, types 0x1
Node 0x05 [Audio Output] wcaps 0x411: Stereo
PCM: rates 0x160, bits 0x0e, types 0x1
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
PCM: rates 0x160, bits 0x1e, types 0x1
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1 Amp-In vals: 0x00 0x00
PCM: rates 0x160, bits 0x06, types 0x1
Connection: 7

     0x18* 0x19 0x1a 0x1b 0x1c 0x14 0x15

Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1 Amp-In vals: 0x00 0x00
PCM: rates 0x160, bits 0x06, types 0x1
Connection: 7

     0x18* 0x19 0x1a 0x1b 0x1c 0x14 0x15

Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1 Amp-In vals: 0x00 0x00
PCM: rates 0x160, bits 0x06, types 0x1
Connection: 10

     0x18 0x19 0x1a 0x1b 0x1c* 0x0b 0x14 0x15 0x16 0x17
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
  PCM: rates 0x160, bits 0x1e, types 0x1
  Connection: 1
     0x1f

Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1 Amp-In vals: 0x29 0x29
Connection: 8

     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15

Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: 0x00 0x00
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: 0x3c 0x3c
Connection: 2

     0x02 0x0b

Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: 0x00 0x00
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: 0x34 0x34
Connection: 2

     0x03 0x0b

Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: 0x00 0x00
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: 0x35 0x35
Connection: 2

     0x04 0x0b

Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: 0x00 0x00
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: 0x2f 0x2f
Connection: 2

     0x05 0x0b
Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 4
     0x0c* 0x0d 0x0e 0x0f
Node 0x11 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 4
     0x0c* 0x0d 0x0e 0x0f
Node 0x12 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 4
     0x0c* 0x0d 0x0e 0x0f
Node 0x13 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 4
     0x0c* 0x0d 0x0e 0x0f

Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: 0x80 0x80
Pincap 0x083f: IN OUT HP
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x20: IN
Connection: 1

     0x0c

Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: 0x80 0x80
Pincap 0x083f: IN OUT HP
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x20: IN
Connection: 1

     0x0d

Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: 0x80 0x80
Pincap 0x083f: IN OUT HP
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x20: IN
Connection: 1

     0x0e

Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: 0x00 0x00
Pincap 0x083f: IN OUT HP
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x00:
Connection: 1

     0x0f

Node 0x18 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: 0x80 0x80
Pincap 0x08133f: IN OUT HP
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x21: IN
Connection: 1

     0x10

Node 0x19 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: 0x80 0x80
Pincap 0x08133f: IN OUT HP
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x20: IN
Connection: 1

     0x11

Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: 0x80 0x80
Pincap 0x08133f: IN OUT HP
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x21: IN
Connection: 1

     0x12

Node 0x1b [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: 0x80 0x80
Pincap 0x08133f: IN OUT HP
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x20: IN
Connection: 1

     0x13

Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x00:
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x0820: IN
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x00:
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x0810: OUT
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x00:
Connection: 1

     0x06

Node 0x1f [Pin Complex] wcaps 0x400200: Mono Digital
Pincap 0x0820: IN
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x00:
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono

#3 lore raw

At Fri, 27 May 2005 10:39:35 +0200,

Quoted 11 lines · Lorenzo Milesi

Thanks for your reply.
We could do some testing yesterday, but they were unsuccessful.

As you told us, we downloaded 1.0.9rc4 and compiled modules from that. We tried all the possible models using module=3jack in the modprobe command, but noone of them worked.
Then we tried making modules with debug enabled, and modprobing with module=test.
With an aplay going in another session we tried all the possible pin combinations, but we got no output.

Are you sure that you unmuted the volumes correctly?

Quoted 1 line

As you requested, in case of failure, I'm attaching the proc file.

Grr, it's again a broken BIOS. It doesn't initialize the PIN assignment correctly... So you have to find out the PIN assignment by yourself.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005