From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 22 08:29:06 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FED8106566C for ; Sat, 22 Mar 2008 08:29:06 +0000 (UTC) (envelope-from kiorky@cryptelium.net) Received: from smtp.cryptelium.net (cryptelium.net [82.231.146.43]) by mx1.freebsd.org (Postfix) with ESMTP id 582AB8FC19 for ; Sat, 22 Mar 2008 08:29:04 +0000 (UTC) (envelope-from kiorky@cryptelium.net) Received: from localhost (pigeon.cryptelium.net [192.168.0.252]) by smtp.cryptelium.net (Postfix) with ESMTP id 7C2E6160BC097 for ; Sat, 22 Mar 2008 09:17:42 +0100 (CET) X-Virus-Scanned: amavisd-new at cryptelium.net Received: from smtp.cryptelium.net ([192.168.0.252]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3oTZrv1bZv67 for ; Sat, 22 Mar 2008 09:17:38 +0100 (CET) Received: from lutsianna.cryptelium.net (lutsianna.cryptelium.net [192.168.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.cryptelium.net (Postfix) with ESMTP id C7D72160BA7CA for ; Sat, 22 Mar 2008 09:17:37 +0100 (CET) From: kiorky Date: Sat, 22 Mar 2008 09:13:12 +0100 User-Agent: KMail/1.9.9 MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: multipart/signed; boundary="nextPart13287017.6QjOREuRpN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200803220913.17578.kiorky@cryptelium.net> Subject: Speakers are not disabled when plug in headphones X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2008 08:29:06 -0000 --nextPart13287017.6QjOREuRpN Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline i encounter that speakers's problem with snd_hda. This when you plug someth= ing in the headphone jack, the internal speakers are not muted. I applied abdul's patch but without sucess. I tried several combination of gpioX and ovref into devices.hint too. [root@judith /home/kiorky]# uname -ar =46reeBSD judith.cryptelium.net 7.0-RELEASE FreeBSD 7.0-RELEASE #5: Fri Mar= 21 22:19:15 CET 2008 kiorky@judith.cryptelium.net:/usr/obj/usr/src/sys= /JUDITH i386 [root@judith /home/kiorky]# cat /dev/sndstat =46reeBSD Audio Driver (newpcm: 32bit 2007121300/i386) Installed devices: pcm0: at memory 0xf0500000 = irq 22 kld snd_hda [20071129_0050] [MPSAFE] (1p:1v/1r:1v channels duplex de= fault) [pcm0:play:dsp0.p0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0= x00000000 interrupts 2706, underruns 0, feed 2706, ready 0 [b:4096/2048/2|bs:= 4096/2048/2] {userland} -> feeder_vchan(0x10000010) -> {hardware} pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt 0x10= 000010, flags 0x10000000, 0x00000028 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:65536/2048/3= 2] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000= q:1) -> feeder_volume(0x10000010) -> {hardware} [pcm0:record:dsp0.r0]: spd 48000, fmt 0x10000010, flags 0x00101000,= 0x00000000 interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 [b:4096/20= 48/2|bs:4096/2048/2] {hardware} -> feeder_root(0x10000010) -> feeder_vchan(0x10000010) -= > {userland} pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 0, fmt 0x00000000/0= x00000008, flags 0x10000000, 0x00000000 interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/= 0] {hardware} -> feeder_root(0x00000000) -> {userland} =46ile Versions: $FreeBSD: src/sys/dev/sound/pci/hda/hdac.c,v 1.44.2.5 2007/12/15 04:06:12 a= riff Exp $ $FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.3 2005/01/06 01:43:17 imp = Exp $ $FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.36 2007/06/16 03:37:28 ariff Ex= p $ $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.119 2007/06/17 19:02:05 ariff E= xp $ $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.28 2007/06/16 03:37:28 ariff = Exp $ $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.61 2007/06/16 03:37:28 ariff Ex= p $ $FreeBSD: src/sys/dev/sound/pcm/feeder_volume.c,v 1.6 2007/06/16 20:36:39 a= riff Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.23 2007/06/16 03:37:28 ar= iff Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.23 2007/06/02 13:07:44 joe= l Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.44 2007/06/17 15:53:11 ariff E= xp $ $FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.18 2007/03/15 18:19:01 ariff Exp= $ $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.107 2007/07/04 12:33:11 ariff Exp= $ $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.121.2.1 2007/12/06 05:21:39 a= riff Exp $ $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.37 2007/06/16 03:37:27 ariff E= xp $ $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.10.2.1 2007/10/29 18:47:27= ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.73.2.1 2007/10/29 18:47:47 ariff= Exp $ [root@judith /home/kiorky]# mixer Mixer vol is currently set to 75:75 Mixer pcm 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 pciconf : pcm0@pci0:0:27:0: class=3D0x040300 card=3D0xc510144d chip=3D0x284b808= 6=20 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8' class =3D multimedia dmesg.boot: 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. =46reeBSD is a registered trademark of The FreeBSD Foundation. =46reeBSD 7.0-RELEASE #5: Fri Mar 21 22:19:15 CET 2008 kiorky@judith.cryptelium.net:/usr/obj/usr/src/sys/JUDITH Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (1995.02-MHz 686-class= CPU) Origin =3D "GenuineIntel" Id =3D 0x6fd Stepping =3D 13 Features=3D0xbfebfbff Features2=3D0xe3bd AMD Features=3D0x20000000 AMD Features2=3D0x1 Cores per package: 2 real memory =3D 2146238464 (2046 MB) avail memory =3D 2082267136 (1985 MB) ACPI APIC Table: =46reeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 kqemu version 0x00010300 kqemu: KQEMU installed, max_locked_mem=3D1037452kB. ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Mar 21 2008 22:19:00) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "HPET" frequency 14318180 Hz quality 900 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 nvidia0: port 0x2000-0x207f mem 0xce000000-0xceffffff,0xd= 0000000-0xdfffffff,0xcc000000-0xcdffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] uhci0: port 0x1800-0x181f irq 16 at device = 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 21 at device = 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered ehci0: mem 0xf0504000-0xf05043ff irq 18= at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 4 ports with 4 removable, self powered ugen0: on uhub2 pcm0: mem 0xf0500000-0xf050= 3fff irq 22 at device 27.0 on pci0 pcm0: [ITHREAD] pcib2: irq 17 at device 28.0 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) pcib3: irq 16 at device 28.1 on pci0 pci3: on pcib3 mskc0: port 0x3000-0x30ff mem 0xf0= 200000-0xf0203fff irq 17 at device 0.0 on pci3 msk0: on mskc0 msk0: Ethernet address: 00:13:77:5a:e8:ad miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy0: PHY 3 on miibus0 ukphy0: no media present ukphy1: PHY 6 on miibus0 ukphy1: no media present mskc0: [FILTER] uhci2: port 0x1840-0x185f irq 23 at device = 29.0 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb3: on uhci2 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered uhci3: port 0x1860-0x187f irq 19 at device = 29.1 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: on uhci3 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered uhci4: port 0x1880-0x189f irq 18 at device = 29.2 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: on uhci4 usb5: USB revision 1.0 uhub5: on usb5 uhub5: 2 ports with 2 removable, self powered ehci1: mem 0xf0504400-0xf05047ff irq 23= at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb6: EHCI version 1.0 usb6: companion controllers, 2 ports each: usb3 usb4 usb5 usb6: on ehci1 usb6: USB revision 2.0 uhub6: on usb6 uhub6: 6 ports with 6 removable, self powered pcib4: at device 30.0 on pci0 pci4: on pcib4 cbb0: mem 0xf0400000-0xf0400fff at device 9.0 = on pci4 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] fwohci0: mem 0xf0401000-0xf04017ff at device 9.1 on pci4 fwohci0: [FILTER] fwohci0: OHCI version 1.0 (ROM=3D1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:f0:41:01:07:55:17 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:f0:07:55:17 fwe0: Ethernet address: 02:00:f0:07:55:17 fwip0: on firewire0 fwip0: Firewire address: 00:00:f0:41:01:07:55:17 @ 0xfffe00000000, S400, ma= xrec 2048 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x7d8fc000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode pci4: at device 9.2 (no driver attached) pci4: at device 9.3 (no driver attached) pci4: at device 9.4 (no driver attached) pci4: at device 9.5 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x= 18e0-0x18ef,0x18d0-0x18df at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 pmtimer0 on isa0 orm0: at iomem 0xdc000-0xdffff,0xe0000-0xe17ff pnpid ORM0= 000 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> 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 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: = on uhub3 ums0: 8 buttons and Z dir. ugen1: on u= hub5 Timecounters tick every 1.000 msec hptrr: no controller detected. firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) firewire0: bus manager 0 (me) ad0: 152627MB at ata0-master UDMA33 acd0: DVDR at ata1-master UDMA33 pcm0: pcm0: SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad0s4a msk0: link state changed to UP I tried oss41, but i have problms too but nbot the sames. I suceed in mutin= g=20 internal speakers but after one hour or such the sondcard hangs and i need = to=20 reboot to resume it. =2D-=20 =2D- Cordialement, KiOrKY GPG Key FingerPrint: 0x1A1194B7681112AF --nextPart13287017.6QjOREuRpN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) iEYEABECAAYFAkfkv50ACgkQ6Hy4NVWFEUCZEQCeIEcFxrg2OfxmX/x73Yi/W5h6 BkYAn2UI9qRCTZumC5XRERmdUBYc2tyb =WlTs -----END PGP SIGNATURE----- --nextPart13287017.6QjOREuRpN--