Re: Headphone output doesn't work with NVidia MCP78 High Definition Audio Controller

2010-07-12 Thread Pieter de Goeje
On Sunday 11 July 2010 15:14:30 001 wrote:
 I use a laptop with PC-BSD and couldn't get output over the headphone.
 The built-in speakers of the laptop work fine and keep working even
 when a headphone is plugged in (whereas on Windows they get muted). I
 tried every slider and switch in KMix, but nothing enables sound over
 the headphone.
 
 This is my dmesg output:
 pcm0: HDA Conexant CX20561 (Hermosa) PCM #0 Analog at cad 0 nid 1 on
 hdac0
 pcm1: HDA Conexant CX20561 (Hermosa) PCM #1 Analog at cad 0 nid 1 on
 hdac0
 pcm2: HDA NVidia MCP78 HDMI PCM #0 Digital at cad 3 nid 1 on hdac0

By default FreeBSD plays audio on the first pcm device. You can use a 
different device by setting the sysctl hw.snd.default_unit. If I wanted to 
play audio on pcm1 I could set sysctl hw.snd.default_unit=1. In your case I 
would try setting: hw.snd.default_unit=1

- Pieter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Headphone output doesn't work with NVidia MCP78 High Definition Audio Controller

2010-07-11 Thread 001
I use a laptop with PC-BSD and couldn't get output over the headphone.
The built-in speakers of the laptop work fine and keep working even
when a headphone is plugged in (whereas on Windows they get muted). I
tried every slider and switch in KMix, but nothing enables sound over
the headphone.

This is my dmesg output:

Copyright (c) 1992-2009 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 8.0-RELEASE-p2 #10: Thu Jan  7 14:50:53 EST
2010
r...@build8x64.pcbsd.org:/usr/obj/usr/pcbsd-build80/fbsd-source/
8.0-src/sys/
PCBSD
Timecounter i8254 frequency 1193182 Hz quality
0
CPU: AMD Sempron(tm) SI-42 (2100.02-MHz K8-class
CPU)
  Origin = AuthenticAMD  Id = 0x200f31  Stepping =
1
 
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 
Features2=0x2001SSE3,CX16
  AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,
3DNow!
  AMD
Features2=0x1319LAHF,ExtAPIC,CR8,Prefetch,OSVW,SKINIT
  TSC: P-state
invariant
real memory  = 2147483648 (2048
MB)
avail memory = 182784 (1695
MB)
ACPI APIC Table: HPQOEM SLIC-
MPC
ioapic0 Version 1.1 irqs 0-23 on
motherboard
kbd1 at
kbdmux0
cryptosoft0: software crypto on
motherboard
acpi0: HPQOEM SLIC-MPC on
motherboard
acpi0:
[ITHREAD]
acpi0: Power Button
(fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality
850
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on
acpi0
acpi_ec0: Embedded Controller: GPE 0x2a port 0x62,0x66 on
acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff
on acpi0
Timecounter HPET frequency 2500 Hz quality
900
acpi_lid0: Control Method Lid Switch on
acpi0
acpi_button0: Sleep Button on
acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on
acpi0
pci0: ACPI PCI bus on
pcib0
pci0: memory, RAM at device 0.0 (no driver
attached)
isab0: PCI-ISA bridge port 0x1a00-0x1aff at device 1.0 on
pci0
isa0: ISA bus on
isab0
pci0: serial bus, SMBus at device 1.1 (no driver
attached)
pci0: processor at device 1.3 (no driver
attached)
pci0: memory, RAM at device 1.4 (no driver
attached)
ohci0: OHCI (generic) USB controller mem 0xc0006000-0xc0006fff irq
17 at device 2.0 on
pci0
ohci0:
[ITHREAD]
usbus0: OHCI (generic) USB controller on
ohci0
ehci0: EHCI (generic) USB 2.0 controller mem 0xc0007000-0xc00070ff
irq 17 at device 2.1 on
pci0
ehci0:
[ITHREAD]
usbus1: EHCI version
1.0
usbus1: EHCI (generic) USB 2.0 controller on
ehci0
ohci1: OHCI (generic) USB controller mem 0xc0008000-0xc0008fff irq
16 at device 4.0 on
pci0
ohci1:
[ITHREAD]
usbus2: OHCI (generic) USB controller on
ohci1
ehci1: EHCI (generic) USB 2.0 controller mem 0xc0007400-0xc00074ff
irq 16 at device 4.1 on
pci0
ehci1:
[ITHREAD]
usbus3: EHCI version
1.0
usbus3: EHCI (generic) USB 2.0 controller on
ehci1
atapci0: nVidia nForce MCP77 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30c0-0x30cf at device 6.0 on
pci0
ata0: ATA channel 0 on
atapci0
ata0:
[ITHREAD]
ata1: ATA channel 1 on
atapci0
ata1:
[ITHREAD]
pci0: multimedia, HDA at device 7.0 (no driver
attached)
pcib1: ACPI PCI-PCI bridge at device 8.0 on
pci0
pci1: ACPI PCI bus on
pcib1
atapci1: nVidia ATA controller port
0x30f0-0x30f7,0x30e4-0x30e7,0x30e8-0x30ef,0x30e0-0x30e3,0x30d0-0x30df
mem 0xc0004000-0xc0005fff irq 20 at device 9.0 on
pci0
atapci1:
[ITHREAD]
ata2: ATA channel 0 on
atapci1
ata2:
[ITHREAD]
ata3: ATA channel 1 on
atapci1
ata3:
[ITHREAD]
nfe0: NVIDIA nForce MCP77 Networking Adapter port 0x30f8-0x30ff mem
0xc0009000-0xc0009fff,0xc0007c00-0xc0007cff,0xc0007800-0xc000780f irq
21 at device 10.0 on
pci0
miibus0: MII bus on
nfe0
rlphy0: RTL8201L 10/100 media interface PHY 1 on
miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
nfe0: Ethernet address: 00:1f:16:6b:ba:
02
nfe0:
[FILTER]
pcib2: ACPI PCI-PCI bridge at device 11.0 on
pci0
pci2: ACPI PCI bus on
pcib2
vgapci0: VGA-compatible display port 0x4000-0x407f mem
0xc100-0xc1ff,0xd000-0xdfff,0xc400-0xc5ff irq
23 at device 0.0 on pci2
nvidia0: GeForce 8200M G on
vgapci0
vgapci0: child nvidia0 requested
pci_enable_busmaster
vgapci0: child nvidia0 requested
pci_enable_io
vgapci0: child nvidia0 requested
pci_enable_io
nvidia0:
[ITHREAD]
pcib3: ACPI PCI-PCI bridge irq 22 at device 20.0 on
pci0
pci7: ACPI PCI bus on
pcib3
ath0: Atheros 5424/2424 mem 0xc200-0xc200 irq 22 at device
0.0 on pci7
ath0:
[ITHREAD]
ath0: AR2425 mac 14.2 RF5424 phy
7.0
acpi_button1: Power Button on
acpi0
acpi_tz0: Thermal Zone on
acpi0
acpi_tz1: Thermal Zone on
acpi0
atrtc0: AT realtime clock port 0x70-0x71 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]
psm0: PS/2 Mouse flags 0x1000 irq 12 on
atkbdc0
psm0: [GIANT-
LOCKED]
psm0:
[ITHREAD]
psm0: model 

Re: Headphone output doesn't work with NVidia MCP78 High Definition Audio Controller

2010-07-11 Thread b. f.
I use a laptop with PC-BSD and couldn't get output over the headphone.
The built-in speakers of the laptop work fine and keep working even
when a headphone is plugged in (whereas on Windows they get muted). I
tried every slider and switch in KMix, but nothing enables sound over
the headphone.

You need to look at the sound-related dmesg output from a verbose
boot, or a boot with hw.snd.verbose=4.  Then you can look at some of
the suggestions in snd_hda(4): you may be able to get the headphones
to work by adding the appropriate device.hints(5) as described in
snd_hda(4) manpage.

b.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org