From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 2 12:34:29 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 69E1A16A401; Sun, 2 Apr 2006 12:34:29 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2789843D4C; Sun, 2 Apr 2006 12:34:29 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (ariff@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k32CYSUM022318; Sun, 2 Apr 2006 12:34:28 GMT (envelope-from ariff@freefall.freebsd.org) Received: (from ariff@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k32CYSXx022314; Sun, 2 Apr 2006 12:34:28 GMT (envelope-from ariff) Date: Sun, 2 Apr 2006 12:34:28 GMT From: Ariff Abdullah Message-Id: <200604021234.k32CYSXx022314@freefall.freebsd.org> To: ariff@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: i386/93986: Acer TravelMate 4652LMi pcm0 channel dead 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, 02 Apr 2006 12:34:29 -0000 Synopsis: Acer TravelMate 4652LMi pcm0 channel dead Responsible-Changed-From-To: freebsd-i386->freebsd-multimedia Responsible-Changed-By: ariff Responsible-Changed-When: Sun Apr 2 12:33:40 UTC 2006 Responsible-Changed-Why: Reassign to appropriate mailing list. http://www.freebsd.org/cgi/query-pr.cgi?pr=93986 From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 2 19:21:43 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 6FA5416A424 for ; Sun, 2 Apr 2006 19:21:43 +0000 (UTC) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from t-mta7.odn.ne.jp (mfep7.odn.ne.jp [143.90.131.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1795643D53 for ; Sun, 2 Apr 2006 19:21:39 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost ([211.121.97.246]) by t-mta7.odn.ne.jp with ESMTP id <20060402192138587.WRIV.3449.t-mta7.odn.ne.jp@mta7.odn.ne.jp>; Mon, 3 Apr 2006 04:21:38 +0900 Date: Mon, 03 Apr 2006 04:21:38 +0900 (JST) Message-Id: <20060403.042138.343184813.kazuhito@ph.noda.tus.ac.jp> To: baris@pbsistem.com From: Kazuhito HONDA In-Reply-To: Your message of "Wed, 29 Mar 2006 16:22:07 -0600 (CST)". <49504.127.0.0.1.1143670927.squirrel@www.pbsistem.com> X-Mailer: Mew version 3.3 on XEmacs 21.4.18 (Social Property) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org Subject: Re: SB Digital Music FreeBSD Driver 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, 02 Apr 2006 19:21:43 -0000 hello, I use SB digital music, not LX. But there may be little difference. In article <49504.127.0.0.1.1143670927.squirrel@www.pbsistem.com> baris@pbsistem.com writes: >> =========================================== >> mixer -f /dev/mixer1 gave me: >> >> Mixer pcm is currently set to 75:75 >> Mixer speaker is currently set to 75:75 >> Mixer line is currently set to 75:75 >> Mixer mic is currently set to 0:0 >> >> ============================================= Is there a sentence "Recording source:???" after it? Or please run the command `mixer -f /dev/mixer1 recsrc'. In general, "???" is "mic". You must change it to "line". mixer -f /dev/mixer1 =rec line This command change the recording source to "line" If you want to know all available recoding sources, this command will tell you them: mixer -f /dev/mixer1 (non-sence words) `mixer' command will say error message, but "rec devices: ...." sentence in this error message will tell us available device. In the case of my SB digital music, they are "mic", "line", and "pcm2". They are microphone, line in, and optical in, respectively. By the way, in the case of my SB digital music, I could record sound from line in without any problem. Though I used FreeBSD-current and `rawrec' command, there is little difference between rawrec and sox. dmesg: uaudio0: on uhub1 uaudio0: audio rev 1.00 pcm0: on uaudio0 ============================================================== # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at ? kld snd_uaudio (1p/1r/0v channels duplex default) mode 1:(output) 2ch, 16/16bit, pcm, 48000Hz mode 1:(input) 2ch, 16/16bit, pcm, 48000,44100Hz ============================================================== # mixer -f /dev/mixer0 Mixer pcm is currently set to 20:20 Mixer speaker is currently set to 44:44 Mixer line is currently set to 62:62 Mixer mic is currently set to 0:0 Recording source: line There isn't big difference between my SBDM and your SBDM LX without the last sentence. So I want to know the output from "mixer -f /dev/mixer1 recsrc". I guess three candidates of cause. The first is that recording source selection can't be work well. The second is that there is unknown mute knob of line in. Indeed, SBDM has 5 or 6 mute knobs. But FreeBSD can't treat so many mute knobs, so FreeBSD use the mutes with default setting. Perhaps, the mute of line in may be off for SBDM, and may be on for SBDM LX. The last is that the problem comes from some reason which we can't recognize, for example, line in was broken. In the case of second and the last candidate, it is difficult to check and resolve this problem. Someone, who know uaudio coding well, must get SBDM LX and fix the uaudio.c. Before it, we should research the first candidate. So please tell me results from 'mixer -f /dev/mixer1 recsrc' and 'mixer -f /dev/mixer1 hogehoge'. Sincerely yours, Kazuhito HONDA From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 05:11:14 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 C59EE16A400 for ; Mon, 3 Apr 2006 05:11:14 +0000 (UTC) (envelope-from sepotvin@videotron.ca) Received: from tomts29-srv.bellnexxia.net (tomts29.bellnexxia.net [209.226.175.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6A5443D45 for ; Mon, 3 Apr 2006 05:11:13 +0000 (GMT) (envelope-from sepotvin@videotron.ca) Received: from mail.telcobridges.com ([67.70.237.76]) by tomts29-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060403051112.NVWJ24441.tomts29-srv.bellnexxia.net@mail.telcobridges.com> for ; Mon, 3 Apr 2006 01:11:12 -0400 Received: from [192.168.0.104] (modemcable237.137-80-70.mc.videotron.ca [70.80.137.237]) (authenticated bits=0) by mail.telcobridges.com (8.13.3/8.13.3) with ESMTP id k335BAX0022876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 3 Apr 2006 01:11:11 -0400 (EDT) (envelope-from sepotvin@videotron.ca) Message-ID: <4430AE68.6000301@videotron.ca> Date: Mon, 03 Apr 2006 01:11:04 -0400 From: "Stephane E. Potvin" User-Agent: Thunderbird 1.5 (X11/20060331) MIME-Version: 1.0 To: freebsd-multimedia@FreeBSD.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: High Definition Audio driver 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, 03 Apr 2006 05:11:14 -0000 A few weeks ago I upgraded my laptop only to discover that the sound system on it was unsupported by FreeBSD, being an High Definition Audio controller / codec. I started at that time to write a driver specific to FreeBSD. Given that it seems that I'm not the only one stuck with this problem, I decided after some gentle prodding by Alexander to share what I'm trying to achieve. I first had a look at the NetBSD driver but soon decided not to start from it. They chose to use a monolithic driver that controls both the HDA controller and the audio codec. The HDA architecture calls for a single HDA controller to have many codecs connected via a shared bus. Each codec can have multiple functions. These functions could be Audio, Modems, etc. So I decided to take another approach for the driver I'm writing. I've decided to split it into a driver for the HDA controller itself, one for the HDA bus and one (or many) for the actual functions. The bus driver will be used to enumerate the different functions that are on the different codecs to find matching drivers. This will enable us, in the long run, to be able to support other drivers than Audio ones (like modems). It will also enable to have more than one Audio function active on a single controller (in the case of an external codec in a docking station for example). It will also enable the support of different controllers on other architectures in case this standard catches up without having to rewrite the audio functions. Here are the major steps that I currently plan to do for this driver. They are not in any relevant order: - Implement the CORB and RIRB engines to send verbs and receive responses from the codecs (mostly done). - Implement a bus driver (hda) that will enumerate the functions on the codecs and try to attach matching drivers. I'm not sure yet if I'll use the bus_space subsystem to handle reading and writing the function registers (via the CORB/RIRB). If anyone has any thoughts about that I'll be glad to hear about them. (started but progressing slowly) - Add support for the Stream Resources on the HDA controller. These are the DMA engines that transfer the actual audio data to and from the codecs to physical memory. - Write the actual audio driver to control the audio function. This will be the driver that will actually attach to the pcm subsystem. - Add unsolicited response support to handle asynchronous events from the functions. This will enable, for example, to send a devd events (or via any other mechanism required) to userspace applications to indicate that a jack was inserted or removed. - Add hot insertion/removal of codecs to handle the case where a docking station that sports a codec is added. - Support for low power states on the HDA controller and on the codecs. - Suspend / Resume support for laptop. I guess that I'll somewhat need to fix basic suspend/resume on my laptop before I can tackle that :( - Any other things I might need to add along the way...( Now, the bad news. I'm working on this when I have the time but it's usually not nearly enough as I would like it to be. I'll get there someday unless somebody else beat me to it. If anybody would like this to go faster, I'll be very happy to get any help that I might get. In case it might be of interest to anybody, there's a version of the driver (about 2 weeks ago) available at: (Thanks again Alexander) http://www.leidinger.net/FreeBSD/hdac-20060313.tbz Usual disclaimers, use this at your own risk. It may eat your computer, make your cats sick, yaya. Some parts were added in a hurry just to make this work (the interrupt handler for example), so they are kind of really ugly. I plan to refine them with time. I'm currently working on the bus driver itself. Once I get it working to my liking, I'll update the driver and post a message here.. I would appreciate any feedback I can get about my plans, what I have done so far, etc. Please don't hesitate to drop me an email in that case. Regards, Steph From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 10:45:35 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 6BA1116A401 for ; Mon, 3 Apr 2006 10:45:35 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (avh47.neoplus.adsl.tpnet.pl [83.27.41.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id C364C43D49 for ; Mon, 3 Apr 2006 10:45:33 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.4/8.13.4) with ESMTP id k33AjVEV032474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 3 Apr 2006 12:45:31 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <4430FCCC.2070806@orchid.homeunix.org> Date: Mon, 03 Apr 2006 12:45:32 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6B01CD58B2CB27D306C93CAB" X-Virus-Scanned: ClamAV 0.88/1368/Mon Apr 3 06:06:54 2006 on orchid.homeunix.org X-Virus-Status: Clean Subject: Does ariff's sound patch still work with 6.0-RELEASE? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 10:45:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6B01CD58B2CB27D306C93CAB Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Hi all, Did anyone successfully compile kernel on 6.0-RELEASE with ariff's sound patch recently? File in question: snd_RELENG_6_0_20060227_098.diff from http://people.freebsd.org/~ariff/ I'm trying to help another user (remotely) to get his VIA 8233 work with Skype on 6.0-RELEASE. However, he is unable to compile patched kernel (more information below). We tried few times, last step was: remove /usr/src/*, cvsup to RELENG_6_0, patch, make buildkernel (custom).= I'm asking here (I don't have 6.0-RELEASE myself) because I tried to look at source files given by error message[1] and at a diff itself and noticed: - diff for RELENG_6_0 updates feeder_rate.c v 1.11 to 1.17 - adds into feeder_rate.c: +#define RATE_FACTOR_MAX PCM_S24_MAX - I can't find any definition of PCM_S24_MAX in feeder_rate.c nor sound.h(v 1.63) - in fact feeder_rate.c v 1.17 from cvs/web[2] doesn't include the line "#define RATE_FACTOR_MAX PCM_S24_MAX" Am I missing something (yes, I'm lost at this stage) or is snd_RELENG_6_0_20060227_098.diff broken? Thank you in advance, Karol [1] [...] /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:342= : error: (near initialization for `convtbl[26].bps') /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:342= : error: initializer element is not constant /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:342= : error: (near initialization for `convtbl[26]') /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:343= : error: initializer element is not constant /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:343= : error: (near initialization for `convtbl[27].bps') /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:343= : error: initializer element is not constant /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:343= : error: (near initialization for `convtbl[27]') /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:344= : error: initializer element is not constant /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:344= : error: (near initialization for `convtbl[28]') /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:354= : error: `PCM_S24_MAX' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/sys/modules/sound/sound. *** Error code 1 [2] http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/sound/pcm/fe= eder_rate.c?rev=3D1.17&content-type=3Dtext/plain --=20 Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc --------------enig6B01CD58B2CB27D306C93CAB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMPzMezeoPAwGIYsRAjSpAJ9yz6wjLRwmPtgUaj6Jpp7H9jxXIwCcCPQD B+wjLPncwjczZ5/t9ovfICw= =1MFr -----END PGP SIGNATURE----- --------------enig6B01CD58B2CB27D306C93CAB-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 10:46: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 DD0F316A41F for ; Mon, 3 Apr 2006 10:46:03 +0000 (UTC) (envelope-from harikurniawan@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C72D43D58 for ; Mon, 3 Apr 2006 10:46:03 +0000 (GMT) (envelope-from harikurniawan@gmail.com) Received: by wproxy.gmail.com with SMTP id 36so1197611wra for ; Mon, 03 Apr 2006 03:46:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ifQJaUl75n5VeYMWXIaQMVT1FJcx8CZ6kPfNRzx7v0fBftdSwWV8amY9QPFvS93gM1iPKS1u2QoABi7jjrcegJp5cE2tMmXf353tjJdbFB327GKQArSxuNQveo1KRqWyYNKCWaSbsZQN1w833uFtIYcxeqGFQVVSHCuiPfeKRsw= Received: by 10.65.210.17 with SMTP id m17mr1279132qbq; Mon, 03 Apr 2006 03:46:02 -0700 (PDT) Received: by 10.64.201.6 with HTTP; Mon, 3 Apr 2006 03:46:02 -0700 (PDT) Message-ID: <4c40c4e70604030346g3305dc9bo580413026c33e148@mail.gmail.com> Date: Mon, 3 Apr 2006 17:46:02 +0700 From: "Angka H. K." To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: My snd_ich working well 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, 03 Apr 2006 10:46:03 -0000 I just glad that my snd_ich is now working well on default source, it's great, many thanks (may be to Ariff Abdullah). I have a question though :) What "#if 0" mean in the snd_ich.c file. I think it will always produce false result ("0 =3D false"), is it correct or wrong ? I have other problem now , which is saying "acpi: bad read to port 0x073" and "acpi: bad write to port 0x073(8) val 82", where can ask about this ? I= t looks like google has no archive about this error. Regards From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 11:02:58 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 26E9316A429 for ; Mon, 3 Apr 2006 11:02:58 +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 4BB2743D45 for ; Mon, 3 Apr 2006 11:02:57 +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 k33B2vvi005961 for ; Mon, 3 Apr 2006 11:02:57 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k33B2tF1005937 for freebsd-multimedia@freebsd.org; Mon, 3 Apr 2006 11:02:55 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 3 Apr 2006 11:02:55 GMT Message-Id: <200604031102.k33B2tF1005937@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, 03 Apr 2006 11:02:58 -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 8 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 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 p [2006/03/12] kern/94388 multimedia [sound] [patch] AD1815 based ISA soundcar o [2006/03/29] kern/95086 multimedia [sound] uaudio line in problem with sbdm 20 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 11:07: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 BB09A16A422 for ; Mon, 3 Apr 2006 11:07:07 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (avl30.neoplus.adsl.tpnet.pl [83.27.45.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EFC043D5C for ; Mon, 3 Apr 2006 11:07:04 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.4/8.13.4) with ESMTP id k33B6PMk001279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 3 Apr 2006 13:06:26 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <443101D6.1050008@orchid.homeunix.org> Date: Mon, 03 Apr 2006 13:07:02 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <4430FCCC.2070806@orchid.homeunix.org> In-Reply-To: <4430FCCC.2070806@orchid.homeunix.org> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCC5777EEB0C866B0932F3DD7" X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on orchid.homeunix.org X-Virus-Status: Clean Subject: Re: Does Ariff's sound patch still work with 6.0-RELEASE? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 11:07:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCC5777EEB0C866B0932F3DD7 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Ehh... My humble apology to Ariff for writing his name with small letters. Sorry! Karol On 04/03/06 12:45, Karol Kwiatkowski wrote: > Hi all, >=20 > Did anyone successfully compile kernel on 6.0-RELEASE with ariff's > sound patch recently? File in question: > snd_RELENG_6_0_20060227_098.diff from http://people.freebsd.org/~ariff/= >=20 > I'm trying to help another user (remotely) to get his VIA 8233 work > with Skype on 6.0-RELEASE. However, he is unable to compile patched > kernel (more information below). We tried few times, last step was: > remove /usr/src/*, cvsup to RELENG_6_0, patch, make buildkernel (custom= ). >=20 > I'm asking here (I don't have 6.0-RELEASE myself) because I tried to > look at source files given by error message[1] and at a diff itself > and noticed: >=20 > - diff for RELENG_6_0 updates feeder_rate.c v 1.11 to 1.17 > - adds into feeder_rate.c: +#define RATE_FACTOR_MAX PCM_S24_MAX > - I can't find any definition of PCM_S24_MAX in feeder_rate.c nor > sound.h(v 1.63) > - in fact feeder_rate.c v 1.17 from cvs/web[2] doesn't include the > line "#define RATE_FACTOR_MAX PCM_S24_MAX" >=20 > Am I missing something (yes, I'm lost at this stage) or is > snd_RELENG_6_0_20060227_098.diff broken? >=20 >=20 > Thank you in advance, >=20 > Karol >=20 > [1] > [...] > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:3= 42: > error: (near initialization for `convtbl[26].bps') > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:3= 42: > error: initializer element is not constant > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:3= 42: > error: (near initialization for `convtbl[26]') > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:3= 43: > error: initializer element is not constant > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:3= 43: > error: (near initialization for `convtbl[27].bps') > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:3= 43: > error: initializer element is not constant > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:3= 43: > error: (near initialization for `convtbl[27]') > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:3= 44: > error: initializer element is not constant > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:3= 44: > error: (near initialization for `convtbl[28]') > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:3= 54: > error: `PCM_S24_MAX' undeclared (first use in this function) > *** Error code 1 >=20 > Stop in /usr/src/sys/modules/sound/sound. > *** Error code 1 >=20 >=20 > [2] > http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/sound/pcm/= feeder_rate.c?rev=3D1.17&content-type=3Dtext/plain >=20 --=20 Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc --------------enigCC5777EEB0C866B0932F3DD7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMQHWezeoPAwGIYsRArnDAJoCl+jU5qjj3rdPVHiXMbvYI8sQGQCcCVJF cuv9mijmiZqH3TZFW9RNcpM= =inKk -----END PGP SIGNATURE----- --------------enigCC5777EEB0C866B0932F3DD7-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 12:02:52 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 4022316A422 for ; Mon, 3 Apr 2006 12:02:52 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55CC743D46 for ; Mon, 3 Apr 2006 12:02:51 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (gjajch@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k33C2iwi044409 for ; Mon, 3 Apr 2006 14:02:49 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k33C2iBn044408; Mon, 3 Apr 2006 14:02:44 +0200 (CEST) (envelope-from olli) Date: Mon, 3 Apr 2006 14:02:44 +0200 (CEST) Message-Id: <200604031202.k33C2iBn044408@lurza.secnetix.de> From: Oliver Fromme To: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <4c40c4e70604030346g3305dc9bo580413026c33e148@mail.gmail.com> X-Newsgroups: list.freebsd-multimedia User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 03 Apr 2006 14:02:49 +0200 (CEST) Cc: Subject: Re: My snd_ich working well X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-multimedia@FreeBSD.ORG List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 12:02:52 -0000 Angka H. K. wrote: > What "#if 0" mean in the snd_ich.c file. I think it will always produce > false result ("0 = false"), is it correct or wrong ? "#if 0" is a common way to comment out larger parts of a source file. Some people write "#ifdef notdef" which does the same thing. (You cannot easily use "/* ... */" for that purpose because it cannot be nested.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. PI: int f[9814],b,c=9814,g,i;long a=1e4,d,e,h; main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a) while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;} From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 13:15:38 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 E334216A400; Mon, 3 Apr 2006 13:15:38 +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 4385943D46; Mon, 3 Apr 2006 13:15:37 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F316.dip.t-dialin.net [84.165.243.22]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k33DDmsX012015; Mon, 3 Apr 2006 15:13:48 +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 k33DFYoj094435; Mon, 3 Apr 2006 15:15:34 +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, 03 Apr 2006 15:15:34 +0200 Message-ID: <20060403151534.eqdmhc6f404o4co0@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 03 Apr 2006 15:15:34 +0200 From: Alexander Leidinger To: "Angka H. K." References: <4c40c4e70604030346g3305dc9bo580413026c33e148@mail.gmail.com> In-Reply-To: <4c40c4e70604030346g3305dc9bo580413026c33e148@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org, njl@freebsd.org, current@freebsd.org Subject: Re: My snd_ich working well 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, 03 Apr 2006 13:15:39 -0000 "Angka H. K." wrote: Please strip freebsd-multimedia@ on reply... > I have other problem now , which is saying "acpi: bad read to port 0x073" > and "acpi: bad write to port 0x073(8) val 82", where can ask about this ? It > looks like google has no archive about this error. I assume you are using -current. So the right place is to ask on current@ (CCed). I also CCed njl@, since he's our "master of acpi". Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 "This is a test of the Emergency Broadcast System. If this had been an actual emergency, do you really think we'd stick around to tell you?" From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 16:17:22 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 3142316A427 for ; Mon, 3 Apr 2006 16:17:22 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0501743D77; Mon, 3 Apr 2006 16:17:19 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k33GHGxY032225; Mon, 3 Apr 2006 16:17:17 GMT (envelope-from ariff@FreeBSD.org) Date: Tue, 4 Apr 2006 00:17:01 +0800 From: Ariff Abdullah To: freebsd@orchid.homeunix.org Message-Id: <20060404001701.19e70cf9.ariff@FreeBSD.org> In-Reply-To: <443101D6.1050008@orchid.homeunix.org> References: <4430FCCC.2070806@orchid.homeunix.org> <443101D6.1050008@orchid.homeunix.org> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__4_Apr_2006_00_17_01_+0800_RHj+x2MClcx/=dsZ" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Does Ariff's sound patch still work with 6.0-RELEASE? 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, 03 Apr 2006 16:17:22 -0000 --Signature=_Tue__4_Apr_2006_00_17_01_+0800_RHj+x2MClcx/=dsZ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 03 Apr 2006 13:07:02 +0200 Karol Kwiatkowski wrote: > Ehh... My humble apology to Ariff for writing his name with small > letters. Sorry! >=20 Eh.. it's ok, you don't have to be sorry for that :) >=20 > On 04/03/06 12:45, Karol Kwiatkowski wrote: > > Hi all, > >=20 > > Did anyone successfully compile kernel on 6.0-RELEASE with ariff's > > sound patch recently? File in question: > > snd_RELENG_6_0_20060227_098.diff from > > http://people.freebsd.org/~ariff/ > >=20 > > I'm trying to help another user (remotely) to get his VIA 8233 > > work with Skype on 6.0-RELEASE. However, he is unable to compile > > patched kernel (more information below). We tried few times, last > > step was: remove /usr/src/*, cvsup to RELENG_6_0, patch, make > > buildkernel (custom). > >=20 > > I'm asking here (I don't have 6.0-RELEASE myself) because I tried > > to look at source files given by error message[1] and at a diff > > itself and noticed: > >=20 > > - diff for RELENG_6_0 updates feeder_rate.c v 1.11 to 1.17 > > - adds into feeder_rate.c: +#define RATE_FACTOR_MAX PCM_S24_MAX > > - I can't find any definition of PCM_S24_MAX in feeder_rate.c nor > > sound.h(v 1.63) > > - in fact feeder_rate.c v 1.17 from cvs/web[2] doesn't include the > > line "#define RATE_FACTOR_MAX PCM_S24_MAX" > >=20 > > Am I missing something (yes, I'm lost at this stage) or is > > snd_RELENG_6_0_20060227_098.diff broken? > >=20 > >=20 This is my fault (broken diff). I'm having hard time maintaining diffs for various branches, and about to abandon 6.0-RELEASE/5.4-RELEASE sooner or later. I've just uploaded rev. 099 . It contains lots of fixes. Give it a try. If you having difficulties using the diff, you can use binary compiled kernel modules: http://people.freebsd.org/~ariff/test/sndkld_r6.tar.gz Extract, move everything to /boot/kernel/ (take a backup first!), and do kldxref /boot/kernel . > > Thank you in advance, > >=20 > > Karol > >=20 > > [1] > > [...] > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_ra > > te.c:342: error: (near initialization for `convtbl[26].bps') > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_ra > > te.c:342: error: initializer element is not constant > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_ra > > te.c:342: error: (near initialization for `convtbl[26]') > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_ra > > te.c:343: error: initializer element is not constant > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_ra > > te.c:343: error: (near initialization for `convtbl[27].bps') > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_ra > > te.c:343: error: initializer element is not constant > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_ra > > te.c:343: error: (near initialization for `convtbl[27]') > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_ra > > te.c:344: error: initializer element is not constant > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_ra > > te.c:344: error: (near initialization for `convtbl[28]') > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_ra > > te.c:354: error: `PCM_S24_MAX' undeclared (first use in this > > function) *** Error code 1 > >=20 > > Stop in /usr/src/sys/modules/sound/sound. > > *** Error code 1 > >=20 > >=20 > > [2] > > http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/sound/pcm/= feeder_rate.c?rev=3D1.17&content-type=3Dtext/plain > >=20 >=20 -- Ariff Abdullah FreeBSD --Signature=_Tue__4_Apr_2006_00_17_01_+0800_RHj+x2MClcx/=dsZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEMUqAlr+deMUwTNoRAoKlAJ9czQxK8tiHf2LwFqNd45LTq9paNQCgt7BT 5yHUIOJlCv/YHkNRr7HH5sI= =IaHC -----END PGP SIGNATURE----- --Signature=_Tue__4_Apr_2006_00_17_01_+0800_RHj+x2MClcx/=dsZ-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 16:53: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 57A7D16A401; Mon, 3 Apr 2006 16:53: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 C102443D49; Mon, 3 Apr 2006 16:53:27 +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 k33GrRRk035768; Mon, 3 Apr 2006 16:53:27 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k33GrRDh035764; Mon, 3 Apr 2006 16:53:27 GMT (envelope-from linimon) Date: Mon, 3 Apr 2006 16:53:27 GMT From: Mark Linimon Message-Id: <200604031653.k33GrRDh035764@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/95257: [sound] fix support integrated audio for Nvidia MCP 410 chip 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, 03 Apr 2006 16:53:28 -0000 Old Synopsis: fix support integrated audio for Nvidia MCP 410 chip New Synopsis: [sound] fix support integrated audio for Nvidia MCP 410 chip Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia Responsible-Changed-By: linimon Responsible-Changed-When: Mon Apr 3 16:52:16 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=95257 From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 17:39:22 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 5963D16A423; Mon, 3 Apr 2006 17:39:22 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13D1543D48; Mon, 3 Apr 2006 17:39:22 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (ariff@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k33HdLjw038470; Mon, 3 Apr 2006 17:39:21 GMT (envelope-from ariff@freefall.freebsd.org) Received: (from ariff@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k33HdLLJ038466; Mon, 3 Apr 2006 17:39:21 GMT (envelope-from ariff) Date: Mon, 3 Apr 2006 17:39:21 GMT From: Ariff Abdullah Message-Id: <200604031739.k33HdLLJ038466@freefall.freebsd.org> To: cenixxx@gmail.com, ariff@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/95257: [sound] fix support integrated audio for Nvidia MCP 410 chip 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, 03 Apr 2006 17:39:22 -0000 Synopsis: [sound] fix support integrated audio for Nvidia MCP 410 chip State-Changed-From-To: open->closed State-Changed-By: ariff State-Changed-When: Mon Apr 3 17:38:51 UTC 2006 State-Changed-Why: Committed. Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=95257 From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 21:38:25 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 1F5C316A422; Mon, 3 Apr 2006 21:38:25 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (avl30.neoplus.adsl.tpnet.pl [83.27.45.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B14243D48; Mon, 3 Apr 2006 21:38:23 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.4/8.13.4) with ESMTP id k33LcDrf040371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 3 Apr 2006 23:38:22 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <443195C2.6040208@orchid.homeunix.org> Date: Mon, 03 Apr 2006 23:38:10 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: Ariff Abdullah References: <4430FCCC.2070806@orchid.homeunix.org> <443101D6.1050008@orchid.homeunix.org> <20060404001701.19e70cf9.ariff@FreeBSD.org> In-Reply-To: <20060404001701.19e70cf9.ariff@FreeBSD.org> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig176D1423B87773EF56825CA0" X-Virus-Scanned: ClamAV 0.88/1371/Mon Apr 3 22:09:00 2006 on orchid.homeunix.org X-Virus-Status: Clean Cc: freebsd-multimedia@FreeBSD.org Subject: [solved] Re: Does Ariff's sound patch still work with 6.0-RELEASE? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 21:38:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig176D1423B87773EF56825CA0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable On 04/03/06 18:17, Ariff Abdullah wrote: > On Mon, 03 Apr 2006 13:07:02 +0200 > Karol Kwiatkowski wrote: >> Ehh... My humble apology to Ariff for writing his name with small >> letters. Sorry! >> >=20 > Eh.. it's ok, you don't have to be sorry for that :) :) >> On 04/03/06 12:45, Karol Kwiatkowski wrote: >>> Hi all, >>> >>> Did anyone successfully compile kernel on 6.0-RELEASE with ariff's >>> sound patch recently? File in question: >>> snd_RELENG_6_0_20060227_098.diff from >>> http://people.freebsd.org/~ariff/ >>> >>> I'm trying to help another user (remotely) to get his VIA 8233 >>> work with Skype on 6.0-RELEASE. However, he is unable to compile >>> patched kernel (more information below). We tried few times, last >>> step was: remove /usr/src/*, cvsup to RELENG_6_0, patch, make >>> buildkernel (custom). >>> >>> I'm asking here (I don't have 6.0-RELEASE myself) because I tried >>> to look at source files given by error message[1] and at a diff >>> itself and noticed: >>> >>> - diff for RELENG_6_0 updates feeder_rate.c v 1.11 to 1.17 >>> - adds into feeder_rate.c: +#define RATE_FACTOR_MAX PCM_S24_MAX >>> - I can't find any definition of PCM_S24_MAX in feeder_rate.c nor >>> sound.h(v 1.63) >>> - in fact feeder_rate.c v 1.17 from cvs/web[2] doesn't include the >>> line "#define RATE_FACTOR_MAX PCM_S24_MAX" >>> >>> Am I missing something (yes, I'm lost at this stage) or is >>> snd_RELENG_6_0_20060227_098.diff broken? >>> >>> > This is my fault (broken diff).=20 I was actually expecting it's something on my side but asked because everything was failing at me. Good to know. > I'm having hard time maintaining diffs > for various branches, and about to abandon 6.0-RELEASE/5.4-RELEASE > sooner or later. > > I've just uploaded rev. 099 . It contains lots of fixes. Give it a > try. That's amazing. I just asked for a confirmation and yet, despite not having much free time, you're giving me new diffs for soon-to-be-outdated release... Thank you! > If you having difficulties using the diff, you can use binary > compiled kernel modules: >=20 > http://people.freebsd.org/~ariff/test/sndkld_r6.tar.gz >=20 > Extract, move everything to /boot/kernel/ (take a backup first!), and > do kldxref /boot/kernel . Didn't know that, I'll give it a look someday. Now, I compiled 6.0-RELEASE kernel with new diff[1] without any problems! Thanks again Ariff for your support. Karol [1]for the record: snd_RELENG_6_0_20060404_100.diff --=20 Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc --------------enig176D1423B87773EF56825CA0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMZXKezeoPAwGIYsRAqIcAKCEe0b/UZ385xn2/pmcHv3w0fuDqwCgnXNP P5VikWYBNc3MJvbrKrm3Vjc= =dajO -----END PGP SIGNATURE----- --------------enig176D1423B87773EF56825CA0-- From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 4 01:49: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 6EC7C16A400 for ; Tue, 4 Apr 2006 01:49:29 +0000 (UTC) (envelope-from harikurniawan@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A19543D48 for ; Tue, 4 Apr 2006 01:49:28 +0000 (GMT) (envelope-from harikurniawan@gmail.com) Received: by wproxy.gmail.com with SMTP id i31so1136670wra for ; Mon, 03 Apr 2006 18:49:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=TSUoNYKrMob2DhkXAqbHB7YXzykhzwooArTLVj4wQFur4FEZiC1FjoVFr22U1SQvMlMiDsqHT8HDJEtpKuPM89AcLvcWn77E5R8UL5I+okO2J4Iy2Xuh68Rre2DrMIBqkkpHzHEaQg06ULq8MzaxBdEkWuS3AfYMTg0EZHedsrA= Received: by 10.65.181.12 with SMTP id i12mr22908qbp; Mon, 03 Apr 2006 18:49:27 -0700 (PDT) Received: by 10.64.201.6 with HTTP; Mon, 3 Apr 2006 18:49:27 -0700 (PDT) Message-ID: <4c40c4e70604031849l4ac2610btcadd088cbe204bc6@mail.gmail.com> Date: Tue, 4 Apr 2006 08:49:27 +0700 From: "Angka H. K." To: "Stephane E. Potvin" In-Reply-To: <4430AE68.6000301@videotron.ca> MIME-Version: 1.0 References: <4430AE68.6000301@videotron.ca> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: High Definition Audio driver 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, 04 Apr 2006 01:49:29 -0000 When I try to compile it I didn't found a "Makefile", then I impoerted the snd_ich Makefile with a few changes and adding my device id. It wa compiled and can be loaded but it cannot allocate memory for my card. Where can I take a look about memory alocation in my hardware ? On 4/3/06, Stephane E. Potvin wrote: > > A few weeks ago I upgraded my laptop only to discover that the sound > system > on it was unsupported by FreeBSD, being an High Definition Audio > controller / codec. I started at that time to write a driver specific to > FreeBSD. Given that it seems that I'm not the only one stuck with this > problem, I decided after some gentle prodding by Alexander to share what > I'm trying to achieve. > > I first had a look at the NetBSD driver but soon decided not to start fro= m > it. They chose to use a monolithic driver that controls both the HDA > controller and the audio codec. The HDA architecture calls for a single > HDA > controller to have many codecs connected via a shared bus. Each codec can > have multiple functions. These functions could be Audio, Modems, etc. > > So I decided to take another approach for the driver I'm writing. I've > decided to split it into a driver for the HDA controller itself, one for > the HDA bus and one (or many) for the actual functions. The bus driver > will > be used to enumerate the different functions that are on the different > codecs to find matching drivers. > > This will enable us, in the long run, to be able to support other drivers > than Audio ones (like modems). It will also enable to have more than one > Audio function active on a single controller (in the case of an external > codec in a docking station for example). It will also enable the support > of > different controllers on other architectures in case this standard catche= s > up without having to rewrite the audio functions. > > Here are the major steps that I currently plan to do for this driver. The= y > are not in any relevant order: > > - Implement the CORB and RIRB engines to send verbs and receive responses > from the codecs (mostly done). > > - Implement a bus driver (hda) that will enumerate the functions on the > codecs and try to attach matching drivers. I'm not sure yet if I'll use > the > bus_space subsystem to handle reading and writing the function registers > (via the CORB/RIRB). If anyone has any thoughts about that I'll be glad t= o > hear about them. (started but progressing slowly) > > - Add support for the Stream Resources on the HDA controller. These are > the > DMA engines that transfer the actual audio data to and from the codecs to > physical memory. > > - Write the actual audio driver to control the audio function. This will > be > the driver that will actually attach to the pcm subsystem. > > - Add unsolicited response support to handle asynchronous events from the > functions. This will enable, for example, to send a devd events (or via > any > other mechanism required) to userspace applications to indicate that a > jack > was inserted or removed. > > - Add hot insertion/removal of codecs to handle the case where a docking > station that sports a codec is added. > > - Support for low power states on the HDA controller and on the codecs. > > - Suspend / Resume support for laptop. I guess that I'll somewhat need to > fix basic suspend/resume on my laptop before I can tackle that :( > > - Any other things I might need to add along the way...( > > Now, the bad news. I'm working on this when I have the time but it's > usually not nearly enough as I would like it to be. I'll get there someda= y > unless somebody else beat me to it. If anybody would like this to go > faster, I'll be very happy to get any help that I might get. > > In case it might be of interest to anybody, there's a version of the > driver > (about 2 weeks ago) available at: (Thanks again Alexander) > http://www.leidinger.net/FreeBSD/hdac-20060313.tbz > > Usual disclaimers, use this at your own risk. It may eat your computer, > make your cats sick, yaya. Some parts were added in a hurry just to make > this work (the interrupt handler for example), so they are kind of really > ugly. I plan to refine them with time. > > I'm currently working on the bus driver itself. Once I get it working to > my > liking, I'll update the driver and post a message here.. > > I would appreciate any feedback I can get about my plans, what I have don= e > so far, etc. Please don't hesitate to drop me an email in that case. > > Regards, > > Steph > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to " > freebsd-multimedia-unsubscribe@freebsd.org" > From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 4 18:04:48 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 EDF0116A422; Tue, 4 Apr 2006 18:04:48 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7AE843D45; Tue, 4 Apr 2006 18:04:48 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (ariff@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k34I4mPo039945; Tue, 4 Apr 2006 18:04:48 GMT (envelope-from ariff@freefall.freebsd.org) Received: (from ariff@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k34I4mC9039941; Tue, 4 Apr 2006 18:04:48 GMT (envelope-from ariff) Date: Tue, 4 Apr 2006 18:04:48 GMT From: Ariff Abdullah Message-Id: <200604041804.k34I4mC9039941@freefall.freebsd.org> To: piernik@gmail.com, ariff@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/94388: [sound] [patch] AD1815 based ISA soundcard support in FreeBSD 6 (and 5) 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, 04 Apr 2006 18:04:49 -0000 Synopsis: [sound] [patch] AD1815 based ISA soundcard support in FreeBSD 6 (and 5) State-Changed-From-To: patched->closed State-Changed-By: ariff State-Changed-When: Tue Apr 4 18:04:09 UTC 2006 State-Changed-Why: MFCed. Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=94388 From owner-freebsd-multimedia@FreeBSD.ORG Fri Mar 31 15:36: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 AA99916A41F; Fri, 31 Mar 2006 15:36:45 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12D3843D46; Fri, 31 Mar 2006 15:36:44 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.177.54] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1FPLfh2Mqy-0008G8; Fri, 31 Mar 2006 17:36:25 +0200 From: Max Laier Organization: FreeBSD To: monthly@freebsd.org Date: Fri, 31 Mar 2006 17:34:53 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3144937.kxSmgnJInZ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200603311735.12912.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 X-Mailman-Approved-At: Wed, 05 Apr 2006 12:39:33 +0000 Cc: Subject: Reminder: Status reports 2006-1 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: Fri, 31 Mar 2006 15:36:46 -0000 --nextPart3144937.kxSmgnJInZ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline All, you receive this email because you sent us a status report about your=20 project(s) for the 2005-4 collection, thanks for that. We would like to=20 remind you that we are collecting reports again. If your project made=20 progress you like to share, please do so by April, 7. XML-template and=20 =2Dgenerator are linked from the status report main page:=20 http://www.freebsd.org/news/status/ As a side note, we will be adding trackback links to reports for users to=20 investigate further if they catch interest, so don't repeat yourself too=20 much. If you didn't make too much expressible progress with your projects, but st= ill=20 need help or testing - please let us know. We will collect those projects= =20 under one topic with only trackback links. A full report is obviously stil= l=20 preferred and we encourage you to write one. Thanks a lot! =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart3144937.kxSmgnJInZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBELUwwXyyEoT62BG0RAq/GAJsEjYVxus08g7UyReTfhK9Cl4y0PwCfU2s3 Sc5MtOKZ1SG7EdzzxMQvZn4= =DqPO -----END PGP SIGNATURE----- --nextPart3144937.kxSmgnJInZ-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 5 14:20:47 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 0CC5916A41F for ; Wed, 5 Apr 2006 14:20:47 +0000 (UTC) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (ottawa-hs-206-191-28-202.s-ip.magma.ca [206.191.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CDB943D46 for ; Wed, 5 Apr 2006 14:20:44 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (localhost.parse.com [127.0.0.1]) by amd64.ott.parse.com (8.13.4/8.13.1) with ESMTP id k35EKXw7013708 for ; Wed, 5 Apr 2006 10:20:33 -0400 (EDT) (envelope-from root@parse.com) Received: (from root@localhost) by amd64.ott.parse.com (8.13.4/8.13.1/Submit) id k35EKWih013707 for freebsd-multimedia@freebsd.org; Wed, 5 Apr 2006 10:20:32 -0400 (EDT) (envelope-from root) From: Robert Krten Message-Id: <200604051420.k35EKWih013707@amd64.ott.parse.com> To: freebsd-multimedia@freebsd.org Date: Wed, 5 Apr 2006 10:20:32 -0400 (EDT) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Fishing: Any problems with bktr and amd64 v 6.0? I get page faults 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, 05 Apr 2006 14:20:47 -0000 I'm investigating a problem I'm having (two kernel page faults so far an AMD64 on v6.0 release), possibly related to the bktr driver. At this point I'm just fishing for answers, because I haven't run the new system for a long time (installed Sunday). But, when I run my motion-activated recorder on two bktr devices simultaneously, the system dies within minutes. If I don't run them, the system is stable. I'm using Hauppauge WinTV Go + devices, if that helps, and capturing frames in RGB24 mode using METEOR_CAP_SINGLE in a tight loop with a tuner call to TVTUNER_SETCHNL on the associated tuner. If anyone can say "Yes, that is definitely a known problem, apply patch X" that would be great! :-) Or, "Don't use METEOR_CAP_SINGLE, it's unreliable", that would help too. Even just letting me know that you use bktr on an AMD64 with v6.0 and *don't* have problems would be useful... Otherwise, I'll be investigating the problem more this weekend. On a possibly related note, a few minutes before the first crash, one of my application programs (which has not crashed in 6 months) died with a SIGSEGV because a pointer it was using had the value 0x888f8d847c80817f, which is suspiciously "around 0x80" for every byte (I say "suspicious" because that could be RGB video data. It could be green cheese, too, for all I know, but... Coincidence?) Cheers, -RK -- Robert Krten, PARSE Software Devices +1 613 599 8316. Join us at BSDCan 2006! See www.bsdcan.org Looking for Digital Equipment Corp. PDP-1 through PDP-15 minicomputers! From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 5 22:04:42 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 EC01C16A400 for ; Wed, 5 Apr 2006 22:04:42 +0000 (UTC) (envelope-from vkushnir@i.kiev.ua) Received: from horse.iptelecom.net.ua (horse.iptelecom.net.ua [212.9.224.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39ACB43D45 for ; Wed, 5 Apr 2006 22:04:41 +0000 (GMT) (envelope-from vkushnir@i.kiev.ua) Received: from h3.243.159.dialup.iptcom.net ([213.159.243.3]:36550 "EHLO kushnir1.kiev.ua" ident: "SOCKFAULT1" whoson: "vkushnir") by horse.iptelecom.net.ua with ESMTP id S1219548AbWDEWEk (INRCPT ); Thu, 6 Apr 2006 01:04:40 +0300 Received: from kushnir1.kiev.ua (kushnir1.kiev.ua [10.0.0.1]) by kushnir1.kiev.ua (8.13.6/8.13.4) with ESMTP id k35M4bVn010449 for ; Thu, 6 Apr 2006 01:04:37 +0300 (EEST) (envelope-from vkushnir@i.kiev.ua) Date: Thu, 6 Apr 2006 01:04:37 +0300 (EEST) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: freebsd-multimedia@freebsd.org Message-ID: <20060406005745.G9755@kushnir1.kiev.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: GStreamer10 status? 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, 05 Apr 2006 22:04:43 -0000 Hi all, Is there any on-going work on adapting gstreamer-10x to our ports and/or writing bktr plugin for gstreamer? Regards, Vladimir From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 6 01:37:22 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 5E13716A400 for ; Thu, 6 Apr 2006 01:37:22 +0000 (UTC) (envelope-from buhnux@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4B7C43D46 for ; Thu, 6 Apr 2006 01:37:21 +0000 (GMT) (envelope-from buhnux@gmail.com) Received: by pproxy.gmail.com with SMTP id z74so26597pyg for ; Wed, 05 Apr 2006 18:37:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=VyqbgTA+wOcXwMq+qg+igwl4LlkaYwnRnGzqqjhLpv2ksm4GvMg58Nq3kP3iwwXUf2vAkBNEZIA3sd883Jzuvl1h5RwhbVHaGbymkkfC7msj5NQKJjcBZRfsCtidyzPkLjZmSXHoJVYdy7EFYs4vOQdi0puCkM1ON0guGwUmArA= Received: by 10.35.103.12 with SMTP id f12mr364318pym; Wed, 05 Apr 2006 18:37:21 -0700 (PDT) Received: by 10.35.12.14 with HTTP; Wed, 5 Apr 2006 18:37:21 -0700 (PDT) Message-ID: Date: Wed, 5 Apr 2006 21:37:21 -0400 From: "michael johnson" To: "Vladimir Kushnir" In-Reply-To: <20060406005745.G9755@kushnir1.kiev.ua> MIME-Version: 1.0 References: <20060406005745.G9755@kushnir1.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: GStreamer10 status? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ahze@ahze.net List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2006 01:37:22 -0000 On 4/5/06, Vladimir Kushnir wrote: > > Hi all, > > Is there any on-going work on adapting gstreamer-10x to our ports and/or > writing bktr plugin for gstreamer? gstreamer 0.10 is in marcuscom CVS repo, we're just waiting on the ports semi-freeze (shortly after 6.1 comes out) before we commit to the ports tree. Check out http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi Michael Regards, > Vladimir > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to " > freebsd-multimedia-unsubscribe@freebsd.org" > From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 6 09:51: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 9E7DA16A401 for ; Thu, 6 Apr 2006 09:51:02 +0000 (UTC) (envelope-from jakemsr@jakemsr.com) Received: from mail231.csoft.net (mail231.csoft.net [205.205.221.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 1501B43D5E for ; Thu, 6 Apr 2006 09:51:01 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 52 invoked from network); 6 Apr 2006 09:51:00 -0000 Received: from unknown (HELO puff.jakemsr.gom) (jakemsr@24.20.118.148) by mail231.csoft.net with SMTP; 6 Apr 2006 09:51:00 -0000 Received: from puff.jakemsr.gom (jakemsr@localhost.jakemsr.gom [127.0.0.1]) by puff.jakemsr.gom (8.13.6/8.13.4) with ESMTP id k369oxeg009694 for ; Thu, 6 Apr 2006 02:50:59 -0700 (PDT) Received: (from jakemsr@localhost) by puff.jakemsr.gom (8.13.6/8.13.3/Submit) id k369oxsw004250 for freebsd-multimedia@freebsd.org; Thu, 6 Apr 2006 02:50:59 -0700 (PDT) Date: Thu, 6 Apr 2006 02:50:59 -0700 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20060406095059.GC19235@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <200604051420.k35EKWih013707@amd64.ott.parse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604051420.k35EKWih013707@amd64.ott.parse.com> User-Agent: Mutt/1.4.2i Subject: Re: Fishing: Any problems with bktr and amd64 v 6.0? I get page faults 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, 06 Apr 2006 09:51:02 -0000 On Wed, Apr 05, 2006 at 10:20:32AM -0400, Robert Krten wrote: > > I'm investigating a problem I'm having (two kernel page faults so > far an AMD64 on v6.0 release), possibly related to the bktr driver. > > At this point I'm just fishing for answers, because I haven't run the new > system for a long time (installed Sunday). But, when I run my > motion-activated recorder on two bktr devices simultaneously, the system > dies within minutes. If I don't run them, the system is stable. > > I'm using Hauppauge WinTV Go + devices, if that helps, and capturing > frames in RGB24 mode using METEOR_CAP_SINGLE in a tight loop with a > tuner call to TVTUNER_SETCHNL on the associated tuner. > > If anyone can say "Yes, that is definitely a known problem, apply patch X" > that would be great! :-) Or, "Don't use METEOR_CAP_SINGLE, it's unreliable", > that would help too. Even just letting me know that you use bktr on > an AMD64 with v6.0 and *don't* have problems would be useful... do you actually get good results with METEOR_CAP_SINGLE? I often just get gibberish. IIRC, this is because the bt8x8 chip "needs a moment to settle down". I don't recall the details, but I believe I read this in a comment in one of the original bktr sample programs which uses METEOR_CAP_SINGLE. according to http://telepresence.dmem.strath.ac.uk/bt848/ the sample programs are at ftp://telepresence.dmem.strath.ac.uk/pub/bt848/examples but I can't seem to connect to that now :( > Otherwise, I'll be investigating the problem more this weekend. > > On a possibly related note, a few minutes before the first crash, one of > my application programs (which has not crashed in 6 months) died with a > SIGSEGV because a pointer it was using had the value 0x888f8d847c80817f, > which is suspiciously "around 0x80" for every byte (I say "suspicious" > because that could be RGB video data. It could be green cheese, too, > for all I know, but... Coincidence?) you might want to check the OpenBSD bktr driver for 64-bit fixes, especially those marked, "do not use u_long for 32bit data", which were applied in OpenBSD close to 2 years ago and still are not in FreeBSD. and there is another marked "Use proper type for 32 bit entity. s/long/int/ This is needed for bktr(4) to work on sparc64." from 9 months ago. http://www.openbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/pci/bktr/ btw, I use bktr on OpenBSD/amd64 rather extensively, and have not seen any odd data corruption possibly coincidently related to bktr. -- From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 6 20:01:24 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 6A29C16A446 for ; Thu, 6 Apr 2006 20:01:24 +0000 (UTC) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (ottawa-hs-206-191-28-202.s-ip.magma.ca [206.191.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DDD145652 for ; Thu, 6 Apr 2006 17:59:47 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (localhost.parse.com [127.0.0.1]) by amd64.ott.parse.com (8.13.4/8.13.1) with ESMTP id k36HxkhM040645 for ; Thu, 6 Apr 2006 13:59:46 -0400 (EDT) (envelope-from root@parse.com) Received: (from root@localhost) by amd64.ott.parse.com (8.13.4/8.13.1/Submit) id k36Hxkfq040644 for freebsd-multimedia@freebsd.org; Thu, 6 Apr 2006 13:59:46 -0400 (EDT) (envelope-from root) From: Robert Krten Message-Id: <200604061759.k36Hxkfq040644@amd64.ott.parse.com> To: freebsd-multimedia@freebsd.org Date: Thu, 6 Apr 2006 13:59:46 -0400 (EDT) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Fishing: Any problems with bktr and amd64 v 6.0? I get page 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, 06 Apr 2006 20:01:24 -0000 Jacob Meuser sez... > > On Wed, Apr 05, 2006 at 10:20:32AM -0400, Robert Krten wrote: > > > > I'm investigating a problem I'm having (two kernel page faults so > > far an AMD64 on v6.0 release), possibly related to the bktr driver. > > > > At this point I'm just fishing for answers, because I haven't run the new > > system for a long time (installed Sunday). But, when I run my > > motion-activated recorder on two bktr devices simultaneously, the system > > dies within minutes. If I don't run them, the system is stable. > > > > I'm using Hauppauge WinTV Go + devices, if that helps, and capturing > > frames in RGB24 mode using METEOR_CAP_SINGLE in a tight loop with a > > tuner call to TVTUNER_SETCHNL on the associated tuner. > > > > If anyone can say "Yes, that is definitely a known problem, apply patch X" > > that would be great! :-) Or, "Don't use METEOR_CAP_SINGLE, it's unreliable", > > that would help too. Even just letting me know that you use bktr on > > an AMD64 with v6.0 and *don't* have problems would be useful... > > do you actually get good results with METEOR_CAP_SINGLE? I often > just get gibberish. IIRC, this is because the bt8x8 chip "needs a > moment to settle down". I don't recall the details, but I believe I > read this in a comment in one of the original bktr sample programs > which uses METEOR_CAP_SINGLE. according to > http://telepresence.dmem.strath.ac.uk/bt848/ the sample programs are > at ftp://telepresence.dmem.strath.ac.uk/pub/bt848/examples > but I can't seem to connect to that now :( When I don't mess with the tuner, METEOR_CAP_SINGLE works just fine. When I tune between different channels, I do sometimes (say 5-10% of the time?) get partial frames from the previous channel. Also, I sometimes get the wrong fields (I'm not sure of the order, but let's say the even frame from one field and the odd frame from the next field, which leads to interesting "jittering" effects when displayed on an interlaced monitor). What should I be using? The ring-buffer one, and just fish out the samples as I need them? Any hints on synchronizing with tuning? > > Otherwise, I'll be investigating the problem more this weekend. > > > > On a possibly related note, a few minutes before the first crash, one of > > my application programs (which has not crashed in 6 months) died with a > > SIGSEGV because a pointer it was using had the value 0x888f8d847c80817f, > > which is suspiciously "around 0x80" for every byte (I say "suspicious" > > because that could be RGB video data. It could be green cheese, too, > > for all I know, but... Coincidence?) > > you might want to check the OpenBSD bktr driver for 64-bit fixes, > especially those marked, "do not use u_long for 32bit data", which > were applied in OpenBSD close to 2 years ago and still are not in > FreeBSD. and there is another marked "Use proper type for 32 bit > entity. s/long/int/ This is needed for bktr(4) to work on sparc64." > from 9 months ago. > > http://www.openbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/pci/bktr/ > > btw, I use bktr on OpenBSD/amd64 rather extensively, and have not seen > any odd data corruption possibly coincidently related to bktr. Excellent, thank you very much! Cheers, -RK -- Robert Krten, PARSE Software Devices +1 613 599 8316. Join us at BSDCan2006! www.bsdcan.org for more details. Looking for Digital Equipment Corp. PDP-1 through PDP-15 minicomputers! From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 6 21:52:17 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 90E4B16A403 for ; Thu, 6 Apr 2006 21:52:17 +0000 (UTC) (envelope-from vkushnir@i.kiev.ua) Received: from horse.iptelecom.net.ua (horse.iptelecom.net.ua [212.9.224.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B986243D7B for ; Thu, 6 Apr 2006 21:52:11 +0000 (GMT) (envelope-from vkushnir@i.kiev.ua) Received: from h91.243.159.dialup.iptcom.net ([213.159.243.91]:4047 "EHLO kushnir1.kiev.ua" ident: "SOCKFAULT1" whoson: "vkushnir") by horse.iptelecom.net.ua with ESMTP id S1220178AbWDFVwJ (INRCPT ); Fri, 7 Apr 2006 00:52:09 +0300 Received: from kushnir1.kiev.ua (kushnir1.kiev.ua [10.0.0.1]) by kushnir1.kiev.ua (8.13.6/8.13.4) with ESMTP id k36Lq6gh049226; Fri, 7 Apr 2006 00:52:06 +0300 (EEST) (envelope-from vkushnir@i.kiev.ua) Date: Fri, 7 Apr 2006 00:52:06 +0300 (EEST) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: ahze@ahze.net In-Reply-To: Message-ID: <20060407001019.K48299@kushnir1.kiev.ua> References: <20060406005745.G9755@kushnir1.kiev.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-multimedia@freebsd.org Subject: Re: GStreamer10 status? 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, 06 Apr 2006 21:52:17 -0000 On Wed, 5 Apr 2006, michael johnson wrote: > On 4/5/06, Vladimir Kushnir wrote: >> >> Hi all, >> >> Is there any on-going work on adapting gstreamer-10x to our ports and/or >> writing bktr plugin for gstreamer? > > > > gstreamer 0.10 is in marcuscom CVS repo, we're just waiting on the ports > semi-freeze (shortly after 6.1 comes out) before we commit to the ports > tree. > Check out http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi > > Michael > Thanks a bunch, Vladimir From owner-freebsd-multimedia@FreeBSD.ORG Fri Apr 7 16:17:06 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 1362B16A400 for ; Fri, 7 Apr 2006 16:17:06 +0000 (UTC) (envelope-from jakemsr@jakemsr.com) Received: from mail231.csoft.net (mail231.csoft.net [205.205.221.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 7FD0543D45 for ; Fri, 7 Apr 2006 16:17:05 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 5070 invoked from network); 7 Apr 2006 16:17:03 -0000 Received: from unknown (HELO puff.jakemsr.gom) (jakemsr@24.20.118.148) by mail231.csoft.net with SMTP; 7 Apr 2006 16:17:03 -0000 Received: from puff.jakemsr.gom (jakemsr@localhost.jakemsr.gom [127.0.0.1]) by puff.jakemsr.gom (8.13.6/8.13.4) with ESMTP id k37GH2Y1008787 for ; Fri, 7 Apr 2006 09:17:02 -0700 (PDT) Received: (from jakemsr@localhost) by puff.jakemsr.gom (8.13.6/8.13.3/Submit) id k37GH2Nf013717 for freebsd-multimedia@freebsd.org; Fri, 7 Apr 2006 09:17:02 -0700 (PDT) Date: Fri, 7 Apr 2006 09:17:02 -0700 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20060407161702.GA25066@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <200604061759.k36Hxkfq040644@amd64.ott.parse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604061759.k36Hxkfq040644@amd64.ott.parse.com> User-Agent: Mutt/1.4.2i Subject: Re: Fishing: Any problems with bktr and amd64 v 6.0? I get page 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: Fri, 07 Apr 2006 16:17:06 -0000 On Thu, Apr 06, 2006 at 01:59:46PM -0400, Robert Krten wrote: > > Jacob Meuser sez... > > > > On Wed, Apr 05, 2006 at 10:20:32AM -0400, Robert Krten wrote: > > > > > > I'm investigating a problem I'm having (two kernel page faults so > > > far an AMD64 on v6.0 release), possibly related to the bktr driver. > > > > > > At this point I'm just fishing for answers, because I haven't run the new > > > system for a long time (installed Sunday). But, when I run my > > > motion-activated recorder on two bktr devices simultaneously, the system > > > dies within minutes. If I don't run them, the system is stable. > > > > > > I'm using Hauppauge WinTV Go + devices, if that helps, and capturing > > > frames in RGB24 mode using METEOR_CAP_SINGLE in a tight loop with a > > > tuner call to TVTUNER_SETCHNL on the associated tuner. > > > > > > If anyone can say "Yes, that is definitely a known problem, apply patch X" > > > that would be great! :-) Or, "Don't use METEOR_CAP_SINGLE, it's unreliable", > > > that would help too. Even just letting me know that you use bktr on > > > an AMD64 with v6.0 and *don't* have problems would be useful... > > > > do you actually get good results with METEOR_CAP_SINGLE? I often > > just get gibberish. IIRC, this is because the bt8x8 chip "needs a > > moment to settle down". I don't recall the details, but I believe I > > read this in a comment in one of the original bktr sample programs > > which uses METEOR_CAP_SINGLE. according to > > http://telepresence.dmem.strath.ac.uk/bt848/ the sample programs are > > at ftp://telepresence.dmem.strath.ac.uk/pub/bt848/examples > > but I can't seem to connect to that now :( > > When I don't mess with the tuner, METEOR_CAP_SINGLE works just fine. > When I tune between different channels, I do sometimes (say 5-10% of the > time?) get partial frames from the previous channel. > > Also, I sometimes get the wrong fields (I'm not sure of the order, but > let's say the even frame from one field and the odd frame from the next > field, which leads to interesting "jittering" effects when displayed on > an interlaced monitor). you can get single fields: METEOR_GEO_EVEN_ONLY, METEOR_GEO_ODD_ONLY. check out bsdav_bktr_init() in http://jakemsr.com/bsdav/lib/bsdav_video_hw.c for more details. > What should I be using? The ring-buffer one, and just fish out the samples > as I need them? Any hints on synchronizing with tuning? I'm pretty sure the ringbuffer is not actually usable. if you figure out how to use it, please let me know! use METEOR_CAP_CONT and just pick out say, the 50th frame. -- From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 8 22:20:43 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 BB01716A400 for ; Sat, 8 Apr 2006 22:20:43 +0000 (UTC) (envelope-from econn@nc.rr.com) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6401343D69 for ; Sat, 8 Apr 2006 22:20:41 +0000 (GMT) (envelope-from econn@nc.rr.com) Received: from [192.168.0.11] (cpe-071-065-248-172.nc.res.rr.com [71.65.248.172]) by ms-smtp-03-eri0.southeast.rr.com (8.13.4/8.13.4) with ESMTP id k38MKdJR005799 for ; Sat, 8 Apr 2006 18:20:40 -0400 (EDT) Message-ID: <44384540.4080206@nc.rr.com> Date: Sat, 08 Apr 2006 19:20:32 -0400 From: Erin E Conn User-Agent: Thunderbird 1.5 (X11/20060121) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: cxm0: unknown tuner code 0x63 - workaround? 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, 08 Apr 2006 22:20:43 -0000 I have a newly-acquired PVR250 and I've installed the driver from ports on FreeBSD 6.1-PRERELEASE. The device probing fails with the following error: [erin@chimera] ~> tail /var/log/messages Apr 8 19:12:51 chimera kernel: cxm0: mem 0xdc000000-0xdfffffff irq 17 at device 12.0 on pci0 Apr 8 19:12:51 chimera kernel: cxm_iic0: on cxm0 Apr 8 19:12:51 chimera kernel: iicbb0: on cxm_iic0 Apr 8 19:12:51 chimera kernel: iicbus0: on iicbb0 master-only Apr 8 19:12:51 chimera kernel: cxm0: unknown tuner code 0x63 Apr 8 19:12:51 chimera kernel: cxm0: could not initialize tuner Apr 8 19:12:51 chimera kernel: iicbus0: detached Apr 8 19:12:51 chimera kernel: iicbb0: detached Apr 8 19:12:51 chimera kernel: cxm_iic0: detached Apr 8 19:12:51 chimera kernel: device_attach: cxm0 attach returned 6 I gather that whatever rev I got has an unsupported tuner. However, I have a digital cable box with S/Video so I'm not planning on using the built-in tuner. Is there a hack or a workaround I could use to at least get the card up and running? I tried adding a case for it in cxm_eeprom.c as was suggested for another user in the archives, but all that did was silence the complaining that the tuner code was unknown; the device still failed to attach.