NetBSD-Bugs archive

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

Re: kern/42055: hdaudio doesn't work on Dell Inspiron 6400



The following reply was made to PR kern/42055; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/42055: hdaudio doesn't work on Dell Inspiron 6400 
Date: Thu, 17 Sep 2009 04:09:44 +0700

 I see something similar on a Dell Precision M4300.
 I built current kernels with azalea and hdaudio
 (otherwise identical).
 
 A diff of dmesg.boot for the two kernels is
 
 --- /var/tmp/dmesg.az  2009-09-16 18:08:53.000000000 +0700
 +++ /var/tmp/dmesg.hd  2009-09-16 18:13:15.000000000 +0700
 @@ -4,8 +4,8 @@
  Copyright (c) 1982, 1986, 1989, 1991, 1993
      The Regents of the University of California.  All rights reserved.
  
 -NetBSD 5.99.17 (EPSILON-1.2-20090915) #4: Wed Sep 16 04:33:14 ICT 2009
 -      kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/EPSILON
 +NetBSD 5.99.17 (EPSILON-1.2-20090915) #1: Wed Sep 16 04:41:54 ICT 2009
 +      kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/EPSILONhdaudio
  total memory = 2045 MB
  avail memory = 2003 MB
  timecounter: Timecounters tick every 10.000 msec
 @@ -75,9 +75,15 @@
  ehci0: EHCI version 1.0
  ehci0: companion controllers, 2 ports each: uhci0 uhci1
  usb2 at ehci0: USB revision 2.0
 -azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
 -azalia0: interrupting at ioapic0 pin 21
 -azalia0: host: Intel 82801H High Definition Audio Controller (rev. 2), HDA 
rev. 1.0
 +hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
 +hdaudio0: interrupting at ioapic0 pin 21
 +hdafg0 at hdaudio0 vendor 0x8384 product 0x76A0 nid 0x01 (firmware 
configuration)
 +hdafg0: DAC0:10, Analog HP Out: Jack (Black, 0A)
 +hdafg0: ADC1:12, Analog Mic In: Fixed Function (Unknown, 0C)
 +hdafg0: ADC1:12, Analog Line In: Jack (Black, 0B)
 +hdafg0: 2ch/2ch 44100Hz-192000Hz 16/16 20/32 24/32
 +audio0 at hdafg0: full duplex, independent
 +hdvsmfg at hdaudio0 vendor 0x14F1 product 0x2C06 nid 0x02 not configured
  ppb1 at pci0 dev 28 function 0: Intel 82801H PCI Express Port #1 (rev. 0x02)
  ppb1: disabling notification events
  pci2 at ppb1 bus 11
 @@ -152,13 +158,8 @@
  isa0 at pcib0
  com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
  timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 -timecounter: Timecounter "TSC" frequency 1995149500 Hz quality 3000
 +timecounter: Timecounter "TSC" frequency 1995161800 Hz quality 3000
  acpiacad0: AC adapter online.
 -azalia0: codec[0]: 0x8384/0x76a0 (rev. 2.4), HDA rev. 1.0
 -azalia0: codec[1]: 0x14f1/0x2c06 (rev. 0.0), HDA rev. 1.0
 -azalia0: codec[1]: No support for modem function groups
 -azalia0: codec[1] has no audio function groups
 -audio0 at azalia0: full duplex, independent
  uhub0 at usb0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub0: 2 ports with 2 removable, self powered
  uhub1 at usb1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 
 The timecounted difference is obviously just noise, the only other meaningful
 difference is the audio.   Noth kernels are monolithic (no modules).
 
 Of itself, this looks OK, but using azalea, mixerctl -av claims:
 
 outputs.black0a.source=dac10  [ dac10 dac11 ]
 outputs.black0a.dir=output  [ input output ]
 outputs.black0a.boost=off  [ off on ]
 outputs.black0b.source=dac10  [ dac10 dac11 ]
 outputs.black0b.dir=output  [ input output ]
 outputs.unknown0c.dir=output  [ input output ]
 outputs.unknown0d.dir=output  [ input output ]
 outputs.unknown0d.boost=off  [ off on ]
 inputs.dac10.mute=off  [ off on ]
 inputs.dac10=126,126  delta=2
 inputs.dac10.lrswap=off  [ off on ]
 inputs.dac11.mute=off  [ off on ]
 inputs.dac11=126,126  delta=2
 inputs.dac11.lrswap=off  [ off on ]
 inputs.sel19.source=  [ black0b unknown0c unknown0d black0a ]
 outputs.sel19=126,126  delta=63
 inputs.sel1a.source=  [ black0b unknown0c unknown0d black0a ]
 outputs.sel1a=126,126  delta=63
 inputs.sel1b.sel19=119,119  delta=17
 inputs.sel1c.sel1a=119,119  delta=17
 inputs.sel1d.source=sel1b  [ sel1b ]
 outputs.sel1d.mute=off  [ off on ]
 inputs.sel1d.lrswap=off  [ off on ]
 inputs.sel1e.source=sel1c  [ sel1c ]
 outputs.sel1e.mute=off  [ off on ]
 inputs.sel1e.lrswap=off  [ off on ]
 inputs.beep23=85  delta=85
 outputs.volume24=126  delta=2
 playback.mode=10  [ 10 1110 1f ]
 record.mode=12  [ 12 13 20 ]
 
 Whereas with hdaudio I see a very similar result as asau@ indicated:
 
 outputs.master=254,254 volume delta=2
 inputs.dac=254,254 volume delta=2
 inputs.beep=255,255 volume delta=64
 inputs.reclvl=0,0 volume delta=51
 outputs.dacsel=DAC00  { DAC00 }
 record.source=ADC01  { ADC01 }
 
 which seems a little unlikely!
 
 Note, that azalea doesn't work either on this system, I never bothered about
 that as I assumed that if I ever really needed it, I'd eventually find a
 combination of mixerctl settings that did something (managed that with the
 wife's vaio).   It never bothered me as I prefer my computers to remain quiet!
 
 I can do any more testing that might help, if requested (I don't generally run
 current - those boots were purely for this test)
 
 I once did the dot graph building magic with azalea debug output, that
 just left me more confused than before I started!
 
 kre
 


Home | Main Index | Thread Index | Old Index