Date: Fri, 20 Dec 2002 15:22:34 +0100 (CET) From: John Angelmo <john@veidit.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/46403: No sound on Compaq Evo N115 Message-ID: <200212201422.gBKEMYaP055231@h162n2fls35o1000.telia.com>
next in thread | raw e-mail | index | archive | help
>Number: 46403 >Category: kern >Synopsis: No sound on Compaq Evo N115 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 20 06:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: John Angelmo >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD Sleeper 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Mon Dec 16 01:28:43 CET 2002 root@Sleeper:/usr/obj/usr/src/sys/Sleeper i386 FreeBSD 5.0-CURRENT #1: Mon Dec 16 01:28:43 CET 2002 root@Sleeper:/usr/obj/usr/src/sys/Sleeper Preloaded elf kernel "/boot/kernel/kernel" at 0xc05c7000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05c70a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1295516993 Hz CPU: mobile AMD Athlon(tm) 4 1500+ (1295.52-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD Features=0xffffffffc0400000<AMIE,DSP,3DNow!> real memory = 251658240 (240 MB) avail memory = 238170112 (227 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <PTLTD RSDT > on motherboard ACPI-0628: *** Info: GPE Block0 defined as GPE0 to GPE15 Using $PIR table, 7 entries at 0xc00fdf50 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-safe" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: <CPU> on acpi0 acpi_button0: <Sleep Button> on acpi0 acpi_button1: <Power Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_acad0: <AC adapter> on acpi0 acpi_cmbat0: <Control method Battery> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xec000000-0xefffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686 ATA100 controller> port 0x1840-0x184f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <VIA 83C572 USB controller> port 0x1800-0x181f irq 9 at device 7.2 on pci0 usb0: <VIA 83C572 USB controller> on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech USB-PS/2 Mouse, rev 1.00/1.20, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. pci0: <bridge, PCI-unknown> at device 7.4 (no driver attached) pcm0: <VIA VT82C686A> port 0x1850-0x1853,0x1854-0x1857,0x1000-0x10ff irq 5 at device 7.5 on pci0 pci0: <simple comms> at device 9.0 (no driver attached) cbb0: <TI1410 PCI-CardBus Bridge> mem 0xffbfe000-0xffbfefff at device 10.0 on pci0 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: slot 10 INTA is routed to irq 11 rl0: <RealTek 8139 10/100BaseTX> port 0x1400-0x14ff mem 0xe8010000-0xe80100ff irq 11 at device 11.0 on pci0 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode rl0: Ethernet address: 00:08:02:4b:52:13 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0 orm0: <Option ROMs> at iomem 0xe0000-0xe3fff,0xdc000-0xdffff,0xc0000-0xcbfff on isa0 pmtimer0 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding 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 Timecounters tick every 10.000 msec acpi_cpu0: set speed to 100.0% acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2% acpi_acad0: acline initialization start acpi_cmbat0: battery initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times acpi_acad0: Notify 0 acpi_ec0: EcWaitEventIntr called without EC lock! acpi_ec0: EcRead: Failed waiting for EC to send data. ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR ACPI-1287: *** Error: Method execution failed, AE_ERROR acpi_cmbat0: battery initialization done, tried 1 times ata1-slave: timeout waiting for interrupt ata1-slave: ATA identify failed ad0: 19077MB <HITACHI_DK23DA-20> [38760/16/63] at ata0-master UDMA100 acd0: DVD-ROM <LG DVD-ROM DRN-8080B> at ata1-master UDMA33 Mounting root from ufs:/dev/ad0s2a >Description: This is not a problem with mixer but instead Compaq uses some special solution f or the Evo N115 Problem exist on Evo N115 machines on both Linux and *BSD, there is a patch for the linux kernel and perhaps something simular can be added to via82c686.c? Linux Patch: + + + +/* + * Presario700 workaround + * for Jack Sense/SPDIF Register misetting causing + * no audible output + * by Santiago Nullo 04/05/2002 + */ + +#define AC97_AD1886_JACK_SENSE 0x72 + +static int ad1886_init(struct ac97_codec * codec) +{ + /* from AD1886 Specs */ + codec->codec_write(codec, AC97_AD1886_JACK_SENSE, 0x0010); + return 0; +} + >How-To-Repeat: Get a Evo N115 and install FreeBSD, the via device is found correctly and the so ftware works great (mplayer, xmms and so on) but still there isn't any actual s ound output. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212201422.gBKEMYaP055231>