Japanese
This page contains
IEEE 1394 isochronous data hander for NetBSD
and New CardBus stack for NetBSD.
Now NetBSD-current contains IEEE 1394 isochronous aquisition driver.
NetBSD-current after 20021204 doesn't required IEEE 1394 iso patch.
To enable IEEE 1394 isochronous driver, kernel configuration file must
contain fwiso and fwohci definition, like below:
fwohci* at pci? dev ? function ?
# fwohci* at cardbus? dev ? function ? # for CardBus
pseudo-device fwiso 4
then recompile kernel.
To use IEEE 1394 isochronous from userland, device nodes must be
prepared. For i386, type like this:
mknod fwiso0 c 95 0
mknod fwiso1 c 95 1
mknod fwiso2 c 95 2
mknod fwiso3 c 95 3
mknod fwdv0 c 95 512
mknod fwdv1 c 95 513
mknod fwdv2 c 95 514
mknod fwdv3 c 95 515
For macppc, type like this:
mknod fwiso0 c 67 0
mknod fwiso1 c 67 1
mknod fwiso2 c 67 2
mknod fwiso3 c 67 3
mknod fwdv0 c 67 512
mknod fwdv1 c 67 513
mknod fwdv2 c 67 514
mknod fwdv3 c 67 515
- 5 Play it
-
Connect a DV deck (or DV camcoder) with i.LINK connector.
You can get DV data with this command.
cat /dev/fwdv0 > file
You can see this data with playdv in libdv-0.6.
You can find libdv-0.6 at
sourceforge
libdv-0.98 requires some patches. Playdv in
libdv package will play dv data.
You can see the number of dropped DV frames using `vmstat -e'.
- 6 develop some program with it
-
/dev/fwiso? support open, close, read and ioctl systemcalls. To
install a include file for fwiso, go into sys/dev/ieee1394 directory
and copy fwiso_ioctl.h in /usr/include/dev/ieee1394/.
mkdir /usr/include/dev/ieee1394
cp -p fwiso_ioctl.h /usr/include/dev/ieee1394/
You can get and set the mode of fwiso, the iso channel for fwiso, the
interface device for fwiso using ioctl. Three tiny sample programs,
fwisochmod, fwisoviewmod and fwisoanalysis, are delivered with driver.
- Old patches
- IEEE 1394 isochronous driver kit (09Oct02)
-
for NetBSD-1.6I/i386 and possibly NetBSD-1.6I/macppc.
- IEEE 1394 isochronous driver kit (14May02)
-
for NetBSD-1.5ZC/i386 and possibly NetBSD-1.5ZC/macppc.
- IEEE 1394 isochronous driver kit (02Oct01)
- for older current
CardBus2 for NetBSD (Experimental, 19Oct00)
An improved CardBus stack for NetBSD. Power management and card
insertion and removal handling is improved. You can insert or remove
CardBus card (not 16-bit card) during suspend. CardBus bridge will go
into D3hot mode during suspend if possible. How do you feel?
CardBus documentation (Not yet completed, 15Mar00) /DT>
Copyright (c) 2001 and 2002 HAYAKAWA Koichi. All rights reserved