From owner-freebsd-multimedia@FreeBSD.ORG Sun Jul 9 02:42:36 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C204716A4DD for ; Sun, 9 Jul 2006 02:42:36 +0000 (UTC) (envelope-from y.pankov@irbis.net.ru) Received: from navarro.irbis.net.ru (navarro.irbis.net.ru [85.118.141.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 490F143D46 for ; Sun, 9 Jul 2006 02:42:36 +0000 (GMT) (envelope-from y.pankov@irbis.net.ru) Received: by navarro.irbis.net.ru (Postfix, from userid 106) id 51C24627873; Sun, 9 Jul 2006 06:42:34 +0400 (MSD) Received: from klamath.irbis.net.ru (klamath.irbis.net.ru [192.168.0.64]) by navarro.irbis.net.ru (Postfix) with ESMTP id 2D81F627842; Sun, 9 Jul 2006 06:42:33 +0400 (MSD) Date: Sun, 9 Jul 2006 06:42:02 +0400 From: Yuri Pankov To: Danny Pansters Message-ID: <20060709064202.67821248@klamath.irbis.net.ru> In-Reply-To: <200606260031.14560.danny@ricin.com> References: <20060625094739.GA3397@underworld.novel.ru> <200606260031.14560.danny@ricin.com> Organization: Irbis Telecommunications, JSC X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: choosing a TV Tuner 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: Sun, 09 Jul 2006 02:42:36 -0000 On Mon, 26 Jun 2006 00:31:14 +0200, Danny Pansters wrote: > On Sunday 25 June 2006 11:48, Roman Bogorodskiy wrote: > > Hi, > > > > I'm going to buy some TV tuner. The nearest store has the following > > models: > > - AverMedia TV/FM Studio (307, 505, 507) > > saa driver. 20 euros, cheap and good enough. > > > - BEHOLDER TV/FM Studio (403/405, 409) > > saa driver > > > - RoverMedia TV Link Pro FM (P34RF) > > don't know, might be bktr > > > > > Which one if these is the best in terms of working on FreeBSD? > > A bktr based one, because that's what most people have, though saa > might produce a nicer image (and they are much more prevalent on the > retailer shelves these days I think). > > > Roman Bogorodskiy > > Saa driver: purpe.com (or try multimedia/kbtv). It has some problems > though, most notably some tuner types (Philips MK, the one I have) > can't find their (former) frequency back after my box has been shut > down (not rebooted but shut down), and I need to tune it to some > channel in Linux first. It's a known problem, related to signal > detection. I'm (slowly) looking into finding a way to solve this in > kbtv. > > > HTH, > > Dan Hi, Dan. Can you give some advices on how to tune AverMedia 507 to given frequency? I've no other OSes on this machine. I've used saa driver from your kbtv-1.1.1 tarball. Changed lines in Makevars are: TUNER_FLAGS+= -DTUNER_APITYPE_PHILIPS_MK3 TUNER_FLAGS+= -DTUNER_WR_I2CADDR=0xc2 -DTUNER_RD_I2CADDR=0xc3 after loading the driver: saa0: mem 0xf6004000-0xf60047ff irq 19 at device 7.0 on pci1 pcib1: saa0 requested memory range 0xf6004000-0xf60047ff: good saa0: [MPSAFE] iicbus0: on saa0 iic0: on iicbus0 pciconf: saa0@pci1:7:0: class=0x048000 card=0x97151461 chip=0x71331131 rev=0xd1 hdr=0x00 vendor = 'Philips Semiconductors' device = 'SAA7135HL Multi Media Capture Device' class = multimedia But tune_channels can't find any channel, set_channel /dev/iic0 and running tvv shows only black window. Yuri From owner-freebsd-multimedia@FreeBSD.ORG Sun Jul 9 14:11:59 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C436216A4E0; Sun, 9 Jul 2006 14:11:59 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E92DF43D66; Sun, 9 Jul 2006 14:11:49 +0000 (GMT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (cpe-024-211-118-154.sc.res.rr.com [24.211.118.154]) by ms-smtp-01.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k69EBb4Y023024; Sun, 9 Jul 2006 10:11:42 -0400 (EDT) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.6/8.13.6) with ESMTP id k69EBZOF061961; Sun, 9 Jul 2006 10:11:35 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Sun, 9 Jul 2006 10:11:35 -0400 (EDT) From: Wesley Morgan To: freebsd-mobile@freebsd.org, freebsd-multimedia@freebsd.org In-Reply-To: <448CE5A0.70806@centtech.com> Message-ID: <20060709093252.S31266@volatile.chemikals.org> References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1632943865-1152453933=:31266" Content-ID: <20060709100614.E31266@volatile.chemikals.org> X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: Andrea Bittau Subject: HDA sound driver mod for sigmatel 92xx 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: Sun, 09 Jul 2006 14:12:00 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1632943865-1152453933=:31266 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: <20060709100614.M31266@volatile.chemikals.org> With a little help from the netbsd azalia driver (a wonderful piece of work, by the way) and the hda specs, I've been able to get Andrea's hdac code to work with my laptop. I believe the problem was that the codec and dac started out in some kind of low-power mode and needed to be woken up before they would work. Hopefully someone is still working on a proper driver, but for now, I can watch movies again! A diff against Andrea's work is attached. -- This .signature sanitized for your protection --0-1632943865-1152453933=:31266 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=sigma.diff Content-Transfer-Encoding: BASE64 Content-ID: <20060709101135.U31266@volatile.chemikals.org> Content-Description: Content-Disposition: attachment; filename=sigma.diff ZGlmZiAtdXJiIGhkYWMvaGRhYy5jIGhkYWMtc2lnbWEvaGRhYy5jDQotLS0g aGRhYy9oZGFjLmMJTW9uIEp1biAgNSAxNToxNToxMiAyMDA2DQorKysgaGRh Yy1zaWdtYS9oZGFjLmMJU3VuIEp1bCAgOSAxMDoxMDozNyAyMDA2DQpAQCAt MjQ3LDcgKzI0Nyw4IEBADQogCSAqIFJlc2V0IHRoZSBjb250cm9sbGVyLiBU aGUgcmVzZXQgbXVzdCByZW1haW4gYXNzZXJ0ZWQgZm9yDQogCSAqIGEgbWlu aW11bSBvZiAxMDB1cy4NCiAJICovDQotCUhEQUNfV1JJVEVfNCgmc2MtPm1l bSwgSERBQ19HQ1RMLCAweDApOw0KKwlnY3RsID0gSERBQ19SRUFEXzQoJnNj LT5tZW0sIEhEQUNfR0NUTCk7DQorCUhEQUNfV1JJVEVfNCgmc2MtPm1lbSwg SERBQ19HQ1RMLCBnY3RsICYgfiBIREFDX0dDVExfQ1JTVCk7DQogCWNvdW50 ID0gMTAwMDA7DQogCXdoaWxlIChjb3VudCkgew0KIAkJZ2N0bCA9IEhEQUNf UkVBRF80KCZzYy0+bWVtLCBIREFDX0dDVEwpOw0KQEAgLTI2MCwxMSArMjYx LDExIEBADQogCQlyZXR1cm4gKEVOWElPKTsNCiAJfQ0KIAlERUxBWSgxMDAp Ow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TsgaSsrKSB7DQog CQlzb3Jib19wcmludF93aWRnZXQoc2MsIDAsIGkpOw0KQEAgLTEyNDgsMTUg KzEyNzAsMTIgQEANCiANCiAJaGRhY19zY2FuX2NvZGVjcyhzYyk7DQogDQot CWlmICgwKQ0KIAlzb3Jib19lbnVtKHNjKTsNCiANCiAJc29yYm9fc3RvcF9z dHJlYW0oc2MpOw0KIAlzb3Jib19yZXNldF9zdHJlYW0oc2MpOw0KIAlzb3Ji b19zdHJlYW1fc2V0aWQoc2MpOw0KIA0KLQlzb3Jib19jb25mX291dHB1dChz YywgMCwgMyk7DQotCXNvcmJvX3NldF9hbXAoc2MsIDAsIDUsIDQwKTsNCiAJ c29yYm9fYWxsb2NfYmRsKHNjLCAyNTYpOw0KIAlzb3Jib19lbmFibGVfc3Ry ZWFtX2ludGVycnVwdHMoc2MpOwkNCiAJc2MtPmxhbWUgPSAxOw0KT25seSBp biBoZGFjLXNpZ21hOiBoZGFjLmN+DQo= --0-1632943865-1152453933=:31266-- From owner-freebsd-multimedia@FreeBSD.ORG Sun Jul 9 14:14:03 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 425AA16A4DF; Sun, 9 Jul 2006 14:14:03 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9138043D45; Sun, 9 Jul 2006 14:14:02 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FDD6.dip.t-dialin.net [84.165.253.214]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k69E5ENv092246; Sun, 9 Jul 2006 16:05:15 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k69EE3ZE028137; Sun, 9 Jul 2006 16:14:03 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 9 Jul 2006 16:15:09 +0200 From: Alexander Leidinger To: Modulok Message-ID: <20060709161509.01e471cf@Magellan.Leidinger.net> In-Reply-To: <64c038660607081241w6e167a85i32daa810dc5f5346@mail.gmail.com> References: <64c038660607081241w6e167a85i32daa810dc5f5346@mail.gmail.com> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: Visual effects pipeline | Maya, Houdini and freeBSD 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: Sun, 09 Jul 2006 14:14:03 -0000 Quoting Modulok (Sat, 8 Jul 2006 13:41:37 -0600): [Full quote for the benefit of the emulation@ readers] > Hi guys, > > I'm looking for a suitable operating system to setup a scalable visual > effects pipeline on...freeBSD is a candidate, but I need to know if it will > run the tools we use. Thus: > > - Has anyone run Maya (the visual effects software) on freeBSD? Maya runs on > win/mac/irix/linux. Though there is no 'official' release for freeBSD...has > anyone successfully used it? > > - Along similar lines, has anyone run Houdini (also, some visual effects > software) on freeBSD? > > Any help with this would be much appreciated. > -Modulok- I want to add: if someone tried but if failed, we're interested in the failure reasons over there in emulation@. If it is because of missing support in the kernel, we may be able to get it working around the end of the summer, but we need to know how it fails. Bye, Alexander. -- 92: Emacs Esc Meta Alt Control Shift http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-multimedia@FreeBSD.ORG Sun Jul 9 14:17:45 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A59916A4DA; Sun, 9 Jul 2006 14:17:45 +0000 (UTC) (envelope-from a.bittau@cs.ucl.ac.uk) Received: from darkircop.org (tapir.cs.ucl.ac.uk [128.16.66.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD0C43D49; Sun, 9 Jul 2006 14:17:44 +0000 (GMT) (envelope-from a.bittau@cs.ucl.ac.uk) Received: by darkircop.org (Postfix, from userid 0) id 0E592860C6F; Sun, 9 Jul 2006 15:17:25 +0100 (BST) Date: Sun, 9 Jul 2006 15:17:24 +0100 From: Andrea Bittau To: Wesley Morgan Message-ID: <20060709141724.GA33010@shorty.sorbonet.org> References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060709093252.S31266@volatile.chemikals.org> User-Agent: Mutt/1.4.2.1i X-Echelon: Bush Bomb War KGB Cc: freebsd-multimedia@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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: Sun, 09 Jul 2006 14:17:45 -0000 by the way, I got a version which should record stuff too: http://darkircop.org/hdac-rec.tgz From owner-freebsd-multimedia@FreeBSD.ORG Sun Jul 9 21:00:23 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C26016A4E0 for ; Sun, 9 Jul 2006 21:00:23 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq1.tilbu1.nb.home.nl (smtpq1.tilbu1.nb.home.nl [213.51.146.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6075343D45 for ; Sun, 9 Jul 2006 21:00:21 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.146.190] (port=47236 helo=smtp1.tilbu1.nb.home.nl) by smtpq1.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1FzgO4-0006E6-JF; Sun, 09 Jul 2006 23:00:20 +0200 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.221.74]:50751 helo=desktop.homenet) by smtp1.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1FzgO2-0002sp-13; Sun, 09 Jul 2006 23:00:18 +0200 From: Danny Pansters To: Yuri Pankov Date: Sun, 9 Jul 2006 22:59:33 +0200 User-Agent: KMail/1.9.1 References: <20060625094739.GA3397@underworld.novel.ru> <200606260031.14560.danny@ricin.com> <20060709064202.67821248@klamath.irbis.net.ru> In-Reply-To: <20060709064202.67821248@klamath.irbis.net.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607092259.33421.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Cc: freebsd-multimedia@freebsd.org Subject: Re: choosing a TV Tuner 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: Sun, 09 Jul 2006 21:00:23 -0000 Hi Yuri, On Sunday 09 July 2006 04:42, you wrote: > > Saa driver: purpe.com (or try multimedia/kbtv). It has some problems > > though, most notably some tuner types (Philips MK, the one I have) > > can't find their (former) frequency back after my box has been shut > > down (not rebooted but shut down), and I need to tune it to some > > channel in Linux first. It's a known problem, related to signal > > detection. I'm (slowly) looking into finding a way to solve this in > > kbtv. > > > > Hi, Dan. > > Can you give some advices on how to tune AverMedia 507 to given frequency? > I've no other OSes on this machine. > > I've used saa driver from your kbtv-1.1.1 tarball. Changed > lines in Makevars are: > TUNER_FLAGS+= -DTUNER_APITYPE_PHILIPS_MK3 > TUNER_FLAGS+= -DTUNER_WR_I2CADDR=0xc2 -DTUNER_RD_I2CADDR=0xc3 > > after loading the driver: > saa0: mem 0xf6004000-0xf60047ff > irq 19 at device 7.0 on pci1 pcib1: saa0 requested memory range > 0xf6004000-0xf60047ff: good > saa0: [MPSAFE] > iicbus0: on saa0 > iic0: on iicbus0 > > pciconf: > saa0@pci1:7:0: class=0x048000 card=0x97151461 chip=0x71331131 rev=0xd1 > hdr=0x00 > vendor = 'Philips Semiconductors' > device = 'SAA7135HL Multi Media Capture Device' > class = multimedia > > But tune_channels can't find any channel, set_channel /dev/iic0 > and running tvv shows only black window. > Like I said, at the moment you'd have to use a dual boot setup or use a bootable CD from which you can tune the card for the first time ("first" means every time after power-off :-( No patch yet, but maybe some useful info: I've been investigating this problem a bit more and I'm sceptical about Rohit's assumption about MK3 tuners not supporting PLL based signal detection. I'm pretty sure it does, how else can the tuning work once I've used the hardware under Linux. Something gets initialized there but it doesn't get initialized by the saa driver on its own, or rather its (iic) tuning support code. Now if you google for tuning problems with MK3 tuners (and others I reckon), there's plenty leads suggesting (on Linux) that the tda9887 module must be loaded. And indeed, MK3 tuners have a TDA9887 based IF demodulator. "The FQ/FM1200 MK3 contains two i2c tranceivers, one in the tuner section and one in the IF section. It is imperative to ensure that both i2c devices are programmed correctly according to their address" [ http://dl.ivtvdriver.org/datasheets/tuners/FQ1200MK3 application note 1_0.pdf ] This is the direction where I'm looking at currently. I think I'll have to do some iic babble for the IF side like linux, and indeed also mt2032 in bktr, does. Any further comments/ideas welcome. Can someone confirm this? %./scan_i2c /dev/iic0 scan_i2c: Device at 134 scan_i2c: Device at 135 scan_i2c: Device at 160 scan_i2c: Device at 161 scan_i2c: Device at 194 scan_i2c: Device at 195 Note that 134 = 0x86: standard tda9887 address (it seems that 0x84 and 0x96 may also be used in special cases) 160 = 0xa0: dunno 194 = 0xc2: tuner address HTH, I hope to have some testing code soon, but I need to get a better grasp of what's going on here first. Dan From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 10 07:18:29 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C92616A4DD; Mon, 10 Jul 2006 07:18:29 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E21A43D49; Mon, 10 Jul 2006 07:18:27 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from demon.hhp.local by mx.gfk.ru (MDaemon PRO v9.0.5) with ESMTP id md50000325619.msg; Mon, 10 Jul 2006 11:18:08 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Date: Mon, 10 Jul 2006 11:18:02 +0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD MIDI support Thread-Index: AcajxisqVIS83SYvTHeccNc6Y178DwAIlGZA From: "Yuriy Tsibizov" To: "zarko bulatovic" , X-Spam-Processed: mx.gfk.ru, Mon, 10 Jul 2006 11:18:08 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.8 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDAV-Processed: mx.gfk.ru, Mon, 10 Jul 2006 11:18:09 +0400 Cc: freebsd-hackers@freebsd.org Subject: RE: FreeBSD MIDI support 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: Mon, 10 Jul 2006 07:18:29 -0000 > Are there any projects regarding this topic? I recently=20 > started coding =20 > kernel modules, however, there are some design issues=20 > involving "way" of =20 > MIDI implementation, so i hoped to contact somebody who's=20 > working on the =20 > same thing, or to join develop. team if there is any project underway. MIDI support in HEAD does not have maintainer, and, as I know, noone was willing to continue its development. Hardware support is limited to two or three cards. If you know MIDI well, you can take this project in your hands. >=20 > Anyways, the first dillema i have is about softsynth=20 > rendering, naturally =20 > early-stage drivers wouldn't use sc's onboard wavetables and their =20 > hardware means of MIDI rendering, so i would rather use=20 > software MIDI =20 > playback. Usage of hardware functionality should come later.=20 > The thing =20 > that bugs me, is it worth coding this inside of kernel=20 > module? Meaning =20 > that some /dev device inputs midi messages to kern.module,=20 > witch uses =20 > built-in software synthessis based on SF2 specification for MIDI =20 > rendering. There are already userland programs that do that,=20 > like timidiy =20 > and fluidsynth.=20 I don't use this software right now, but if they can listen on a pipe = for MIDI sequence than kernel "softsynth" module will not be very useful for me. > Maybe it would be better to start on hardware=20 > functionalty =20 > at once, eg. pure device drivers that control soundcard's MIDI port, =20 > however, allaround kernel module should bring a decent degree of =20 > standardization. This is the way software MIDI is implemented=20 > on Windows =20 > and MacOSX, kernel mode rendering through software=20 > synthersizer (altrough =20 > i think they use DLS synthessis rather than SF2, but that=20 > really isnt =20 > important). So the question is, what is the best goal for=20 > MIDI on FreeBSD, =20 > a quickest way of controlling external synths/MIDI hardware=20 > (meaning ditch =20 > the software synth and set your mind on various hardware=20 > specs), It should work in -CURRENT, but supportred sound card list is short. It should be easy to add midi HW driver for your sound card, because MIDI I/O needs only to "put byte" and "get byte"/"get status" to & from=20 MIDI port. > or an all-around MIDI drivers providing playback without "3rd=20 > party" userland apps? Not shure about this... It will be very limited, because most consumer sound cards does not provide MIDI wavetable synthesizer acceleration. Yuriy. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 10 09:23:40 2006 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEECD16A4EC; Mon, 10 Jul 2006 09:23:39 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 425B143D5C; Mon, 10 Jul 2006 09:23:34 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D4EC.dip.t-dialin.net [84.165.212.236]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k6A9EZQW096632; Mon, 10 Jul 2006 11:14:36 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k6A9NXM2092251; Mon, 10 Jul 2006 11:23:33 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 10 Jul 2006 11:23:33 +0200 Message-ID: <20060710112333.zb9ivxetuog4ows8@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 10 Jul 2006 11:23:33 +0200 From: Alexander Leidinger To: zarko bulatovic References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-hackers@freebsd.org, multimedia@freebsd.org Subject: Re: FreeBSD MIDI support 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: Mon, 10 Jul 2006 09:23:40 -0000 Quoting zarko bulatovic (from Mon, 10 Jul 2006 =20 04:09:15 -0700): [CCing multimedia@, where more people interested in this topic listen] > Are there any projects regarding this topic? I recently started coding I'm not aware of one. > kernel modules, however, there are some design issues involving "way" > of MIDI implementation, so i hoped to contact somebody who's working on > the same thing, or to join develop. team if there is any project > underway. I just imported the old "new" midi code. It was not finished, but can =20 at least be used for some situations. Any patches which improve the =20 midi code are welcome. Bye, Alexander. The rest of the mail for the benefit of multimadia@: > Anyways, the first dillema i have is about softsynth rendering, > naturally early-stage drivers wouldn't use sc's onboard wavetables and > their hardware means of MIDI rendering, so i would rather use software > MIDI playback. Usage of hardware functionality should come later. The > thing that bugs me, is it worth coding this inside of kernel module? > Meaning that some /dev device inputs midi messages to kern.module, > witch uses built-in software synthessis based on SF2 specification for > MIDI rendering. There are already userland programs that do that, like > timidiy and fluidsynth. Maybe it would be better to start on hardware > functionalty at once, eg. pure device drivers that control soundcard's > MIDI port, however, allaround kernel module should bring a decent > degree of standardization. This is the way software MIDI is implemented > on Windows and MacOSX, kernel mode rendering through software > synthersizer (altrough i think they use DLS synthessis rather than SF2, > but that really isnt important). So the question is, what is the best > goal for MIDI on FreeBSD, a quickest way of controlling external > synths/MIDI hardware (meaning ditch the software synth and set your > mind on various hardware specs), or an all-around MIDI drivers > providing playback without "3rd party" userland apps? > > Thank you in advance. > Zarko Bulatovic > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" --=20 Capital punishment means never having to say "YOU AGAIN?" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 10 09:34:59 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE7FD16A4DE for ; Mon, 10 Jul 2006 09:34:59 +0000 (UTC) (envelope-from eugeny.kuzakov@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76EFF43D49 for ; Mon, 10 Jul 2006 09:34:59 +0000 (GMT) (envelope-from eugeny.kuzakov@gmail.com) Received: by py-out-1112.google.com with SMTP id i75so1070759pye for ; Mon, 10 Jul 2006 02:34:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=i4C8nd4YkyJsJEBK3HHs4mBalXKHdsjDoCWYZKYUWW4YUlkkMPPW5E2vg+uLD4d08IjRBK5OPXjTao7h647DfIoIQPUxokltsSUDZpKG9sPpy+0gl4GqGWKMvFDTl72ybFIZtlEJ7dPxtQelI9KDxj7GmeINOrI1ize66hZCOXg= Received: by 10.35.99.14 with SMTP id b14mr4836310pym; Mon, 10 Jul 2006 02:34:58 -0700 (PDT) Received: by 10.35.42.9 with HTTP; Mon, 10 Jul 2006 02:34:58 -0700 (PDT) Message-ID: <146805bd0607100234l5d4f1875gd921865db7fef13@mail.gmail.com> Date: Mon, 10 Jul 2006 13:34:58 +0400 From: "Eugeny Kuzakov" Sender: eugeny.kuzakov@gmail.com To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: 66bbd19713583c52 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: microphone doen't work:( 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: Mon, 10 Jul 2006 09:35:00 -0000 He there, I have Audigy 4 card inserted in Asus p4p800se. sound is nice, but I am unable to use microphone in any app...:( I have played with emuctl and adjusted recored volumes and then I can hear my voice in headphones, but the voice doesn't go to any applications. I have tried skype,audacity,krec... Also I looked into mixer command output&KDe mixer... Everithing is nice except there is no voice any sound from microphone in applications... Thank you for any help/tips/references. -- Best wishes, Coredumped. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 10 09:41:30 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A83F16A4E0 for ; Mon, 10 Jul 2006 09:41:30 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEB6643D46 for ; Mon, 10 Jul 2006 09:41:27 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from demon.hhp.local by mx.gfk.ru (MDaemon PRO v9.0.5) with ESMTP id md50000326328.msg for ; Mon, 10 Jul 2006 13:40:34 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 10 Jul 2006 13:40:30 +0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: microphone doen't work:( Thread-Index: AcakBEIpusBqvWI+ToOVOa+8GCDnCwAACcTA From: "Yuriy Tsibizov" To: "Eugeny Kuzakov" , X-Spam-Processed: mx.gfk.ru, Mon, 10 Jul 2006 13:40:34 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.8 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: freebsd-multimedia@freebsd.org X-MDAV-Processed: mx.gfk.ru, Mon, 10 Jul 2006 13:40:36 +0400 Cc: Subject: RE: microphone doen't work:( 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: Mon, 10 Jul 2006 09:41:30 -0000 >=20 > I have Audigy 4 card inserted in Asus p4p800se. > sound is nice, but I am unable to use microphone in any app...:( >=20 > I have played with emuctl and adjusted recored volumes=20 > and then I can > hear my voice in headphones, > but the voice doesn't go to any applications. I have tried > skype,audacity,krec... > Also I looked into mixer command output&KDe mixer... >=20 > Everithing is nice except there is no voice any sound from=20 > microphone in > applications... can you post output from "emuctrl list" and "mixer"? Yuriy. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 10 10:17:50 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF2F616A4DF for ; Mon, 10 Jul 2006 10:17:50 +0000 (UTC) (envelope-from eugeny.kuzakov@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BDED43D45 for ; Mon, 10 Jul 2006 10:17:50 +0000 (GMT) (envelope-from eugeny.kuzakov@gmail.com) Received: by py-out-1112.google.com with SMTP id i75so1081925pye for ; Mon, 10 Jul 2006 03:17:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=NtY6WGEEeBlFrt7K63ClLCAFX59YkypJO3vsS6KQCJSnPR2zlptRJkJwDPJWM/Mpu/Xo9dhOPIDVFeR1j/toe8an8NQZLNMkCwO5p2qwR8GjU4WY+x2Q+wcgthyLkVykuKSRLItrE4joWBO4l9CgijZ2s/itDqLAllodQ1Kg5V4= Received: by 10.35.90.20 with SMTP id s20mr4865393pyl; Mon, 10 Jul 2006 03:17:49 -0700 (PDT) Received: by 10.35.42.9 with HTTP; Mon, 10 Jul 2006 03:17:49 -0700 (PDT) Message-ID: <146805bd0607100317o4da89c0cy138b4f4b210a7456@mail.gmail.com> Date: Mon, 10 Jul 2006 14:17:49 +0400 From: "Eugeny Kuzakov" Sender: eugeny.kuzakov@gmail.com To: "Yuriy Tsibizov" In-Reply-To: MIME-Version: 1.0 References: X-Google-Sender-Auth: 2573164e59563e16 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: microphone doen't work:( 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: Mon, 10 Jul 2006 10:17:51 -0000 On 7/10/06, Yuriy Tsibizov wrote: > > > > > I have Audigy 4 card inserted in Asus p4p800se. > > sound is nice, but I am unable to use microphone in any app...:( > > > > I have played with emuctl and adjusted recored volumes > > and then I can > > hear my voice in headphones, > > but the voice doesn't go to any applications. I have tried > > skype,audacity,krec... > > Also I looked into mixer command output&KDe mixer... > > > > Everithing is nice except there is no voice any sound from > > microphone in > > applications... > can you post output from "emuctrl list" and "mixer"? sure! I will do that as soon as will be at home! thank you! -- Best wishes, Coredumped. p.s. Under windows microphone works fine for me... From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 10 11:03:19 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A0DE16A5D7 for ; Mon, 10 Jul 2006 11:03:19 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EBAB43D5C for ; Mon, 10 Jul 2006 11:03:09 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6AB39pG055693 for ; Mon, 10 Jul 2006 11:03:09 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6AB388F055689 for freebsd-multimedia@freebsd.org; Mon, 10 Jul 2006 11:03:08 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 10 Jul 2006 11:03:08 GMT Message-Id: <200607101103.k6AB388F055689@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 10 Jul 2006 11:03:19 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/02/22] kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestr f [2004/11/16] kern/73987 multimedia [sound] Nforce2 MB sound problem o [2005/04/14] kern/79905 multimedia [sound] sis7018 sound module problem o [2005/04/14] kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: o [2005/05/17] kern/81146 multimedia [sound] Sound isn't working AT ALL for Si o [2005/06/08] kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work o [2005/12/10] kern/90214 multimedia [sound] memory leaks in snd_via8233 o [2006/03/09] kern/94279 multimedia [snd_neomagic] snd_neomagic crashes on Fr o [2006/04/30] kern/96538 multimedia [sound] emu10k1-driver inverts channels o [2006/05/20] kern/97535 multimedia [snd_mss] doesn't work in 6.0-RELEASE and o [2006/05/30] kern/98167 multimedia [sound] [es137x] [patch] ES1370 mixer vol o [2006/06/09] kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard o [2006/06/22] ports/99323 multimedia jackd audio server broken? 13 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2001/02/26] kern/25386 multimedia [sound] Incorrect mixer registers (line & o [2002/04/30] kern/37600 multimedia [sound] [partial patch] t4dwave drive doe f [2003/12/26] kern/60599 multimedia [bktr] [partial patch] No sound for ATI T o [2003/12/29] kern/60677 multimedia [sound] [patch] No reaction of volume con f [2004/05/14] kern/66642 multimedia [sound] pcm0: play: 0: play interrupt tim f [2004/09/30] kern/72218 multimedia [sound] audio recording broken with emu10 o [2004/10/22] kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound near o [2005/04/08] kern/79678 multimedia [sound] sound works except recording from o [2005/04/29] kern/80465 multimedia [sound] pcm0:record:0: record interrupt t o [2005/05/05] kern/80632 multimedia pcm driver missing support for CMI8738 au o [2005/07/29] kern/84311 multimedia [sound] 82801FB/FR/FW/FRW Intel High Defi f [2005/08/03] kern/84507 multimedia [sound] fm801: Not every card supports va f [2005/09/11] kern/85964 multimedia [sound] Can't play 24 bit audio (Audigy 2 f [2005/10/04] ports/86899 multimedia multimedia/mjpegtools - lavplay/glav clai o [2005/10/21] kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: re f [2005/11/11] kern/88820 multimedia [sound] Erratic recognition of VIA 8285 s o [2006/01/29] kern/92512 multimedia [sound] distorted mono output with emu10k o [2006/01/30] kern/92557 multimedia [sound] Contrary to 6.0 release notes, sn o [2006/03/01] i386/93986 multimedia Acer TravelMate 4652LMi pcm0 channel dead o [2006/03/29] kern/95086 multimedia [sound] uaudio line in problem with sbdm o [2006/05/22] kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fai o [2006/06/04] kern/98496 multimedia [snd_ich] some functions don't work in my o [2006/06/04] kern/98504 multimedia [sound] Sound is distorted with SB Live 5 o [2006/06/30] kern/99639 multimedia [sound] FreeBSD 4.11 hangs while trying t 24 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Tue Jul 11 17:17:33 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FA5A16A4DA for ; Tue, 11 Jul 2006 17:17:33 +0000 (UTC) (envelope-from eugeny.kuzakov@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D97C43D62 for ; Tue, 11 Jul 2006 17:17:12 +0000 (GMT) (envelope-from eugeny.kuzakov@gmail.com) Received: by py-out-1112.google.com with SMTP id b36so3953646pyb for ; Tue, 11 Jul 2006 10:17:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=beVpzwjw98sVFepacbiwp77Jta8UrVT1Qrbo2rO0v2EBPVUSjGDxnV02a92/tXcYdo3Emw+pEtPWvQ3nzjxgUM9HEhRNGAd3nHSawuR2Uf6ClCy8suHx/NH+3utXs2odrI2vN8wvSJ91OrKSJfQqpIl0QDRjQzkGsDlfBXi0VUg= Received: by 10.35.99.14 with SMTP id b14mr6493382pym; Tue, 11 Jul 2006 10:17:11 -0700 (PDT) Received: by 10.35.42.9 with HTTP; Tue, 11 Jul 2006 10:17:11 -0700 (PDT) Message-ID: <146805bd0607111017k682cc0c1wbb945b50e2e80e73@mail.gmail.com> Date: Tue, 11 Jul 2006 21:17:11 +0400 From: "Eugeny Kuzakov" Sender: eugeny.kuzakov@gmail.com To: "Yuriy Tsibizov" In-Reply-To: MIME-Version: 1.0 References: X-Google-Sender-Auth: 1eadcebf987d8e68 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: microphone doen't work:( 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: Tue, 11 Jul 2006 17:17:33 -0000 On 7/10/06, Yuriy Tsibizov wrote: > > > I have Audigy 4 card inserted in Asus p4p800se. > > sound is nice, but I am unable to use microphone in any app...:( > can you post output from "emuctrl list" and "mixer"? > coredumped@coredumped:~$sudo emuctrl list Id Description Vol RecVol FX (PCM) buses fx0 DSP FX BUS 0 61:61 (100:100) DSP Inputs in0 AC97 Codec 100:100 (100:100) in2 S/PDIF 0:0 (0:0) DSP Outputs out0 Front 100:100 out1 Center 100 out2 Subwoofer 100 out4 Rear 100:100 out13 A/D converter (REC) 0:0 Main Mix mix0 Main Mix 100:100 (100:100) ---11-07-2006 21:06:44 coredumped@coredumped:~$mixer Mixer vol is currently set to 100:100 Mixer pcm is currently set to 60:60 Mixer speaker is currently set to 100:100 Mixer line is currently set to 100:100 Mixer mic is currently set to 100:100 Mixer cd is currently set to 0:0 Mixer rec is currently set to 100:100 Mixer igain is currently set to 98:98 Mixer ogain is currently set to 100:100 Mixer line1 is currently set to 73:73 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Mixer video is currently set to 0:0 Recording source: mic dmesg: Copyright (c) 1992-2006 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 6.1-STABLE #1: Sat Jul 8 16:41:59 MSD 2006 root@coredumped.local:/add/obj/add/ftp/pub/FreeBSD/STABLE/src/sys/my2 WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3519.69-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Features2=0x441d> Logical CPUs per core: 2 real memory = 1073414144 (1023 MB) avail memory = 1036935168 (988 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 p4tcc0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] uhci0: port 0xeec0-0xeedf irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xef00-0xef1f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xef20-0xef3f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xef40-0xef5f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfebff800-0xfebffbff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: waiting for BIOS to give up control usb4: timed out waiting for BIOS usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered uhub5: vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/6.0b, addr 2 uhub5: single transaction translator uhub5: 4 ports with 4 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/22.00, addr 3, iclass 3/1 ums0: 8 buttons and Z dir. pcib2: at device 30.0 on pci0 pci2: on pcib2 skc0: port 0xd800-0xd8ff mem 0xfeafc000-0xfeafffff irq 22 at device 5.0 on pci2 skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9) sk0: on skc0 sk0: Ethernet address: 00:13:d4:63:5e:24 miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto skc0: [GIANT-LOCKED] fwohci0: port 0xdc00-0xdc7f mem 0xfeafb800-0xfeafbfff irq 21 at device 9.0 on pci2 fwohci0: [GIANT-LOCKED] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:0a:48:00:00:00:05:12 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:0a:48:00:05:12 fwe0: Ethernet address: 02:0a:48:00:05:12 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) atapci0: port 0xdff0-0xdff7,0xdfe4-0xdfe7,0xdfa8-0xdfaf,0xdfe0-0xdfe3,0xdf90-0xdf9f mem 0xfeafb400-0xfeafb5ff irq 22 at device 10.0 on pci2 ata2: on atapci0 ata3: on atapci0 emu10kx0: port 0xdf00-0xdf3f irq 23 at device 11.0 on pci2 pcm0: on emu10kx0 pcm0: isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0xeff0-0xeff7,0xefe4-0xefe7,0xefa8-0xefaf,0xefe0-0xefe3,0xef90-0xef9f irq 18 at device 31.1 on pci0 ata4: on atapci1 ata5: on atapci1 atapci2: port 0xefa0-0xefa7,0xef8c-0xef8f,0xef80-0xef87,0xef88-0xef8b,0xef60-0xef6f irq 18 at device 31.2 on pci0 ata6: on atapci2 ata7: on atapci2 ichsmb0: port 0x400-0x41f irq 17 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] smbus0: on ichsmb0 smb0: on smbus0 acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] speaker0: port 0x61 on acpi0 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 ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xce7ff,0xce800-0xd2fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1 at port 0x170-0x177,0x376 irq 15 on isa0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled ukbd0: BTC USB Multimedia Cordless Kit, rev 1.10/1.70, addr 2, iclass 3/1 kbd2 at ukbd0 uhid0: BTC USB Multimedia Cordless Kit, rev 1.10/1.70, addr 2, iclass 3/1 ugen0: vendor 0x046d Camera, rev 1.10/0.00, addr 2 ubt0: vendor 0x0db0 product 0x1967, rev 1.10/5.25, addr 2 ubt0: vendor 0x0db0 product 0x1967, rev 1.10/5.25, addr 2 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 Timecounter "TSC" frequency 3519686464 Hz quality 800 Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. ad4: 305245MB at ata2-master SATA150 ad6: 286188MB at ata3-master SATA150 ad8: 114473MB at ata4-master UDMA100 ad9: 19092MB at ata4-slave UDMA100 acd0: DVDR at ata5-slave PIO4 ad12: 152627MB at ata6-master SATA150 GEOM_LABEL: Label for provider ad8s1 is msdosfs/OT. GEOM_LABEL: Label for provider ad9s1 is ufs/otadd2. GEOM_LABEL: Label for provider ad12s1 is ntfs/ntfs. GEOM_LABEL: Label for provider ad12s4a is ufs/add. cd0 at ata5 bus 0 target 1 lun 0 cd0: <_NEC DVD_RW ND-3500AG 2.16> Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad12s2a emu10kx0: IR MIDI events enabled. sk0: promiscuous mode enabled fuse4bsd: version 0.3.0, FUSE ABI 7.5 vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 (3.2.x mvm) $ vmmon: Module vmmon: initialized vmnet1: Ethernet address: 00:bd:81:fc:03:01 vmnet1: promiscuous mode enabled ---11-07-2006 21:06:45 -- Best wishes, Coredumped. From owner-freebsd-multimedia@FreeBSD.ORG Wed Jul 12 05:43:12 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCE0216A4DF for ; Wed, 12 Jul 2006 05:43:12 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2106043D45 for ; Wed, 12 Jul 2006 05:43:11 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from demon.hhp.local by mx.gfk.ru (MDaemon PRO v9.0.5) with ESMTP id md50000331153.msg for ; Wed, 12 Jul 2006 09:42:36 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Jul 2006 09:42:32 +0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: microphone doen't work:( Thread-Index: AcalDgYCBNsbfOq7S4Cd/acrYqwrdwAZ0ulA From: "Yuriy Tsibizov" To: "Eugeny Kuzakov" X-Spam-Processed: mx.gfk.ru, Wed, 12 Jul 2006 09:42:36 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.8 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: freebsd-multimedia@freebsd.org X-MDAV-Processed: mx.gfk.ru, Wed, 12 Jul 2006 09:42:36 +0400 Cc: freebsd-multimedia@freebsd.org Subject: RE: microphone doen't work:( 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: Wed, 12 Jul 2006 05:43:12 -0000 > On 7/10/06, Yuriy Tsibizov wrote: >> I have Audigy 4 card inserted in Asus p4p800se. >> sound is nice, but I am unable to use microphone in any app...:( > can you post output from "emuctrl list" and "mixer"? >=20 > coredumped@coredumped:~$sudo emuctrl list > Id Description Vol RecVol > FX (PCM) buses > fx0 DSP FX BUS 0 61:61 (100:100) > DSP Inputs > in0 AC97 Codec 100:100 (100:100) > in2 S/PDIF 0:0 (0:0) > DSP Outputs > out0 Front 100:100 > out1 Center 100 > out2 Subwoofer 100 > out4 Rear 100:100 > out13 A/D converter (REC) 0:0 ^^^^^^^^^^^^^^^^^^^ should be 100:100 > Main Mix > mix0 Main Mix 100:100 (100:100) [...] > emu10kx0: port > 0xdf00-0xdf3f irq 23 at device 11.0 on pci2=20 can you send me output of pciconf -l -v and exact name and SBxxxx code of your card? Yuriy. From owner-freebsd-multimedia@FreeBSD.ORG Wed Jul 12 09:35:02 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EE4D16A4DE for ; Wed, 12 Jul 2006 09:35:02 +0000 (UTC) (envelope-from eugeny.kuzakov@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D85E43D55 for ; Wed, 12 Jul 2006 09:34:58 +0000 (GMT) (envelope-from eugeny.kuzakov@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so169990pyc for ; Wed, 12 Jul 2006 02:34:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=Brao6rCS2bJQcEJ2jC799kg+TubsTn8GrFK5+ibC2s+ZlY2MBtZyGUPij0IL4cPtKOYpXnapTxyAGRnfb+QxSFr9zlRXoXuFqYulzLWICjEhOoN9wQlNfIhampvLHajCwCBAzCJz/91EEveRMQAxUwH2ZDAbrmfzcgLbMG/ZPqQ= Received: by 10.35.78.9 with SMTP id f9mr607737pyl; Wed, 12 Jul 2006 02:34:58 -0700 (PDT) Received: by 10.35.42.9 with HTTP; Wed, 12 Jul 2006 02:34:58 -0700 (PDT) Message-ID: <146805bd0607120234s62635f6cr28f4aac13448fd0c@mail.gmail.com> Date: Wed, 12 Jul 2006 13:34:58 +0400 From: "Eugeny Kuzakov" Sender: eugeny.kuzakov@gmail.com To: "Yuriy Tsibizov" In-Reply-To: MIME-Version: 1.0 References: X-Google-Sender-Auth: 0a543987f24a7c97 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: microphone doen't work:( 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: Wed, 12 Jul 2006 09:35:02 -0000 On 7/12/06, Yuriy Tsibizov wrote: > can you send me output of pciconf -l -v and exact name and SBxxxx code > of your card? how can I look SBxxxx code? pciconf output below: Thank you for help! agp0@pci0:0:0: class=0x060000 card=0x80f21043 chip=0x25708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x25718086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82865G/PE/P, 82848P PCI-to-AGP Bridge' class = bridge subclass = PCI-PCI uhci0@pci0:29:0: class=0x0c0300 card=0x80a61043 chip=0x24d28086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0x80a61043 chip=0x24d48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0x80a61043 chip=0x24d78086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uhci3@pci0:29:3: class=0x0c0300 card=0x80a61043 chip=0x24de8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB ehci0@pci0:29:7: class=0x0c0320 card=0x80a61043 chip=0x24dd8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller' class = serial bus subclass = USB pcib2@pci0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0xc2 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x24d08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci1@pci0:31:1: class=0x01018f card=0x80a61043 chip=0x24db8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) EIDE Controller' class = mass storage subclass = ATA atapci2@pci0:31:2: class=0x01018f card=0x80a61043 chip=0x24d18086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB (ICH5) SATA Controller' class = mass storage subclass = ATA ichsmb0@pci0:31:3: class=0x0c0500 card=0x80a61043 chip=0x24d38086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) SMBus Controller' class = serial bus subclass = SMBus nvidia0@pci1:0:0: class=0x030000 card=0x00000000 chip=0x004510de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'GeForce 6800 GT [NV40.5]' class = display subclass = VGA skc0@pci2:5:0: class=0x020000 card=0x811a1043 chip=0x432011ab rev=0x13 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = '88E8001/8003/8010 Gigabit Ethernet Controller with Integrated PHY (copper)' class = network subclass = ethernet fwohci0@pci2:9:0: class=0x0c0010 card=0x304417f2 chip=0x30441106 rev=0x46 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6306 VIA Fire II IEEE-1394 OHCI Link Layer Controller' class = serial bus subclass = FireWire atapci0@pci2:10:0: class=0x010400 card=0x61121095 chip=0x31121095 rev=0x02 hdr=0x00 vendor = 'Silicon Image Inc (Was: CMD Technology Inc)' device = 'SiI 3112 SATALink/SATARaid Controller' class = mass storage subclass = RAID emu10kx0@pci2:11:0: class=0x040100 card=0x10211102 chip=0x00081102 rev=0x00 hdr=0x00 vendor = 'Creative Labs' device = 'EMU Audigy_Device' class = multimedia subclass = audio -- Best wishes, Coredumped. From owner-freebsd-multimedia@FreeBSD.ORG Wed Jul 12 12:35:30 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0947516A4F2; Wed, 12 Jul 2006 12:35:30 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC2543D53; Wed, 12 Jul 2006 12:35:14 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6CCZ1fX056303; Wed, 12 Jul 2006 07:35:07 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B4EC7B.9020004@centtech.com> Date: Wed, 12 Jul 2006 07:35:07 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Wesley Morgan References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> In-Reply-To: <20060709093252.S31266@volatile.chemikals.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1592/Tue Jul 11 15:40:37 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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: Wed, 12 Jul 2006 12:35:30 -0000 On 07/09/06 09:11, Wesley Morgan wrote: > > With a little help from the netbsd azalia driver (a wonderful piece of > work, by the way) and the hda specs, I've been able to get Andrea's hdac > code to work with my laptop. I believe the problem was that the codec > and dac started out in some kind of low-power mode and needed to be > woken up before they would work. > > Hopefully someone is still working on a proper driver, but for now, I > can watch movies again! > > A diff against Andrea's work is attached. I couldn't get this patch to work - all hunks fail. What am I doing wrong? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-multimedia@FreeBSD.ORG Wed Jul 12 18:42:28 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2922116A4E0; Wed, 12 Jul 2006 18:42:28 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4C1643D5D; Wed, 12 Jul 2006 18:42:26 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6CIgQXw093199; Wed, 12 Jul 2006 18:42:26 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6CIgQq4093195; Wed, 12 Jul 2006 18:42:26 GMT (envelope-from linimon) Date: Wed, 12 Jul 2006 18:42:26 GMT From: Mark Linimon Message-Id: <200607121842.k6CIgQq4093195@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/100169: [snd_ich] snd_ich broken on Dell PIII system 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: Wed, 12 Jul 2006 18:42:28 -0000 Old Synopsis: snd_ich broken on Dell PIII system New Synopsis: [snd_ich] snd_ich broken on Dell PIII system Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jul 12 18:42:04 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=100169 From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 13 01:05:08 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E75E216A4DA; Thu, 13 Jul 2006 01:05:07 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608A743D49; Thu, 13 Jul 2006 01:05:07 +0000 (GMT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (cpe-024-211-118-154.sc.res.rr.com [24.211.118.154]) by ms-smtp-03.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k6D150dC009037; Wed, 12 Jul 2006 21:05:00 -0400 (EDT) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.6/8.13.6) with ESMTP id k6D14x6V078750; Wed, 12 Jul 2006 21:04:59 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Wed, 12 Jul 2006 21:04:59 -0400 (EDT) From: Wesley Morgan To: Eric Anderson In-Reply-To: <44B4EC7B.9020004@centtech.com> Message-ID: <20060712205940.J59349@volatile.chemikals.org> References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-683849342-1152752699=:59349" X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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: Thu, 13 Jul 2006 01:05:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-683849342-1152752699=:59349 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Wed, 12 Jul 2006, Eric Anderson wrote: > On 07/09/06 09:11, Wesley Morgan wrote: >> >> With a little help from the netbsd azalia driver (a wonderful piece of >> work, by the way) and the hda specs, I've been able to get Andrea's hdac >> code to work with my laptop. I believe the problem was that the codec and >> dac started out in some kind of low-power mode and needed to be woken up >> before they would work. >> >> Hopefully someone is still working on a proper driver, but for now, I can >> watch movies again! >> >> A diff against Andrea's work is attached. > > > I couldn't get this patch to work - all hunks fail. What am I doing wrong? Make sure your mailer didn't wrap long lines? It applies cleanly for me. I've attached a newer diff that makes the mixer work properly as well, but it's hard-coded to the correct widget for me so it might not work for everyone. [morganw@catalyst:~$]: tar zxf hdac.tgz [morganw@catalyst:~$]: cd hdac [morganw@catalyst:~/hdac$]: patch < ../sigma.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -urb hdac/hdac.c hdac-sigma/hdac.c |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 |+++ hdac-sigma/hdac.c Sun Jul 9 10:10:37 2006 -------------------------- Patching file hdac.c using Plan A... Hunk #1 succeeded at 247. Hunk #2 succeeded at 261. Hunk #3 succeeded at 787. Hunk #4 succeeded at 821. Hunk #5 succeeded at 894. Hunk #6 succeeded at 945. Hunk #7 succeeded at 974. Hunk #8 succeeded at 1270. Hmm... Ignoring the trailing garbage. done -- This .signature sanitized for your protection --0-683849342-1152752699=:59349 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=sigma.diff Content-Transfer-Encoding: BASE64 Content-ID: <20060712210459.L59349@volatile.chemikals.org> Content-Description: Content-Disposition: attachment; filename=sigma.diff ZGlmZiAtdXJiIGhkYWMvaGRhYy5jIGhkYWMtc2lnbWEvaGRhYy5jDQotLS0g aGRhYy9oZGFjLmMJTW9uIEp1biAgNSAxNToxNToxMiAyMDA2DQorKysgaGRh Yy1zaWdtYS9oZGFjLmMJV2VkIEp1bCAxMiAyMTowMjozMiAyMDA2DQpAQCAt MjQ3LDcgKzI0Nyw4IEBADQogCSAqIFJlc2V0IHRoZSBjb250cm9sbGVyLiBU aGUgcmVzZXQgbXVzdCByZW1haW4gYXNzZXJ0ZWQgZm9yDQogCSAqIGEgbWlu aW11bSBvZiAxMDB1cy4NCiAJICovDQotCUhEQUNfV1JJVEVfNCgmc2MtPm1l bSwgSERBQ19HQ1RMLCAweDApOw0KKwlnY3RsID0gSERBQ19SRUFEXzQoJnNj LT5tZW0sIEhEQUNfR0NUTCk7DQorCUhEQUNfV1JJVEVfNCgmc2MtPm1lbSwg SERBQ19HQ1RMLCBnY3RsICYgfiBIREFDX0dDVExfQ1JTVCk7DQogCWNvdW50 ID0gMTAwMDA7DQogCXdoaWxlIChjb3VudCkgew0KIAkJZ2N0bCA9IEhEQUNf UkVBRF80KCZzYy0+bWVtLCBIREFDX0dDVEwpOw0KQEAgLTI2MCwxMSArMjYx LDExIEBADQogCQlyZXR1cm4gKEVOWElPKTsNCiAJfQ0KIAlERUxBWSgxMDAp Ow0KLQlIREFDX1dSSVRFXzQoJnNjLT5tZW0sIEhEQUNfR0NUTCwgSERBQ19H Q1RMX0NSU1QpOw0KKwln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wgPSAobGVmdCo2 MykvMTAwOw0KIA0KLQlpZiAobGVmdCA9PSAxMDAgfHwgdm9sID4gbWF4KQ0K LQkJdm9sID0gbWF4Ow0KKwlsZWZ0X3ZvbCA9IChsZWZ0ICogbWF4KSAvIDEw MDsNCisJaWYgKChsZWZ0ID09IDEwMCkgfHwgKGxlZnRfdm9sID4gbWF4KSkN CisJCWxlZnRfdm9sID0gbWF4Ow0KIA0KLS8vCXByaW50ZigiVm9sID0gJWRc biIsIHZvbCk7DQotCWlmIChzYy0+bGFtZSkNCi0JCXNvcmJvX3NldF9hbXAo c2MsIDAsIDUsIHZvbCk7DQorCXJpZ2h0X3ZvbCA9IChyaWdodCAqIG1heCkg LyAxMDA7DQorCWlmICgocmlnaHQgPT0gMTAwKSB8fCAocmlnaHRfdm9sID4g bWF4KSkNCisJCXJpZ2h0X3ZvbCA9IG1heDsNCisNCisJaWYgKHNjLT5sYW1l KSB7DQorLyoJCWRldmljZV9wcmludGYoc2MtPmRldiwgInNldHRpbmcgdm9s dW1lIHRvICV4OiV4XG4iLCBsZWZ0X3ZvbCwgcmlnaHRfdm9sKTsgKi8NCisJ CXNvcmJvX3NldF9hbXAoc2MsIDAsIDExLCBsZWZ0X3ZvbCwgcmlnaHRfdm9s KTsNCisJfQ0KIAkNCi0Jdm9sID0gbGVmdCB8IChsZWZ0IDw8IDgpOw0KKwls ZWZ0X3ZvbCA9IGxlZnQgfCAocmlnaHQgPDwgOCk7DQogDQotCXJldHVybiB2 b2w7DQorCXJldHVybiBsZWZ0X3ZvbDsNCiB9DQogDQogc3RhdGljIGludA0K --0-683849342-1152752699=:59349-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 13 01:34:20 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1BFE16A4E0; Thu, 13 Jul 2006 01:34:20 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16F2243D55; Thu, 13 Jul 2006 01:34:19 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.24] (andersonbox4.centtech.com [192.168.42.24]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6D1YDV7080600; Wed, 12 Jul 2006 20:34:13 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B5A31B.2000603@centtech.com> Date: Wed, 12 Jul 2006 20:34:19 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Wesley Morgan References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> In-Reply-To: <20060712205940.J59349@volatile.chemikals.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1594/Wed Jul 12 10:04:34 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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: Thu, 13 Jul 2006 01:34:20 -0000 On 07/12/06 20:04, Wesley Morgan wrote: > On Wed, 12 Jul 2006, Eric Anderson wrote: > >> On 07/09/06 09:11, Wesley Morgan wrote: >>> >>> With a little help from the netbsd azalia driver (a wonderful piece >>> of work, by the way) and the hda specs, I've been able to get >>> Andrea's hdac code to work with my laptop. I believe the problem was >>> that the codec and dac started out in some kind of low-power mode and >>> needed to be woken up before they would work. >>> >>> Hopefully someone is still working on a proper driver, but for now, I >>> can watch movies again! >>> >>> A diff against Andrea's work is attached. >> >> >> I couldn't get this patch to work - all hunks fail. What am I doing >> wrong? > > Make sure your mailer didn't wrap long lines? It applies cleanly for me. > I've attached a newer diff that makes the mixer work properly as well, > but it's hard-coded to the correct widget for me so it might not work > for everyone. > > > [morganw@catalyst:~$]: tar zxf hdac.tgz > [morganw@catalyst:~$]: cd hdac > [morganw@catalyst:~/hdac$]: patch < ../sigma.diff > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |diff -urb hdac/hdac.c hdac-sigma/hdac.c > |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 > |+++ hdac-sigma/hdac.c Sun Jul 9 10:10:37 2006 > -------------------------- > Patching file hdac.c using Plan A... > Hunk #1 succeeded at 247. > Hunk #2 succeeded at 261. > Hunk #3 succeeded at 787. > Hunk #4 succeeded at 821. > Hunk #5 succeeded at 894. > Hunk #6 succeeded at 945. > Hunk #7 succeeded at 974. > Hunk #8 succeeded at 1270. > Hmm... Ignoring the trailing garbage. > done Well, it must be my hdac.tgz then, because the attached patch looks fine, but still fails poorly. Maybe a pointer to the hdac.tgz you used, and an md5 sum would do the trick.. Thanks for hassling with this. :) Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 13 01:46:32 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D156316A4DD; Thu, 13 Jul 2006 01:46:32 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from ms-smtp-04.southeast.rr.com (ms-smtp-04.southeast.rr.com [24.25.9.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37B9B43D45; Thu, 13 Jul 2006 01:46:32 +0000 (GMT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (cpe-024-211-118-154.sc.res.rr.com [24.211.118.154]) by ms-smtp-04.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k6D1kPik022724; Wed, 12 Jul 2006 21:46:26 -0400 (EDT) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.6/8.13.6) with ESMTP id k6D1kPbw079328; Wed, 12 Jul 2006 21:46:25 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Wed, 12 Jul 2006 21:46:25 -0400 (EDT) From: Wesley Morgan To: Eric Anderson In-Reply-To: <44B5A31B.2000603@centtech.com> Message-ID: <20060712214546.V79297@volatile.chemikals.org> References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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: Thu, 13 Jul 2006 01:46:32 -0000 On Wed, 12 Jul 2006, Eric Anderson wrote: > On 07/12/06 20:04, Wesley Morgan wrote: >> On Wed, 12 Jul 2006, Eric Anderson wrote: >> >>> On 07/09/06 09:11, Wesley Morgan wrote: >>>> >>>> With a little help from the netbsd azalia driver (a wonderful piece of >>>> work, by the way) and the hda specs, I've been able to get Andrea's hdac >>>> code to work with my laptop. I believe the problem was that the codec and >>>> dac started out in some kind of low-power mode and needed to be woken up >>>> before they would work. >>>> >>>> Hopefully someone is still working on a proper driver, but for now, I can >>>> watch movies again! >>>> >>>> A diff against Andrea's work is attached. >>> >>> >>> I couldn't get this patch to work - all hunks fail. What am I doing >>> wrong? >> >> Make sure your mailer didn't wrap long lines? It applies cleanly for me. >> I've attached a newer diff that makes the mixer work properly as well, but >> it's hard-coded to the correct widget for me so it might not work for >> everyone. > > Well, it must be my hdac.tgz then, because the attached patch looks fine, but > still fails poorly. Maybe a pointer to the hdac.tgz you used, and an md5 sum > would do the trick.. The original hdac.tgz posted by Andrea, I believe can be found at: http://darkircop.org/hdac.tgz -- This .signature sanitized for your protection From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 13 03:34:07 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12A3916A4DD; Thu, 13 Jul 2006 03:34:07 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DB4E43D49; Thu, 13 Jul 2006 03:34:06 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.24] (andersonbox4.centtech.com [192.168.42.24]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k6D3Xxm0084151; Wed, 12 Jul 2006 22:34:00 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B5BF2D.2080206@centtech.com> Date: Wed, 12 Jul 2006 22:34:05 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Wesley Morgan References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> <20060712214546.V79297@volatile.chemikals.org> In-Reply-To: <20060712214546.V79297@volatile.chemikals.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1594/Wed Jul 12 10:04:34 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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: Thu, 13 Jul 2006 03:34:07 -0000 On 07/12/06 20:46, Wesley Morgan wrote: > On Wed, 12 Jul 2006, Eric Anderson wrote: > >> On 07/12/06 20:04, Wesley Morgan wrote: >>> On Wed, 12 Jul 2006, Eric Anderson wrote: >>> >>>> On 07/09/06 09:11, Wesley Morgan wrote: >>>>> >>>>> With a little help from the netbsd azalia driver (a wonderful piece >>>>> of work, by the way) and the hda specs, I've been able to get >>>>> Andrea's hdac code to work with my laptop. I believe the problem >>>>> was that the codec and dac started out in some kind of low-power >>>>> mode and needed to be woken up before they would work. >>>>> >>>>> Hopefully someone is still working on a proper driver, but for now, >>>>> I can watch movies again! >>>>> >>>>> A diff against Andrea's work is attached. >>>> >>>> >>>> I couldn't get this patch to work - all hunks fail. What am I doing >>>> wrong? >>> >>> Make sure your mailer didn't wrap long lines? It applies cleanly for >>> me. I've attached a newer diff that makes the mixer work properly as >>> well, but it's hard-coded to the correct widget for me so it might >>> not work for everyone. >> >> Well, it must be my hdac.tgz then, because the attached patch looks >> fine, but still fails poorly. Maybe a pointer to the hdac.tgz you >> used, and an md5 sum would do the trick.. > > The original hdac.tgz posted by Andrea, I believe can be found at: > > http://darkircop.org/hdac.tgz > > [root@neutrino /tmp/freebsd]# fetch http://darkircop.org/hdac.tgz hdac.tgz 100% of 122 kB 151 kBps [root@neutrino /tmp/freebsd]# tar xvzf hdac.tgz x hdac x hdac/hdac.c x hdac/hdac_reg.h x hdac/hdac.h x hdac/hda_reg.h x hdac/hdac_private.h x hdac/Makefile x hdac/hdac.z~ x hdac/calc.core x hdac/hdac.y~ x hdac/hdac.c~ x hdac/hdac.c.bak x hdac/.hda_reg.h.swp [root@neutrino /tmp/freebsd]# cd hdac [root@neutrino /tmp/freebsd/hdac]# patch < ../hdac.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -urb hdac/hdac.c hdac-sigma/hdac.c |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 |+++ hdac-sigma/hdac.c Wed Jul 12 21:02:32 2006 -------------------------- Patching file hdac.c using Plan A... Hunk #1 failed at 247. Hunk #2 failed at 261. Hunk #3 succeeded at 1879 with fuzz 2 (offset 1605 lines). Hunk #4 failed at 2396. Hunk #5 failed at 2430. Hunk #6 failed at 2472. Hunk #7 failed at 2517. Hunk #8 failed at 2568. Hunk #9 failed at 2597. Hunk #10 failed at 2893. Hunk #11 failed at 3233. 10 out of 11 hunks failed--saving rejects to hdac.c.rej done [root@neutrino /tmp/freebsd/hdac]# Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 13 10:05:39 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0A7616A4DD; Thu, 13 Jul 2006 10:05:39 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B3A543D4C; Thu, 13 Jul 2006 10:05:38 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1]) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G0y4X-0007sG-Vm; Thu, 13 Jul 2006 14:05:30 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G0y4a-00064q-2c; Thu, 13 Jul 2006 14:05:32 +0400 To: Eric Anderson References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> <20060712214546.V79297@volatile.chemikals.org> <44B5BF2D.2080206@centtech.com> From: Boris Samorodov Date: Thu, 13 Jul 2006 14:05:32 +0400 In-Reply-To: <44B5BF2D.2080206@centtech.com> (Eric Anderson's message of "Wed, 12 Jul 2006 22:34:05 -0500") Message-ID: <49051139@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-multimedia@freebsd.org, freebsd-mobile@freebsd.org, Andrea Bittau Subject: Re: HDA sound driver mod for sigmatel 92xx 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: Thu, 13 Jul 2006 10:05:40 -0000 On Wed, 12 Jul 2006 22:34:05 -0500 Eric Anderson wrote: > On 07/12/06 20:46, Wesley Morgan wrote: > > On Wed, 12 Jul 2006, Eric Anderson wrote: > > > >> On 07/12/06 20:04, Wesley Morgan wrote: > >>> On Wed, 12 Jul 2006, Eric Anderson wrote: > >>> > >>>> On 07/09/06 09:11, Wesley Morgan wrote: > >>>>> > >>>>> With a little help from the netbsd azalia driver (a wonderful > >>>>> piece of work, by the way) and the hda specs, I've been able to > >>>>> get Andrea's hdac code to work with my laptop. I believe the > >>>>> problem was that the codec and dac started out in some kind of > >>>>> low-power mode and needed to be woken up before they would work. > >>>>> > >>>>> Hopefully someone is still working on a proper driver, but for > >>>>> now, I can watch movies again! > >>>>> > >>>>> A diff against Andrea's work is attached. > >>>> > >>>> > >>>> I couldn't get this patch to work - all hunks fail. What am I > >>>> doing wrong? > >>> > >>> Make sure your mailer didn't wrap long lines? It applies cleanly > >>> for me. I've attached a newer diff that makes the mixer work > >>> properly as well, but it's hard-coded to the correct widget for me > >>> so it might not work for everyone. > >> > >> Well, it must be my hdac.tgz then, because the attached patch looks > >> fine, but still fails poorly. Maybe a pointer to the hdac.tgz you > >> used, and an md5 sum would do the trick.. > > > > The original hdac.tgz posted by Andrea, I believe can be found at: > > > > http://darkircop.org/hdac.tgz > > > > > [root@neutrino /tmp/freebsd]# fetch http://darkircop.org/hdac.tgz > hdac.tgz 100% of 122 kB 151 kBps > [root@neutrino /tmp/freebsd]# tar xvzf hdac.tgz > x hdac > x hdac/hdac.c > x hdac/hdac_reg.h > x hdac/hdac.h > x hdac/hda_reg.h > x hdac/hdac_private.h > x hdac/Makefile > x hdac/hdac.z~ > x hdac/calc.core > x hdac/hdac.y~ > x hdac/hdac.c~ > x hdac/hdac.c.bak > x hdac/.hda_reg.h.swp > [root@neutrino /tmp/freebsd]# cd hdac > [root@neutrino /tmp/freebsd/hdac]# patch < ../hdac.diff > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |diff -urb hdac/hdac.c hdac-sigma/hdac.c > |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 > |+++ hdac-sigma/hdac.c Wed Jul 12 21:02:32 2006 > -------------------------- > Patching file hdac.c using Plan A... > Hunk #1 failed at 247. > Hunk #2 failed at 261. > Hunk #3 succeeded at 1879 with fuzz 2 (offset 1605 lines). > Hunk #4 failed at 2396. > Hunk #5 failed at 2430. > Hunk #6 failed at 2472. > Hunk #7 failed at 2517. > Hunk #8 failed at 2568. > Hunk #9 failed at 2597. > Hunk #10 failed at 2893. > Hunk #11 failed at 3233. > 10 out of 11 hunks failed--saving rejects to hdac.c.rej > done > [root@neutrino /tmp/freebsd/hdac]# Just in case: make sure you don't have CRLFs at line endings of your patch. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 13 12:39:36 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3059A16A4DA; Thu, 13 Jul 2006 12:39:36 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B4B943D64; Thu, 13 Jul 2006 12:39:18 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k6DCdCZR070243; Thu, 13 Jul 2006 07:39:12 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B63EF6.2070901@centtech.com> Date: Thu, 13 Jul 2006 07:39:18 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Boris Samorodov References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> <20060712214546.V79297@volatile.chemikals.org> <44B5BF2D.2080206@centtech.com> <49051139@srv.sem.ipt.ru> In-Reply-To: <49051139@srv.sem.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1598/Thu Jul 13 06:38:16 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org, freebsd-mobile@freebsd.org, Andrea Bittau Subject: Re: HDA sound driver mod for sigmatel 92xx 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: Thu, 13 Jul 2006 12:39:36 -0000 On 07/13/06 05:05, Boris Samorodov wrote: > On Wed, 12 Jul 2006 22:34:05 -0500 Eric Anderson wrote: > >> On 07/12/06 20:46, Wesley Morgan wrote: >>> On Wed, 12 Jul 2006, Eric Anderson wrote: >>> >>>> On 07/12/06 20:04, Wesley Morgan wrote: >>>>> On Wed, 12 Jul 2006, Eric Anderson wrote: >>>>> >>>>>> On 07/09/06 09:11, Wesley Morgan wrote: >>>>>>> With a little help from the netbsd azalia driver (a wonderful >>>>>>> piece of work, by the way) and the hda specs, I've been able to >>>>>>> get Andrea's hdac code to work with my laptop. I believe the >>>>>>> problem was that the codec and dac started out in some kind of >>>>>>> low-power mode and needed to be woken up before they would work. >>>>>>> >>>>>>> Hopefully someone is still working on a proper driver, but for >>>>>>> now, I can watch movies again! >>>>>>> >>>>>>> A diff against Andrea's work is attached. >>>>>> >>>>>> I couldn't get this patch to work - all hunks fail. What am I >>>>>> doing wrong? >>>>> Make sure your mailer didn't wrap long lines? It applies cleanly >>>>> for me. I've attached a newer diff that makes the mixer work >>>>> properly as well, but it's hard-coded to the correct widget for me >>>>> so it might not work for everyone. >>>> Well, it must be my hdac.tgz then, because the attached patch looks >>>> fine, but still fails poorly. Maybe a pointer to the hdac.tgz you >>>> used, and an md5 sum would do the trick.. >>> The original hdac.tgz posted by Andrea, I believe can be found at: >>> >>> http://darkircop.org/hdac.tgz >>> >>> > >> [root@neutrino /tmp/freebsd]# fetch http://darkircop.org/hdac.tgz >> hdac.tgz 100% of 122 kB 151 kBps >> [root@neutrino /tmp/freebsd]# tar xvzf hdac.tgz >> x hdac >> x hdac/hdac.c >> x hdac/hdac_reg.h >> x hdac/hdac.h >> x hdac/hda_reg.h >> x hdac/hdac_private.h >> x hdac/Makefile >> x hdac/hdac.z~ >> x hdac/calc.core >> x hdac/hdac.y~ >> x hdac/hdac.c~ >> x hdac/hdac.c.bak >> x hdac/.hda_reg.h.swp >> [root@neutrino /tmp/freebsd]# cd hdac >> [root@neutrino /tmp/freebsd/hdac]# patch < ../hdac.diff >> Hmm... Looks like a unified diff to me... >> The text leading up to this was: >> -------------------------- >> |diff -urb hdac/hdac.c hdac-sigma/hdac.c >> |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 >> |+++ hdac-sigma/hdac.c Wed Jul 12 21:02:32 2006 >> -------------------------- >> Patching file hdac.c using Plan A... >> Hunk #1 failed at 247. >> Hunk #2 failed at 261. >> Hunk #3 succeeded at 1879 with fuzz 2 (offset 1605 lines). >> Hunk #4 failed at 2396. >> Hunk #5 failed at 2430. >> Hunk #6 failed at 2472. >> Hunk #7 failed at 2517. >> Hunk #8 failed at 2568. >> Hunk #9 failed at 2597. >> Hunk #10 failed at 2893. >> Hunk #11 failed at 3233. >> 10 out of 11 hunks failed--saving rejects to hdac.c.rej >> done >> [root@neutrino /tmp/freebsd/hdac]# > > Just in case: make sure you don't have CRLFs at line endings of your > patch. > > > WBR *sigh* - that was it. How's they get introduced? My mailer didn't do it (I just checked). Must have been on the sending side? Painful. Only one hunk failed that way: [root@neutrino /tmp/freebsd]# tar xvzf hdac.tgz x hdac x hdac/hdac.c x hdac/hdac_reg.h x hdac/hdac.h x hdac/hda_reg.h x hdac/hdac_private.h x hdac/Makefile x hdac/hdac.z~ x hdac/calc.core x hdac/hdac.y~ x hdac/hdac.c~ x hdac/hdac.c.bak x hdac/.hda_reg.h.swp [root@neutrino /tmp/freebsd]# cd hdac [root@neutrino /tmp/freebsd/hdac]# patch <../hdac-sigma2.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -urb hdac/hdac.c hdac-sigma/hdac.c |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 |+++ hdac-sigma/hdac.c Wed Jul 12 21:02:32 2006 -------------------------- Patching file hdac.c using Plan A... Hunk #1 succeeded at 247. Hunk #2 succeeded at 261. Hunk #3 succeeded at 274. Hunk #4 failed at 791. Hunk #5 succeeded at 825. Hunk #6 succeeded at 867. Hunk #7 succeeded at 912. Hunk #8 succeeded at 963. Hunk #9 succeeded at 992. Hunk #10 succeeded at 1288. Hunk #11 succeeded at 1628. 1 out of 11 hunks failed--saving rejects to hdac.c.rej done [root@neutrino /tmp/freebsd/hdac]# cat hdac.c.rej *************** *** 786,791 **** devinfo->stepping_id = HDA_PARAM_REVISION_ID_STEPPING_ID(revisionid); devinfo->node_type = HDA_PARAM_FCT_GRP_TYPE_NODE_TYPE(fctgrptype); hdac_add_child(sc, devinfo); } --- 791,800 ---- devinfo->stepping_id = HDA_PARAM_REVISION_ID_STEPPING_ID(revisionid); devinfo->node_type = HDA_PARAM_FCT_GRP_TYPE_NODE_TYPE(fctgrptype); + + device_printf(sc->dev, "Vendor info: %x %x %x %x %x %x\n", vendorid, devinfo->vendor_id, devinfo->device_id, + devinfo->revision_id, devinfo->stepping_id, devinfo->node_type); + hdac_add_child(sc, devinfo); } After manually applying the patch, it builds, and makes my sound work fine!!!!!! Woohoo!! Thanks to those who made this work! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 13 14:41:30 2006 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A73CB16A4DD for ; Thu, 13 Jul 2006 14:41:30 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10E5143D55 for ; Thu, 13 Jul 2006 14:41:27 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 13 Jul 2006 10:41:30 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id LVS61799; Thu, 13 Jul 2006 10:41:22 -0400 (EDT) Received: from 209-6-203-170.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.203.170]) by smtp01.lnh.mail.rcn.net with ESMTP; 13 Jul 2006 10:41:22 -0400 X-IronPort-AV: i="4.06,238,1149480000"; d="scan'208"; a="237974232:sNHT22893988" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17590.23209.913065.744085@jerusalem.litteratus.org> Date: Thu, 13 Jul 2006 10:37:29 -0400 To: multimedia@freebsd.org X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Status: score=10/300, host=mr02.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090208.44B6593B.0042,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.4/2006-05-04 Cc: Subject: libcaca build broken 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: Thu, 13 Jul 2006 14:41:30 -0000 I'm trying to upgrade mplayer, which leads to this: => MD5 Checksum OK for MPlayer-1.0pre8.tar.bz2. => SHA256 Checksum OK for MPlayer-1.0pre8.tar.bz2. ===> Patching for mplayer-gtk2-esound-0.99.8 ===> Applying FreeBSD patches for mplayer-gtk2-esound-0.99.8 ===> mplayer-gtk2-esound-0.99.8 depends on file: /usr/local/modules/rtc.ko - found ===> mplayer-gtk2-esound-0.99.8 depends on file: /usr/local/lib/libcaca.a - not found ===> Verifying install for /usr/local/lib/libcaca.a in /usr/ports/graphics/libcaca ===> Vulnerability check disabled, database not found => libcaca-0.9.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: transfer timed out fetch: libcaca-0.9.tar.gz appears to be truncated: 0/215622 bytes => Attempting to fetch from http://sam.zoy.org/projects/libcaca/. fetch: http://sam.zoy.org/projects/libcaca/libcaca-0.9.tar.gz: Moved Permanently => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Manual fetch does not work - the file arrives, but portupgrade reports a checksum mismatch. Has anyone else out there seem this? Robert Huff From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 13 16:47:08 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B94216A4DA; Thu, 13 Jul 2006 16:47:08 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6272143D45; Thu, 13 Jul 2006 16:47:07 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6DGl0ck023705; Thu, 13 Jul 2006 12:47:01 -0400 (EDT) Date: Thu, 13 Jul 2006 12:47:00 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Wesley Morgan In-Reply-To: <20060712214546.V79297@volatile.chemikals.org> Message-ID: References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> <20060712214546.V79297@volatile.chemikals.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-multimedia@freebsd.org, Eric Anderson , Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 16:47:08 -0000 On Wed, 12 Jul 2006, Wesley Morgan wrote: > > The original hdac.tgz posted by Andrea, I believe can be found at: > > http://darkircop.org/hdac.tgz This plus the patch from the previous thread seemed to work for me on my Dell Inspiron 1405. I only had time to cat a small audio file. But I do get mtx lock warnings when booting and rc tries to set the mixer. It seems that pcm/mixer.c holds one of its locks (see mixer_set(), around line 148), then somehow calls into the driver in hdac_command_send_internal() around line 1401 where it does an msleep(). You're not suppose to sleep while holding mutex (pcm/mixer's mtx is held at this point). I've placed the original driver with the patches applied at: http://people.freebsd.org/~deischen/hdac.tgz -- DE From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 14 12:09:18 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F17DC16A4DF; Fri, 14 Jul 2006 12:09:18 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF88043D72; Fri, 14 Jul 2006 12:09:15 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6EC9ElK024655; Fri, 14 Jul 2006 08:09:14 -0400 (EDT) Date: Fri, 14 Jul 2006 08:09:14 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Valeriy Klimentiev In-Reply-To: <200607141638.34893.tigos2@mail.ru> Message-ID: References: <200607141638.34893.tigos2@mail.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-multimedia@freebsd.org Subject: Re: sound not work on Intel D945GNTL X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 12:09:19 -0000 Followups to multimedia@... On Fri, 14 Jul 2006, Valeriy Klimentiev wrote: > Hi. > > I've Intel D945GNTL S775 mb. Driver snd_ich not work. > I try Ariff's patch, but no effect. > > kernel: > device sound > device snd_ich > > uname -a: > FreeBSD papa.home 7.0-CURRENT FreeBSD 7.0-CURRENT #4: Tue Jul 11 18:23:38 > VLAST 2006 root@papa.home:/usr/obj/usr/src/sys/Neko i386 > > dmesg: pci0: at device 27.0 (no driver attached) > > pciconf -vl: > none0@pci0:27:0: class=0x040300 card=0x02028086 chip=0x27d88086 > rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) High Definition Audio' > class = multimedia > > FreeBSD will maintain this hardware? What me to do now? Try http://people.freebsd.org/~deischen/hdac.tgz # tar -xzf hdac.tgz # cd hdac # make # kldload ./hdac.ko You may have to reboot to a kernel without Ariff's patch. Disclaimer: The hdac module is not my code; I've just combined some recent patches floating around on multimedia@. If you have any problems, search the multimedia archives and post followups there. -- DE From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 15 20:49:45 2006 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 002ED16A4E2; Sat, 15 Jul 2006 20:49:44 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F4ED43D49; Sat, 15 Jul 2006 20:49:43 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5CD99.dip.t-dialin.net [84.165.205.153]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k6FKddY5030970; Sat, 15 Jul 2006 22:39:40 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k6FKnidF022562; Sat, 15 Jul 2006 22:49:44 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sat, 15 Jul 2006 22:50:58 +0200 From: Alexander Leidinger To: multimedia@freebsd.org Message-ID: <20060715225058.5ff3a750@Magellan.Leidinger.net> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: current@freebsd.org Subject: HEADS-UP: snd_emu10kx driver imported 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, 15 Jul 2006 20:49:45 -0000 Hi, I just imported the emu10kx driver which is available since a while in ports. When loading the catch-all sound module is loaded, it will use the emu10kx driver instead of the emu10k1 driver now. The old module is still available in case the emu10kx driver doesn't work (we want to hear about such cases). Currently both drivers return the same priority when probing. When all sound devices are compiled into the kernel, the kernel will chose one of the drivers. You will notice which one (I don't know)... At some point in time the emu10k1 driver will vanish. Bye, Alexander. -- NERVE GAS IS NOT A TOY NERVE GAS IS NOT A TOY NERVE GAS IS NOT A TOY NERVE GAS IS NOT A TOY Bart Simpson on chalkboard in episode 2F32 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137