snd_hda in internal speaker

TooMany Secrets toomany at toomany.net
Mon Aug 13 02:51:42 PDT 2007


Hi!

My workstation is a Dell Precision 380, with a recent FreeBSD
6.2-RELEASE and cvsuped to -STABLE the last saturday (past week).
My problem is with the snd_hda module (I think), because the sound is
only heard through internal speaker. The desktop is the last xfce4
port, and the Sound config is vía mixer0.

Here it is my config, and thank you very much:

$ pciconf -l -v
hostb0 at pci0:0:0:        class=0x060000 card=0x01a81028 chip=0x27748086
rev=0x00 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '955x Processor to I/O Controller'
    class    = bridge
    subclass = HOST-PCI
pcib1 at pci0:1:0: class=0x060400 card=0x00008086 chip=0x27758086 rev=0x00 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '955x PCI Express Graphics Port'
    class    = bridge
    subclass = PCI-PCI
pcm0 at pci0:27:0: class=0x040300 card=0x01a81028 chip=0x27d88086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) High Definition Audio'
    class    = multimedia
pcib2 at pci0:28:0:        class=0x060400 card=0x00000000 chip=0x27d08086
rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) PCI Express Root Port'
    class    = bridge
    subclass = PCI-PCI
pcib3 at pci0:28:4:        class=0x060400 card=0x00000000 chip=0x27e08086
rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port'
    class    = bridge
    subclass = PCI-PCI
pcib4 at pci0:28:5:        class=0x060400 card=0x00000000 chip=0x27e28086
rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port'
    class    = bridge
    subclass = PCI-PCI
uhci0 at pci0:29:0:        class=0x0c0300 card=0x01a81028 chip=0x27c88086
rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
uhci1 at pci0:29:1:        class=0x0c0300 card=0x01a81028 chip=0x27c98086
rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
uhci2 at pci0:29:2:        class=0x0c0300 card=0x01a81028 chip=0x27ca8086
rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
uhci3 at pci0:29:3:        class=0x0c0300 card=0x01a81028 chip=0x27cb8086
rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host Controller'
    class    = serial bus
    subclass = USB
ehci0 at pci0:29:7:        class=0x0c0320 card=0x01a81028 chip=0x27cc8086
rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller'
    class    = serial bus
    subclass = USB
pcib5 at pci0:30:0:        class=0x060401 card=0x00000000 chip=0x244e8086
rev=0xe1 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB
Hub Interface to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0 at pci0:31:0:        class=0x060100 card=0x00000000 chip=0x27b88086
rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801GB/GR (ICH7 Family) LPC Interface Controller'
    class    = bridge
    subclass = PCI-ISA
atapci0 at pci0:31:2:      class=0x010180 card=0x01a81028 chip=0x27c08086
rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller'
    class    = mass storage
    subclass = ATA
none0 at pci0:31:3:        class=0x0c0500 card=0x01a81028 chip=0x27da8086
rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) SMBus Controller'
    class    = serial bus
    subclass = SMBus
nvidia0 at pci1:0:0:       class=0x030000 card=0x02d110de chip=0x014e10de
rev=0xa2 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'NV43 NVIDIA Quadro FX 540'
    class    = display
    subclass = VGA
bge0 at pci4:0:0:  class=0x020000 card=0x01a81028 chip=0x167714e4 rev=0x01 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5750A1 NetXtreme Gigabit Ethernet PCI Express'
    class    = network
    subclass = ethernet
ath0 at pci5:4:0:  class=0x020000 card=0x3a131186 chip=0x0013168c rev=0x01 hdr=0x00
    vendor   = 'Atheros Communications Inc.'
    device   = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
    class    = network
    subclass = ethernet

$ dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Sun Aug 12 18:52:17 CEST 2007
    root at klingon.vlex.com:/usr/obj/usr/src/sys/KLINGON
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.60-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100000<NX,LM>
  Logical CPUs per core: 2
real memory  = 1072209920 (1022 MB)
avail memory = 1031856128 (984 MB)
ACPI APIC Table: <DELL   WS 380 >
ioapic0: Changing APIC ID to 8
ioapic0 <Version 2.0> irqs 0-23 on motherboard
lapic0: Forcing LINT1 to edge trigger
wlan: mac acl policy registered
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <DELL WS 380 > on motherboard
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 2000
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <Quadro FX 540> mem
0xf8000000-0xfbffffff,0xe8000000-0xefffffff,0xfd000000-0xfdffffff irq
16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
pcm0: <Intel 82801G High Definition Audio Controller> mem
0xfebfc000-0xfebfffff irq 16 at device 27.0 on pci0
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
pci4: <ACPI PCI bus> on pcib4
bge0: <Broadcom BCM5750 A1, ASIC rev. 0x4001> mem
0xf7ef0000-0xf7efffff irq 17 at device 0.0 on pci4
miibus0: <MII bus> on bge0
brgphy0: <BCM5750 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
bge0: Ethernet address: 00:12:3f:76:2f:a7
uhci0: <UHCI (generic) USB controller> port 0xff80-0xff9f irq 21 at
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0xff60-0xff7f irq 22 at
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI (generic) USB controller> port 0xff40-0xff5f irq 18 at
device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0xff20-0xff3f irq 23 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem
0xffa80800-0xffa80bff irq 21 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: waiting for BIOS to give up control
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
ath0: <Atheros 5212> mem 0xf7df0000-0xf7dfffff irq 16 at device 4.0 on pci5
ath0: Ethernet address: 00:19:5b:3b:54:38
ath0: mac 7.9 phy 4.5 radio 5.6
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 SATA300 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 20 at device
31.2 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcefff,0xcf000-0xd0fff,0xd1000-0xd3fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ukbd0: DELL DELL USB Keyboard, rev 1.10/1.05, addr 2, iclass 3/1
kbd2 at ukbd0
ums0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
Timecounter "TSC" frequency 2992595265 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 238418MB <Maxtor 7L250S0 BANC1G10> at ata0-master SATA150
ad1: 117246MB <Maxtor 6L120M0 BACE1G20> at ata0-slave SATA150
acd0: DVDR <HL-DT-ST DVD+/-RW GWA4164B/D108> at ata1-master UDMA33
pcm0: <HDA Codec: Sigmatel STAC9220>
pcm0: <HDA Driver Revision: 20070710_0047>
Trying to mount root from ufs:/dev/ad0s3a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVD+-RW GWA4164B D108> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
bge0: link state changed to UP


-- 
Have a nice day  ;-)
TooManySecrets

============================
Dijo Confucio:
"Exígete mucho a ti mismo y espera poco de los demás. Así te ahorrarás
disgustos."
============================


More information about the freebsd-stable mailing list