NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/42315: hdaudio: Very low volume on laptop speakers on Dell XPS M1330



>Number:         42315
>Category:       kern
>Synopsis:       hdaudio: Very low volume on laptop speakers on Dell XPS M1330
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 14 02:45:00 +0000 2009
>Originator:     Piotr Iwaniuk
>Release:        NetBSD 5.99.21
>Organization:
>Environment:
NetBSD appoggiatura 5.99.21 NetBSD 5.99.21 (MYKERNEL) #3: Sat Nov 14 02:40:32 
CET 2009  milesss@appoggiatura:/usr/obj/sys/arch/amd64/compile/MYKERNEL amd64

>Description:
Sound from laptop speakers is barely audible. Sound from headphone jack has 
normal level. Changing volumes with mixerctl works. Card worked with azalia 
driver without such problem.

dmesg | grep hda:

hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 21
hdafg0 at hdaudio0 vendor 0x8384 product 0x7616 nid 0x01 (firmware 
configuration)
hdafg0: parsing widgets
hdafg0: afg start 02 end 25 nwidgets 35
hdafg0: powering up widgets
hdafg0: afg widgets 0xffff80004ccb8000-0xffff80004ccba648
hdafg0: parsing controls
hdafg0: disabling non-audio devices
hdafg0: disabling useless devices
hdafg0: parsing associations
hdafg0:   count present associations
hdafg0:   maxassocs 5
hdafg0:   allocating memory
hdafg0:   scan associations, skipping as=0
hdafg0:   all done
hdafg0: building tree
hdafg0: beeper 0D traced to out
hdafg0: disabling unassociated pins
hdafg0: disabling unselected pins
hdafg0: disabling useless devices
hdafg0: disabling cross-associated pins
hdafg0: disabling useless devices
hdafg0: assigning mixer names to sound sources
hdafg0: assigning mixers to device tree
hdafg0: preparing pin controls
hdafg0: commiting settings
hdafg0: setup jack sensing
hdafg0: building mixer controls
hdafg0: DAC0:02, Analog HP Out: Jack (Black, 0A)
hdafg0: DAC1:05, Analog Speaker: Jack (Black, 0F)
hdafg0: ADC2:07, Analog Mic In: Jack (Black, 0E)
hdafg0: ADC3:08, Analog Mic In: Fixed Function (Unknown, 13)
hdafg0: DAC4:1E, Digital SPDIF Out: Jack (Grey, 21)
hdafg0: configuring encodings
hdafg0: 2ch/2ch 44100Hz-192000Hz 16/16 20/32 24/32
hdafg0: reserving streams
hdafg0: connecting streams
hdafg0: attaching audio device
audio0 at hdafg0: full duplex, playback, capture, independent
hdafg1 at hdaudio0 vendor 0x1095 product 0x1392 nid 0x01 (firmware 
configuration)
hdafg1: parsing widgets
hdafg1: afg start 02 end 04 nwidgets 2
hdafg1: powering up widgets
hdafg1: afg widgets 0xffff80004ccbb800-0xffff80004ccbba30
hdafg1: parsing controls
hdafg1: disabling non-audio devices
hdafg1: disabling useless devices
hdafg1: parsing associations
hdafg1:   count present associations
hdafg1:   maxassocs 1
hdafg1:   allocating memory
hdafg1:   scan associations, skipping as=0
hdafg1:   all done
hdafg1: building tree
hdafg1: disabling unassociated pins
hdafg1: disabling unselected pins
hdafg1: disabling useless devices
hdafg1: disabling cross-associated pins
hdafg1: disabling useless devices
hdafg1: assigning mixer names to sound sources
hdafg1: assigning mixers to device tree
hdafg1: preparing pin controls
hdafg1: commiting settings
hdafg1: setup jack sensing
hdafg1: building mixer controls
hdafg1: DAC0:02, Digital Digital Other Out: Jack (Unknown, 03)
hdafg1: configuring encodings
hdafg1: 2ch/0ch 48000Hz 16/16*
hdafg1: reserving streams
hdafg1: connecting streams
hdafg1: attaching audio device
audio1 at hdafg1: full duplex, playback, capture, independent

mixerctl -av:

inputs.dac=254,254 volume delta=2
inputs.dac.mute=off  [ off on ]
outputs.master=254,254 volume delta=2
outputs.master.mute=off  [ off on ]
inputs.reclvl=252,252 volume delta=51
inputs.reclvl2=252,252 volume delta=17
inputs.reclvl3=128,128 volume delta=256
inputs.reclvl3.mute=off  [ off on ]
inputs.reclvl4=128,128 volume delta=256
inputs.reclvl4.mute=off  [ off on ]
inputs.beep=255,255 volume delta=64
outputs.dacsel=DAC00,DAC01,DAC04  { DAC00 DAC01 DAC04 }
record.source=ADC02,ADC03  { ADC02 ADC03 }

hdaudioctl list:

codecid 0x00 nid 0x01 vendor 0x8384 product 0x7616 subsystem 0x02091028 device 
hdafg0
codecid 0x02 nid 0x01 vendor 0x1095 product 0x1392 subsystem 0x02091028 device 
hdafg1

hdaudioctl get 0x00 0x01:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<array>
        <dict>
                <key>config</key>
                <integer>0x221101f</integer>
                <key>nid</key>
                <integer>10</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x40f000f0</integer>
                <key>nid</key>
                <integer>11</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x40f000f1</integer>
                <key>nid</key>
                <integer>12</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x90170110</integer>
                <key>nid</key>
                <integer>13</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x2a11030</integer>
                <key>nid</key>
                <integer>14</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x2011020</integer>
                <key>nid</key>
                <integer>15</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x40f000f2</integer>
                <key>nid</key>
                <integer>16</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x40f000f3</integer>
                <key>nid</key>
                <integer>17</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x40f000f4</integer>
                <key>nid</key>
                <integer>18</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x90a60040</integer>
                <key>nid</key>
                <integer>19</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x40f000f5</integer>
                <key>nid</key>
                <integer>20</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x1442170</integer>
                <key>nid</key>
                <integer>33</integer>
        </dict>
        <dict>
                <key>config</key>
                <integer>0x40f000f7</integer>
                <key>nid</key>
                <integer>34</integer>
        </dict>
</array>
</plist>


hdaudioctl graph 0x00 0x01:

digraph "HD Audio 8384:7616" {
 widget02h [shape=box,style=filled,fillcolor="#88ff88"];
 widget03h [shape=box,style=filled,fillcolor="#88ff88"];
 widget04h [shape=box,style=filled,fillcolor="#88ff88"];
 widget05h [shape=box,style=filled,fillcolor="#88ff88"];
 widget07h [shape=box,style=filled,fillcolor="#ff8888"];
 widget1Bh -> widget07h [sametail=widget1Bh];
 widget08h [shape=box,style=filled,fillcolor="#ff8888"];
 widget1Ch -> widget08h [sametail=widget1Ch];
 widget09h [shape=box,style=filled,fillcolor="#ff8888"];
 widget1Dh -> widget09h [sametail=widget1Dh];
 widget0Ah [label="widget0Ah\ndevice=HP 
Out",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 widget02h -> widget0Ah [sametail=widget02h];
 widget03h -> widget0Ah [sametail=widget03h];
 widget0Bh 
[label="widget0Bh\ndevice=Other",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 widget02h -> widget0Bh [sametail=widget02h];
 widget03h -> widget0Bh [sametail=widget03h];
 widget0Ch 
[label="widget0Ch\ndevice=Other",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 widget03h -> widget0Ch [sametail=widget03h];
 widget02h -> widget0Dh [sametail=widget02h];
 widget0Eh [label="widget0Eh\ndevice=Mic 
In",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 widget04h -> widget0Eh [sametail=widget04h];
 widget0Fh [label="widget0Fh\ndevice=Line 
Out",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 widget05h -> widget0Fh [sametail=widget05h];
 widget10h 
[label="widget10h\ndevice=Other",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 widget04h -> widget10h [sametail=widget04h];
 widget11h 
[label="widget11h\ndevice=Other",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 widget03h -> widget11h [sametail=widget03h];
 widget12h 
[label="widget12h\ndevice=Other",style=filled,shape=circle,fillcolor="#ff8888"];
 widget13h [label="widget13h\ndevice=Mic 
In",style=filled,shape=circle,fillcolor="#ff8888"];
 widget14h 
[label="widget14h\ndevice=Other",style=filled,shape=circle,fillcolor="#ff8888"];
 widget15h [shape=invtrapezium];
 widget0Eh -> widget15h [sametail=widget0Eh];
 widget12h -> widget15h [sametail=widget12h];
 widget0Fh -> widget15h [sametail=widget0Fh];
 widget0Bh -> widget15h [sametail=widget0Bh];
 widget0Ch -> widget15h [sametail=widget0Ch];
 widget0Dh -> widget15h [sametail=widget0Dh];
 widget0Ah -> widget15h [sametail=widget0Ah];
 widget10h -> widget15h [sametail=widget10h];
 widget11h -> widget15h [sametail=widget11h];
 widget16h [shape=invtrapezium];
 widget0Eh -> widget16h [sametail=widget0Eh];
 widget12h -> widget16h [sametail=widget12h];
 widget0Fh -> widget16h [sametail=widget0Fh];
 widget0Bh -> widget16h [sametail=widget0Bh];
 widget0Ch -> widget16h [sametail=widget0Ch];
 widget0Dh -> widget16h [sametail=widget0Dh];
 widget0Ah -> widget16h [sametail=widget0Ah];
 widget10h -> widget16h [sametail=widget10h];
 widget11h -> widget16h [sametail=widget11h];
 widget17h [shape=invtrapezium];
 widget0Eh -> widget17h [sametail=widget0Eh];
 widget12h -> widget17h [sametail=widget12h];
 widget0Fh -> widget17h [sametail=widget0Fh];
 widget0Bh -> widget17h [sametail=widget0Bh];
 widget0Ch -> widget17h [sametail=widget0Ch];
 widget0Dh -> widget17h [sametail=widget0Dh];
 widget0Ah -> widget17h [sametail=widget0Ah];
 widget10h -> widget17h [sametail=widget10h];
 widget11h -> widget17h [sametail=widget11h];
 widget18h [shape=invtrapezium];
 widget15h -> widget18h [sametail=widget15h];
 widget19h [shape=invtrapezium];
 widget16h -> widget19h [sametail=widget16h];
 widget1Ah [shape=invtrapezium];
 widget17h -> widget1Ah [sametail=widget17h];
 widget1Bh [shape=invtrapezium];
 widget18h -> widget1Bh [sametail=widget18h];
 widget13h -> widget1Bh [sametail=widget13h];
 widget14h -> widget1Bh [sametail=widget14h];
 widget1Ch [shape=invtrapezium];
 widget19h -> widget1Ch [sametail=widget19h];
 widget13h -> widget1Ch [sametail=widget13h];
 widget14h -> widget1Ch [sametail=widget14h];
 widget1Dh [shape=invtrapezium];
 widget1Ah -> widget1Dh [sametail=widget1Ah];
 widget13h -> widget1Dh [sametail=widget13h];
 widget14h -> widget1Dh [sametail=widget14h];
 widget1Eh [shape=box,style=filled,fillcolor="#88ff88"];
 widget20h [shape=box,style=filled,fillcolor="#ff8888"];
 widget22h -> widget20h [sametail=widget22h];
 widget21h [label="widget21h\ndevice=SPDIF 
Out",style=filled,shape=circle,fillcolor="#88ff88"];
 widget1Eh -> widget21h [sametail=widget1Eh];
 widget1Fh -> widget21h [sametail=widget1Fh];
 widget1Bh -> widget21h [sametail=widget1Bh];
 widget1Ch -> widget21h [sametail=widget1Ch];
 widget1Dh -> widget21h [sametail=widget1Dh];
 widget22h 
[label="widget22h\ndevice=Other",style=filled,shape=circle,fillcolor="#ff8888"];
 widget02h -> widget24h [sametail=widget02h];
 widget03h -> widget24h [sametail=widget03h];
 widget04h -> widget24h [sametail=widget04h];
 widget05h -> widget24h [sametail=widget05h];
 {rank=min;}
 {rank=max;}
}
>How-To-Repeat:
Try to play any sound with laptop speakers.
>Fix:



Home | Main Index | Thread Index | Old Index