Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2008 22:33:49 +0100
From:      "Igor Ralets" <mad.dustman@gmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   problem with sound volume on pcbsd using snd_hda
Message-ID:  <45e1b43b0810301433y196ae43yc60c7c76f356e1cc@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
After installation of PCBSD-7.0.1 on amd64 box sound card didn't work.
Hardware compatibility list suggested snd_hda driver for ATI SB600 card
bundled with Asus M2A-MX mobo. Loading it with kldload helped with getting
sound, but volume was very low and couldn't be adjusted by any means.
Neither mixer(8) nor different players could do the trick.

Here is output from dmesg and mixer -f:

$ dmesg
Copyright (c) 1992-2008 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 7.1-PRERELEASE #0: Wed Oct  8 14:54:01 EDT
2008
    root@pcbsd7-x64.local:/usr/obj/pcbsd-build/cvs/7.0.1-src/sys/PCBSD

Timecounter "i8254" frequency 1193182 Hz quality
0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ (1995.01-MHz K8-class
CPU)
  Origin = "AuthenticAMD"  Id = 0x40fb2  Stepping =
2

Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>


Features2=0x2001<SSE3,CX16>

  AMD
Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>

  AMD
Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>

  Cores per package:
2
usable memory = 1998045184 (1905
MB)
avail memory  = 1927692288 (1838
MB)
ACPI APIC Table: <A_M_I_ OEMAPIC
>
FreeBSD/SMP: Multiprocessor System Detected: 2
CPUs
 cpu0 (BSP): APIC ID:
0
 cpu1 (AP): APIC ID:
1
ioapic0 <Version 2.1> irqs 0-23 on
motherboard
kbd1 at
kbdmux0

ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413,
RF5413, RF2133, RF2425,
RF2417)

acpi0: <A_M_I_ OEMXSDT> on
motherboard
acpi0:
[ITHREAD]

acpi0: Power Button
(fixed)

acpi0: reservation of 0, a0000 (3)
failed
acpi0: reservation of 100000, 77f00000 (3)
failed
ACPI HPET table warning: Sequence is non-zero
(2)
Timecounter "ACPI-safe" frequency 3579545 Hz quality
850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on
acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
acpi0
Timecounter "HPET" frequency 14318180 Hz quality
900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on
acpi0
pci0: <ACPI PCI bus> on
pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on
pci0
pci1: <ACPI PCI bus> on
pcib1
vgapci0: <VGA-compatible display> port 0xd000-0xd0ff mem
0xf0000000-0xf7ffffff,0xfe9f0000-0xfe9fffff,0xfe800000-0xfe8fffff irq 18 at
device 5.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 6.0 on
pci0
pci2: <ACPI PCI bus> on
pcib2
em0: <Intel(R) PRO/1000 Network Connection 6.9.5> port 0xe800-0xe81f mem
0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 18 at device 0.0 on
pci2
em0: Using MSI
interrupt

em0:
[FILTER]

em0: Ethernet address:
00:1b:21:28:a2:e8
pcib3: <ACPI PCI-PCI bridge> at device 7.0 on
pci0
pci3: <ACPI PCI bus> on
pcib3
age0: <Attansic Technology Corp, L1 Gigabit Ethernet> mem
0xfebc0000-0xfebfffff irq 19 at device 0.0 on
pci3

age0: PCI device revision :
0x00b0
age0: Chip id/revision :
0x9006
age0: 1280 Tx FIFO, 2364 Rx
FIFO
age0: MSIX count :
0

age0: MSI count :
1

age0: Using 1 MSI
messages.

age0: Read request size : 512
bytes.
age0: TLP payload size : 128
bytes.
age0: PCI VPD capability not
found!
miibus0: <MII bus> on
age0
atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on
miibus0
atphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX,
auto
age0: Ethernet address:
00:1e:8c:e4:38:03
age0:
[FILTER]

atapci0: <ATI IXP600 SATA300 controller> port
0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f mem
0xfe7ff800-0xfe7ffbff irq 22 at device 18.0 on pci0
atapci0:
[ITHREAD]

atapci0: AHCI Version 01.10 controller with 4 ports
detected
ata2: <ATA channel 0> on
atapci0
ata2:
[ITHREAD]

ata3: <ATA channel 1> on
atapci0
ata3:
[ITHREAD]

ata4: <ATA channel 2> on
atapci0
ata4:
[ITHREAD]

ata5: <ATA channel 3> on
atapci0
ata5:
[ITHREAD]

ohci0: <OHCI (generic) USB controller> mem 0xfe7fe000-0xfe7fefff irq 16 at
device 19.0 on pci0
ohci0:
[GIANT-LOCKED]

ohci0:
[ITHREAD]

usb0: OHCI version 1.0, legacy
support
usb0: SMM does not respond,
resetting
usb0: <OHCI (generic) USB controller> on
ohci0
usb0: USB revision
1.0

uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on
usb0
uhub0: 2 ports with 2 removable, self
powered
ohci1: <OHCI (generic) USB controller> mem 0xfe7fd000-0xfe7fdfff irq 17 at
device 19.1 on pci0
ohci1:
[GIANT-LOCKED]

ohci1:
[ITHREAD]

usb1: OHCI version 1.0, legacy
support
usb1: SMM does not respond,
resetting
usb1: <OHCI (generic) USB controller> on
ohci1
usb1: USB revision
1.0

uhub1: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on
usb1
uhub1: 2 ports with 2 removable, self
powered
ohci2: <OHCI (generic) USB controller> mem 0xfe7fc000-0xfe7fcfff irq 18 at
device 19.2 on pci0
ohci2:
[GIANT-LOCKED]

ohci2:
[ITHREAD]

usb2: OHCI version 1.0, legacy
support
usb2: SMM does not respond,
resetting
usb2: <OHCI (generic) USB controller> on
ohci2
usb2: USB revision
1.0

uhub2: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on
usb2
uhub2: 2 ports with 2 removable, self
powered
ohci3: <OHCI (generic) USB controller> mem 0xfe7fb000-0xfe7fbfff irq 17 at
device 19.3 on pci0
ohci3:
[GIANT-LOCKED]

ohci3:
[ITHREAD]

usb3: OHCI version 1.0, legacy
support
usb3: SMM does not respond,
resetting
usb3: <OHCI (generic) USB controller> on
ohci3
usb3: USB revision
1.0

uhub3: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on
usb3
uhub3: 2 ports with 2 removable, self
powered
ohci4: <OHCI (generic) USB controller> mem 0xfe7fa000-0xfe7fafff irq 18 at
device 19.4 on pci0
ohci4:
[GIANT-LOCKED]

ohci4:
[ITHREAD]

usb4: OHCI version 1.0, legacy
support
usb4: SMM does not respond,
resetting
usb4: <OHCI (generic) USB controller> on
ohci4
usb4: USB revision
1.0

uhub4: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on
usb4
uhub4: 2 ports with 2 removable, self
powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe7ff000-0xfe7ff0ff irq 19
at device 19.5 on
pci0

ehci0:
[GIANT-LOCKED]

ehci0:
[ITHREAD]

usb5: EHCI version
1.0

usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4
usb5: <EHCI (generic) USB 2.0 controller> on
ehci0
usb5: USB revision
2.0

uhub5: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on
usb5
uhub5: 10 ports with 10 removable, self
powered
pci0: <serial bus, SMBus> at device 20.0 (no driver
attached)
atapci1: <ATI IXP600 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on
pci0

ata0: <ATA channel 0> on
atapci1
ata0:
[ITHREAD]

pcm0: <ATI SB600 High Definition Audio Controller> mem 0xfe7f4000-0xfe7f7fff
irq 16 at device 20.2 on
pci0

pcm0:
[ITHREAD]

isab0: <PCI-ISA bridge> at device 20.3 on
pci0
isa0: <ISA bus> on
isab0

pcib4: <ACPI PCI-PCI bridge> at device 20.4 on
pci0
pci4: <ACPI PCI bus> on
pcib4
acpi_button0: <Power Button> on
acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on
acpi0
atkbd0: <AT Keyboard> irq 1 on
atkbdc0
kbd0 at
atkbd0

atkbd0:
[GIANT-LOCKED]

atkbd0:
[ITHREAD]

fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
acpi0
fdc0:
[FILTER]

ppc0: <Parallel port> port 0x378-0x37f irq 7 on
acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE
mode
ppbus0: <Parallel port bus> on
ppc0
ppbus0:
[ITHREAD]

plip0: <PLIP network interface> on
ppbus0
plip0: WARNING: using obsoleted IFF_NEEDSGIANT
flag
lpt0: <Printer> on
ppbus0

lpt0: Interrupt-driven
port
ppi0: <Parallel I/O> on
ppbus0
ppc0:
[GIANT-LOCKED]

ppc0:
[ITHREAD]

sio0: configured irq 4 not in bitmap of probed irqs
0
sio0: port may not be
enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio0: [FILTER]
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_throttle0: CLK_VAL field overlaps THT_EN bit
device_attach: acpi_throttle0 attach returned 6
powernow0: <PowerNow! K8> on cpu0
cpu1: <ACPI CPU> on acpi0
powernow1: <PowerNow! K8> on cpu1
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
ums0: <Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), class 0/0,
rev 1.10/3.00, addr 2>on uhub0
ums0: 3 buttons and Z dir.
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based
forwarding disabled, defaultto accept, logging disabled
acd0: DMA limited to UDMA33, device found non-ATA66 cable
acd0: DVDR <DVDRW 20X20X12X/6A31> at ata0-master UDMA33
ad0: 476940MB <SAMSUNG HD501LJ CR100-12> at ata2-master SATA300
ad1: 476940MB <Seagate ST3500320AS SD15> at ata3-master SATA150
pcm0: <HDA Codec: Realtek (Unknown)>
pcm0: <HDA Driver Revision: 20080420_0052>
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1a
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd0 at ata0 bus 0 target 0 lun 0
cd0: <DVDRW 20X20X12X 6A31> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
age0: interrupt moderation is 100 us.

$ mixer -f /dev/mixer0
Mixer vol      is currently set to  75:75
Mixer pcm      is currently set to  75:75
Mixer line     is currently set to  75:75
Mixer mic      is currently set to   0:0
Mixer rec      is currently set to   0:0
Recording source: mic

$ mixer -f /dev/mixer
mixer: SOUND_MIXER_READ_DEVMASK: Device not configured

Any ideas of what's wrong?

Regards,
Igor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45e1b43b0810301433y196ae43yc60c7c76f356e1cc>