Date: Thu, 21 Dec 2006 23:24:03 GMT From: Frédéric Petit<fredmfp@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/107051: only 2 channels output works for the ALC850 (on nForce 4) sound chipset Message-ID: <200612212324.kBLNO3kZ084343@www.freebsd.org> Resent-Message-ID: <200612212330.kBLNUWmc037336@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 107051
>Category: kern
>Synopsis: only 2 channels output works for the ALC850 (on nForce 4) sound chipset
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 21 23:30:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Frédéric Petit
>Release: FreeBSD 6.1-RELEASE
>Organization:
>Environment:
FreeBSD marsu 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu Dec 21 10:16:41 CET 2006 root@marsu:/usr/src/sys/i386/compile/FREEBSD_61 i386
>Description:
The ALC850 sound chipset has more than 2 channels output (4 of 6).
But only 2 works.
Following Ariff's advices, I put the required information :
1) uname -a
FreeBSD marsu 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu Dec 21 10:16:41 CET 2006 root@marsu:/usr/src/sys/i386/compile/FREEBSD_61 i386
2) pciconf -lv | grep -B 4 audio
pcm0@pci0:19:0: class=0x040100 card=0x812a1043 chip=0x003a10de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'MCP04 AC'97 Audio Controller'
class = multimedia
subclass = audio
3) dmesg | grep ^pcm
pcm0: <nVidia nForce 4 MCP> port 0xe800-0xe8ff,0xec00-0xecff mem 0xd9006000-0xd9006fff irq 20 at device 19.0 on pci0
pcm0: <Avance Logic ALC850 AC97 Codec>
4) sysctl hw.snd.verbose=2 ; cat /dev/sndstat
hw.snd.verbose: 1 -> 2
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <nVidia nForce 4 MCP> at io 0xe800, 0xec00 irq 20 bufsz 16384 (1p/1r/0v channels duplex default)
[pcm0:play:0:dsp0.0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000
interrupts 0, underruns 0, ready 0 [b:16384/8192/2|bs:0/0/0]
{userland} -> feeder_root(0x00000000) -> {hardware}
[pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000
interrupts 0, overruns 0, hfree 16384, sfree 0 [b:16384/8192/2|bs:0/0/0]
{hardware} -> feeder_root(0x00000000) -> {userland}
5) sysctl hw.snd
hw.snd.report_soft_formats: 1
hw.snd.targetirqrate: 32
hw.snd.verbose: 2
hw.snd.maxautovchans: 0
hw.snd.unit: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 0
hw.snd.pcm0.ac97rate: 48000
6) output of /usr/sbin/mixer:
Mixer vol is currently set to 70:70
Mixer pcm is currently set to 70:70
Mixer speaker is currently set to 75:75
Mixer line is currently set to 75:75
Mixer mic is currently set to 0:0
Mixer cd is currently set to 75:75
Mixer rec is currently set to 0:0
Mixer igain is currently set to 100:100
Mixer ogain is currently set to 100:100
Mixer line1 is currently set to 100:100
Mixer phin is currently set to 100:100
Mixer phout is currently set to 100:100
Recording source: mic
and my kernel config:
machine i386
cpu I686_CPU
ident FREEBSD_61
#hints "GENERIC.hints" # Default places to look for devices.
#options PAE # Physical Address Extensions Kernel
options SMP # Symmetric MultiProcessor Kernel
options SCHED_ULE # ULE scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options INET6 # IPv6 communications protocols
#options IPFIREWALL # firewall
#options IPFIREWALL_VERBOSE # enable logging to syslogd(8)
options TCP_DROP_SYNFIN # drop TCP packets with SYN+FIN
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_DIRHASH # Improve performance on big directories
options GEOM_GPT # GUID Partition Tables.
options GEOM_LABEL # Providers labelization.
options ATA_STATIC_ID # Static device numbering
#options MD_ROOT # MD is a potential root device
#options LIBICONV # Kernel side iconv library
#options CD9660_ICONV
#options EXT2FS # Linux filesystem
#options UDF # Universal Disk Format
#options UDF_ICONV
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
#options COMPAT_LINUX # Enable Linux ABI emulation
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options ADAPTIVE_GIANT # Giant mutex is adaptive.
options ATKBD_DFLT_KEYMAP # Specify the built-in keymap
makeoptions ATKBD_DFLT_KEYMAP=fr
options VESA # Support for VGA VESA video modes
options VGA_WIDTH90 # Support 90 column modes
options SC_PIXEL_MODE # Add support for the raster text mode
#options ACPI_DEBUG
#options VESA_DEBUG
#options USB_DEBUG
options FB_DEBUG
device npx # Floating point support.
device apic # I/O APIC
device acpi
# Bus support
device pci
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
device atapicam # emulate ATAPI devices as SCSI ditto via CAM
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device da # Direct Access (disks)
device pass # Passthrough device (direct SCSI access)
device cd # CD (burn DVD via CAM)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device vga # VGA video card driver
device splash # Splash screen and screen saver support
#device logo_saver
# syscons is the default console driver, resembling an SCO console
device sc
# PCI Ethernet NICs.
device em # Intel PRO/1000 adapter Gigabit Ethernet Card
device miibus # MII bus support
device nve # nVidia nForce MCP on-board Ethernet Networking
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
#device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
device ugen # Generic
#device ulpt # Printer (don't enable it with hplip)
device umass # Disks/Mass storage - Requires scbus and da
# Sound drivers
device sound
device snd_ich
#device snd_uaudio # Quickcam Pro should be detected as a ugen* device
# SMBus device
device smbus # Bus support, required for smb below.
device ichsmb
device smb
# I2C bus
device iicbus # Bus support, required for ic/iic/iicsmb below.
device iicsmb # smb over i2c bridge
>How-To-Repeat:
Never works on my Asus P5ND2-SLi Delux mobo.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612212324.kBLNO3kZ084343>
