From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 16 06:40: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 441BD16A4E7 for ; Mon, 16 Oct 2006 06:40:17 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0919C43D8D for ; Mon, 16 Oct 2006 06:40:05 +0000 (GMT) (envelope-from usleepless@gmail.com) Received: by nf-out-0910.google.com with SMTP id p77so1773232nfc for ; Sun, 15 Oct 2006 23:40:04 -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:content-transfer-encoding:content-disposition:references; b=n82X+RGW/NpIQ9Yp8bgSTuTTpyi/KvL9/bfoQU8gTlwuN4MCZdzdchmK9lfafQOHsPIwNG+a2cVIeI8Q6f1a2RDhjmqhs8PkFCEs8+QgqJYI8odlOTmH/4ZdunRSKqruPSe7YAGqI2FMa456mbT4fO1W3I3kmvDNNWjwSSbc1HU= Received: by 10.78.166.7 with SMTP id o7mr7259974hue; Sun, 15 Oct 2006 23:40:04 -0700 (PDT) Received: by 10.78.124.12 with HTTP; Sun, 15 Oct 2006 23:40:04 -0700 (PDT) Message-ID: Date: Mon, 16 Oct 2006 08:40:04 +0200 From: usleepless@gmail.com To: rick-freebsd@kiwi-computer.com In-Reply-To: <20061016015911.GC57865@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45317970.5000508@bellsouth.net> <20061015064102.8780.qmail@web30310.mail.mud.yahoo.com> <20061016015911.GC57865@keira.kiwi-computer.com> Cc: freebsd-multimedia@freebsd.org, B Briggs Subject: Re: New port: pvrxxx for Hauppauge PVR150/500 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, 16 Oct 2006 06:40:17 -0000 Hi All, On 10/16/06, Rick C. Petty wrote: > > You might be right that there's no EEPROM/Flash. But the DSP chip(s) > is/are programmed through the I2C bus, at least that's what usleep hinted. correct. however, ivtv seems to be able to download it much faster. i have experimented with speeding up the i2c stuff, but failed ( ie gave up ). > > Maybe it is possible to continue with other things, when locking is done > less > > strict? Or does firmware upload require some important bus (like PCI) > during > > the whole time? > > I think it's timing-critical, although an I2C bus has clock and data lines, > so I can't see any reason the kernel needs to block during the download. > Feel free (anyone) to look into the iic code and pull it out from under > GIANT. will that help? reason i ask is because with the i2c, the cpu is responsible for every bit-switch/line-switch in the protocol. so through the pci-interface, it tells the card to pull the line up, you wait a very short time, and tell it to pull the i2c-line down. etc... this weekend, i removed Giant from the pvrxxx-driver itself. i am on UP myself, so i don't know what it is good for. regards, usleep