New port: pvrxxx for Hauppauge PVR150/500

John-Mark Gurney gurney_j at resnet.uoregon.edu
Mon Oct 16 00:31:39 PDT 2006


usleepless at gmail.com wrote this message on Mon, Oct 16, 2006 at 08:40 +0200:
> On 10/16/06, Rick C. Petty <rick-freebsd at kiwi-computer.com> wrote:
> >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...

It depends upon the interface...  Some things like the bktr have
the ability to drive the i2c bus in hardware.. only if you use the
iicbb (iic bit bang) driver, does the software do all the work...
(though it appears that bktr uses iicbb instead of the hardware)..

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-multimedia mailing list