Skip to contentSkip to conversation

hda-intel on HP dv2000 (dv2130ea) (CXT5047)

DISCUSSION Robert Emil Berge 2 participants 3 messages Jan 5, 2007 – Jan 9, 2007

lore
Share & tools
lore
#0 lore raw

(I'm sorry if this comes twice, I sent it earlier today, but it hasn't appeard for me yet.)

I've tested the latest version of the hda-intel driver for this laptop. Sound works well through the speakers. The headphone plug still doesn't mute the external speakers. The Master control can only change the volume in the headphones, while the PCM changes both external and headphone volume. I've noticed that in some programs the sound is much loader than in others with the same mixer settings. I think the ones using oss are less loud than the ones using alsa.
I tried to load the module with model=test, but I didn't notice any change.
I haven't tried recording a lot yet, and only on an older version of the driver, I think. At least then I couldn't record with 44100Hz, but 48000Hz worked.

Here's the info on my laptop:

HP Pavilion dv2000 (dv2130ea)

Subsystem: 103c:30b2

Codec: Conexant CXT5047
Address: 0
Vendor Id: 0x14f15047
Subsystem Id: 0x103c30b2
Revision Id: 0x100000
Default PCM:

    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x10 [Audio Output] wcaps 0x41d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x80 0x80]
PCM:

    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
  Power: 0x0
Node 0x11 [Audio Output] wcaps 0x611: Stereo Digital
  PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM

Power: 0x0
Node 0x12 [Audio Input] wcaps 0x100d1b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x0e, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] PCM:

    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
  Power: 0x0
  Connection: 6
     0x19 0x14 0x15 0x1a* 0x16 0x10

Node 0x13 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x081001c: OUT HP EAPD Detect
Pin Default 0x0221101f: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Black
Pin-ctls: 0x40: OUT
Power: 0x0
Connection: 3

     0x19* 0x10 0x16

Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x0833c: IN OUT HP Detect
Pin Default 0x02a1102e: [Jack] Mic at Ext Front
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Power: 0x0
Connection: 2

     0x19* 0x16

Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x0833c: IN OUT HP Detect
Pin Default 0x40000180: [N/A] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x21: IN
Power: 0x0
Connection: 3

     0x1c 0x19* 0x16

Node 0x16 [Pin Complex] wcaps 0x400401: Stereo
Pincap 0x0860: IN
Pin Default 0x94330121: [Fixed] CD at Int Right
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x20: IN
Power: 0x0
Node 0x17 [Pin Complex] wcaps 0x400481: Stereo
Pincap 0x08324: IN Detect
Pin Default 0x95a70122: [Fixed] Mic at Int Top
Conn = Analog, Color = Unknown
Pin-ctls: 0x21: IN
Power: 0x0
Node 0x18 [Pin Complex] wcaps 0x400701: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x04440131: [Jack] SPDIF Out at Ext Right
Conn = RCA, Color = Unknown
Pin-ctls: 0x00:
Power: 0x0
Connection: 1

     0x11

Node 0x19 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1 Amp-In vals: [0x17 0x17] [0x80 0x80] [0x80 0x80] [0x17 0x17]
Power: 0x0
Connection: 4

     0x10 0x1b 0x1a 0x16

Node 0x1a [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x1f, mute=0 Amp-Out vals: [0x03 0x03]
Power: 0x0
Connection: 3

     0x15 0x14 0x17
Node 0x1b [Audio Selector] wcaps 0x300501: Stereo
  Power: 0x0
  Connection: 2
     0x14* 0x15

Node 0x1c [Audio Output] wcaps 0x41d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x80 0x80]
PCM:

    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM

Power: 0x0
Node 0x1d [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x08314: OUT Detect
Pin Default 0x92170110: [Fixed] Speaker at Int Front
Conn = Analog, Color = Unknown
Pin-ctls: 0x40: OUT
Power: 0x0
Connection: 3

     0x1c 0x19* 0x16

Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#1 lore raw

Message came through both times (you won't get it unless you get the digest version of alsa-dev email).

I'll be working on this codec some more next week. As to the recording, only 48khz is supported by the codec (note the PCM rates in the codec output).

Tobin

Quoted 144 lines · Robert Emil Berge

(I'm sorry if this comes twice, I sent it earlier today, but it hasn't appeard for me yet.)

I've tested the latest version of the hda-intel driver for this laptop. Sound works well through the speakers. The headphone plug still doesn't mute the external speakers. The Master control can only change the volume in the headphones, while the PCM changes both external and headphone volume. I've noticed that in some programs the sound is much loader than in others with the same mixer settings. I think the ones using oss are less loud than the ones using alsa.
I tried to load the module with model=test, but I didn't notice any change.
I haven't tried recording a lot yet, and only on an older version of the driver, I think. At least then I couldn't record with 44100Hz, but 48000Hz worked.

Here's the info on my laptop:

HP Pavilion dv2000 (dv2130ea)

Subsystem: 103c:30b2

Codec: Conexant CXT5047
Address: 0
Vendor Id: 0x14f15047
Subsystem Id: 0x103c30b2
Revision Id: 0x100000
Default PCM:

    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x10 [Audio Output] wcaps 0x41d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x80 0x80]
PCM:

    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
  Power: 0x0
Node 0x11 [Audio Output] wcaps 0x611: Stereo Digital
  PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM

Power: 0x0
Node 0x12 [Audio Input] wcaps 0x100d1b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x0e, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] PCM:

    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
  Power: 0x0
  Connection: 6
     0x19 0x14 0x15 0x1a* 0x16 0x10

Node 0x13 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x081001c: OUT HP EAPD Detect
Pin Default 0x0221101f: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Black
Pin-ctls: 0x40: OUT
Power: 0x0
Connection: 3

     0x19* 0x10 0x16

Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x0833c: IN OUT HP Detect
Pin Default 0x02a1102e: [Jack] Mic at Ext Front
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Power: 0x0
Connection: 2

     0x19* 0x16

Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x0833c: IN OUT HP Detect
Pin Default 0x40000180: [N/A] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
Pin-ctls: 0x21: IN
Power: 0x0
Connection: 3

     0x1c 0x19* 0x16

Node 0x16 [Pin Complex] wcaps 0x400401: Stereo
Pincap 0x0860: IN
Pin Default 0x94330121: [Fixed] CD at Int Right
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x20: IN
Power: 0x0
Node 0x17 [Pin Complex] wcaps 0x400481: Stereo
Pincap 0x08324: IN Detect
Pin Default 0x95a70122: [Fixed] Mic at Int Top
Conn = Analog, Color = Unknown
Pin-ctls: 0x21: IN
Power: 0x0
Node 0x18 [Pin Complex] wcaps 0x400701: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x04440131: [Jack] SPDIF Out at Ext Right
Conn = RCA, Color = Unknown
Pin-ctls: 0x00:
Power: 0x0
Connection: 1

     0x11

Node 0x19 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1 Amp-In vals: [0x17 0x17] [0x80 0x80] [0x80 0x80] [0x17 0x17]
Power: 0x0
Connection: 4

     0x10 0x1b 0x1a 0x16

Node 0x1a [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x1f, mute=0 Amp-Out vals: [0x03 0x03]
Power: 0x0
Connection: 3

     0x15 0x14 0x17
Node 0x1b [Audio Selector] wcaps 0x300501: Stereo
  Power: 0x0
  Connection: 2
     0x14* 0x15

Node 0x1c [Audio Output] wcaps 0x41d: Stereo Amp-Out
Amp-Out caps: ofs=0x17, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x80 0x80]
PCM:

    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM

Power: 0x0
Node 0x1d [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1e, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f]
Pincap 0x08314: OUT Detect
Pin Default 0x92170110: [Fixed] Speaker at Int Front
Conn = Analog, Color = Unknown
Pin-ctls: 0x40: OUT
Power: 0x0
Connection: 3

     0x1c 0x19* 0x16

Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Signature · 1 line
Tobin Davis <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#2 lore raw
In reply to Robert Emil Berge

I tested some more today, with the latest sources using rsync to download them.
I haven't looked at alsa drivers before, but I thought I'd just look and see what worked. I was curious if it detects the phone jack insertion at all or not. When I load the snd-hda-intel module with model=laptop-hp the cxt5047_hp_unsol_event is triggered when I insert a jack in either of the phone plugs (normal or spdif), and the cxt5047_hp_automute is run. But the snd_hda_codec_amp_update commands there don't seem to have any effect on the sound, they're at least not muting the internal speakers.

After compiling my own kernel (2.6.20-rc3) I was able to use the model=test, but then alsamixer wouldn't start, and I got this in /var/log/everything:

Jan  9 01:48:26 audhumla ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 23
Jan  9 01:48:26 audhumla PCI: Setting latency timer of device 0000:00:1b.0 to 64
Jan  9 01:48:26 audhumla ALSA /home/install/alsa/alsa-latest3/alsa-driver/pci/hda/hda_codec.c:1739: hda_codec: model 'test' is selected
Jan  9 01:48:26 audhumla hda_codec: num_steps = 0 for NID=0x19
Jan  9 01:48:28 audhumla hda_codec: num_steps = 0 for NID=0x19
Jan  9 01:48:38 audhumla hda_codec: num_steps = 0 for NID=0x19

If there's anything else I can test that could be helpful, please tell me.

Robert

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV