Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2003 18:51:44 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        "Petr Holub" <hopet@ics.muni.cz>
Cc:        firewire@freebsd.org
Subject:   Re: firewire problem on 5.1-RELEASE
Message-ID:  <ybsadb9plu7.wl@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: <000001c34e9b$e0d99880$2be86cc2@kloboucek>
References:  <ybsbrvqpnku.wl@ett.sat.t.u-tokyo.ac.jp> <000001c34e9b$e0d99880$2be86cc2@kloboucek>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sun, 20 Jul 2003 10:49:49 +0200,
Petr Holub wrote:
> 
> Hi Hidetoshi,
> 
> > Those may indicate some hardware problem.
> > 5.1 does more strict check on sid buffer.
> 
> the machine is the same and it used to work on 5.0. When I say
> "work" I mean I've been able to read from the camera without any
> problem.
> 
> If it helps dmesg output is below.
> 
> > > fwohci0: IR DMA overrun (0x40008011)
> > > fwohci0: IR DMA overrun (0x40008011)
> > > fwohci0: IR DMA overrun (0x40008011)
> > > fwohci0: IR DMA overrun (0x40008011)
> >
> > How do you read from camera and where do you write the data?
> > If you cannot read/write fast enough, the buffer overrun
> > could ocurr.
> 
> The code for reading is based on your dv/dvrecv/dvsend that you gave
> me some time ago (approx. March this year) when I was wondering
> why DVTS doesn't work. This code used to work on 5.0 so that's
> why I'm a bit confused why it stopped working.

I have changed API since 5.0.
Use fwcontrol instead of dv*.

/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybsadb9plu7.wl>