Tech Insider					   Technology and Trends


			   USENET Archives

From: no...@orci.com (Nomad The Wanderer)
Subject: BT848 Broken?
Date: 1998/04/20
Message-ID: <353AADBE.70EB8A00@orci.com>
X-Deja-AN: 345824800
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
Reply-To: no...@orci.com
Newsgroups: muc.lists.linux-kernel


This is a multi-part message in MIME format.
--------------4B8E686E3E0BA0DE5AEBE55B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

While re-compiling to add BT848 support I got this:

make[1]: Leaving directory `/usr/src/linux-2.1.97/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.1.97/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a
drivers/pci/pci.a drivers/pnp/pnp.a \
        /usr/src/linux-2.1.97/arch/i386/lib/lib.a
/usr/src/linux-2.1.97/lib/lib.a
/usr/src/linux-2.1.97/arch/i386/lib/lib.a \
        -o vmlinux
drivers/char/char.a(bttv.o): In function `attach_inform':
bttv.o(.text+0x4c1): undefined reference to `i2c_control_device'
drivers/char/char.a(bttv.o): In function `set_freq':
bttv.o(.text+0x1162): undefined reference to `i2c_control_device'
bttv.o(.text+0x1199): undefined reference to `i2c_control_device'
bttv.o(.text+0x11bf): undefined reference to `i2c_control_device'
bttv.o(.text+0x11ce): undefined reference to `i2c_control_device'
drivers/char/char.a(bttv.o)(.text+0x296a): more undefined references to
`i2c_control_device' follow
drivers/char/char.a(bttv.o): In function `init_bt848':
bttv.o(.text+0x3cd0): undefined reference to `i2c_register_bus'
drivers/char/char.a(bttv.o): In function `release_bttv':
bttv.o(.text+0x43b6): undefined reference to `i2c_unregister_bus'
make: *** [vmlinux] Error 1      

I'll attach my .config file...

Robert
--------------4B8E686E3E0BA0DE5AEBE55B
Content-Type: text/plain; charset=us-ascii; name=".config"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename=".config"

#
# Automatically generated make config: don't edit
#

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
CONFIG_M686=y
# CONFIG_MATH_EMULATION is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
# CONFIG_KMOD is not set

#
# General setup
#
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_OPTIMIZE is not set
CONFIG_PCI_OLD_PROC=y
# CONFIG_MCA is not set
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
# CONFIG_BINFMT_JAVA is not set
# CONFIG_VIDEO_SELECT is not set
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
CONFIG_PNP=y

#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=m
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
CONFIG_BLK_DEV_RZ1000=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_IDE_CHIPSETS is not set

#
# Additional Block Devices
#
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
CONFIG_PARIDE_PARPORT=y
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_NETLINK is not set
# CONFIG_FIREWALL is not set
# CONFIG_NET_ALIAS is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_IP_ACCT is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_ALIAS is not set
# CONFIG_SYN_COOKIES is not set

#
# (it is safe to leave these untouched)
#
# CONFIG_INET_RARP is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
# CONFIG_IPV6 is not set

#
#  
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_BRIDGE is not set
# CONFIG_LLC is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
# CONFIG_CPU_IS_SLOW is not set
# CONFIG_NET_SCHED is not set
# CONFIG_NET_PROFILE is not set

#
# SCSI support
#
CONFIG_SCSI=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

#
# SCSI low-level drivers
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
CONFIG_SCSI_AIC7XXX=y
# CONFIG_OVERRIDE_CMDS is not set
# CONFIG_AIC7XXX_PROC_STATS is not set
CONFIG_AIC7XXX_RESET_DELAY=5
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_G_NCR5380_PORT is not set
# CONFIG_SCSI_G_NCR5380_MEM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_NCR53C8XX is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_DEBUG is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
CONFIG_NET_ETHERNET=y
CONFIG_NET_VENDOR_3COM=y
# CONFIG_EL1 is not set
# CONFIG_EL2 is not set
# CONFIG_ELPLUS is not set
# CONFIG_EL16 is not set
# CONFIG_EL3 is not set
CONFIG_VORTEX=y
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_EISA is not set
# CONFIG_NET_POCKET is not set
# CONFIG_FDDI is not set
# CONFIG_DLCI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_RADIO is not set
# CONFIG_TR is not set
# CONFIG_SHAPER is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Filesystems
#
# CONFIG_QUOTA is not set
# CONFIG_MINIX_FS is not set
CONFIG_EXT2_FS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
CONFIG_NFSD=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
# CONFIG_CODA_FS is not set
# CONFIG_SMB_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_AUTOFS_FS=y
# CONFIG_UFS_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_DEVPTS_FS is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_NLS=y

#
# Native Language Support
#
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_KOI8_R is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
# CONFIG_SERIAL_CONSOLE is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_APM is not set
# CONFIG_WATCHDOG is not set
CONFIG_RTC=y
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_BT848=y
# CONFIG_VIDEO_PMS is not set
# CONFIG_NVRAM is not set
# CONFIG_JOYSTICK is not set
# CONFIG_MISC_RADIO is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_FT_NORMAL_DEBUG is not set
# CONFIG_FT_FULL_DEBUG is not set
# CONFIG_FT_NO_TRACE is not set
# CONFIG_FT_NO_TRACE_AT_ALL is not set
# CONFIG_FT_STD_FDC is not set
# CONFIG_FT_MACH2 is not set
# CONFIG_FT_PROBE_FC10 is not set
# CONFIG_FT_ALT_FDC is not set

#
# Sound
#
# CONFIG_SOUND is not set

#
# Kernel hacking
#
# CONFIG_PROFILE is not set
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_VGA_CONSOLE=y

--------------4B8E686E3E0BA0DE5AEBE55B--


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: ni...@adc.metrica.co.uk (Nick Randell)
Subject: RE: BT848 Broken?
Date: 1998/04/20
Message-ID: <004401bd6c35$ca2300c0$baa746c2@scrod.metrica.co.uk>#1/1
X-Deja-AN: 345884879
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <353AADBE.70EB8A00@orci.com>
Reply-To: <nick.r...@adc.metrica.co.uk>
Newsgroups: muc.lists.linux-kernel


Hi

When I use the bt848, I normally build it as modules. To use it you need
then videodev, i2c and bttv modules.
Looking through the config there does not seem to be any option for i2c
support. I would suggest trying as a module unless anyone else knows how to
include i2c support as standard.

Nick


>
>
> While re-compiling to add BT848 support I got this:
>
> drivers/char/char.a(bttv.o): In function `attach_inform':
> bttv.o(.text+0x4c1): undefined reference to `i2c_control_device'
> drivers/char/char.a(bttv.o): In function `set_freq':
> bttv.o(.text+0x1162): undefined reference to `i2c_control_device'
> bttv.o(.text+0x1199): undefined reference to `i2c_control_device'
> bttv.o(.text+0x11bf): undefined reference to `i2c_control_device'
> bttv.o(.text+0x11ce): undefined reference to `i2c_control_device'
> drivers/char/char.a(bttv.o)(.text+0x296a): more undefined
> references to
> `i2c_control_device' follow
> drivers/char/char.a(bttv.o): In function `init_bt848':
> bttv.o(.text+0x3cd0): undefined reference to `i2c_register_bus'
> drivers/char/char.a(bttv.o): In function `release_bttv':
> bttv.o(.text+0x43b6): undefined reference to `i2c_unregister_bus'
> make: *** [vmlinux] Error 1


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: no...@rocky.orci.com (Nomad the Wanderer)
Subject: Re: BT848 Broken?
Date: 1998/04/20
Message-ID: <19980420075840.50249@rocky.orci.com>#1/1
X-Deja-AN: 345956731
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <353AADBE.70EB8A00@orci.com> 
Newsgroups: muc.lists.linux-kernel


What video/capture software do you use?  Can you send me some urls?

Thanks.

Robert

Thus spake Nick Randell (ni...@adc.metrica.co.uk):

> Hi
> 
> When I use the bt848, I normally build it as modules. To use it you need
> then videodev, i2c and bttv modules.
> Looking through the config there does not seem to be any option for i2c
> support. I would suggest trying as a module unless anyone else knows how to
> include i2c support as standard.
> 
> Nick
> 
> 
> >
> >
> > While re-compiling to add BT848 support I got this:
> >
> > drivers/char/char.a(bttv.o): In function `attach_inform':
> > bttv.o(.text+0x4c1): undefined reference to `i2c_control_device'
> > drivers/char/char.a(bttv.o): In function `set_freq':
> > bttv.o(.text+0x1162): undefined reference to `i2c_control_device'
> > bttv.o(.text+0x1199): undefined reference to `i2c_control_device'
> > bttv.o(.text+0x11bf): undefined reference to `i2c_control_device'
> > bttv.o(.text+0x11ce): undefined reference to `i2c_control_device'
> > drivers/char/char.a(bttv.o)(.text+0x296a): more undefined
> > references to
> > `i2c_control_device' follow
> > drivers/char/char.a(bttv.o): In function `init_bt848':
> > bttv.o(.text+0x3cd0): undefined reference to `i2c_register_bus'
> > drivers/char/char.a(bttv.o): In function `release_bttv':
> > bttv.o(.text+0x43b6): undefined reference to `i2c_unregister_bus'
> > make: *** [vmlinux] Error 1
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majo...@vger.rutgers.edu

-- 

---------------------------------------------------------------------------
Robert L. Harris          |   NT is secure.... 
System Engineer For Hire. \_   as long as you don't remove the shrink wrap.

http://www.orci.com/~nomad

DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: ni...@adc.metrica.co.uk (Nick Randell)
Subject: RE: BT848 Broken?
Date: 1998/04/20
Message-ID: <007a01bd6c66$b1ba9120$baa746c2@scrod.metrica.co.uk>#1/1
X-Deja-AN: 345967925
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <19980420075840.50249@rocky.orci.com>
Reply-To: <nick.r...@adc.metrica.co.uk>
Newsgroups: muc.lists.linux-kernel


I got the tools from the tools from the BTTV home page at
http://www.thp.Uni-Koeln.DE/~rjkm/linux/bttv.html

The main one I got was the standard bttv distribution, though you need to be
careful with that. It includes its own drivers and they are different to the
ones in the kernel. I think Alan Cox has taken over control of these drivers
as they are more compatible with the video4linux stuff.

I am also working on my own capturing program if you are interested, though
it currently only captures single images (late last night).

Nick







> -----Original Message-----
> From: Nomad the Wanderer [mailto:no...@rocky.orci.com]
> Sent: 20 April 1998 14:59
> To: nick.r...@adc.metrica.co.uk; no...@orci.com;
> linux-...@vger.rutgers.edu
> Subject: Re: BT848 Broken?
>
>
> What video/capture software do you use?  Can you send me some urls?
>
> Thanks.
>
> Robert
>
> Thus spake Nick Randell (ni...@adc.metrica.co.uk):
>
> > Hi
> >
> > When I use the bt848, I normally build it as modules. To
> use it you need
> > then videodev, i2c and bttv modules.
> > Looking through the config there does not seem to be any
> option for i2c
> > support. I would suggest trying as a module unless anyone
> else knows how to
> > include i2c support as standard.
> >
> > Nick
> >
> >
> > >
> > >
> > > While re-compiling to add BT848 support I got this:
> > >
> > > drivers/char/char.a(bttv.o): In function `attach_inform':
> > > bttv.o(.text+0x4c1): undefined reference to `i2c_control_device'
> > > drivers/char/char.a(bttv.o): In function `set_freq':
> > > bttv.o(.text+0x1162): undefined reference to `i2c_control_device'
> > > bttv.o(.text+0x1199): undefined reference to `i2c_control_device'
> > > bttv.o(.text+0x11bf): undefined reference to `i2c_control_device'
> > > bttv.o(.text+0x11ce): undefined reference to `i2c_control_device'
> > > drivers/char/char.a(bttv.o)(.text+0x296a): more undefined
> > > references to
> > > `i2c_control_device' follow
> > > drivers/char/char.a(bttv.o): In function `init_bt848':
> > > bttv.o(.text+0x3cd0): undefined reference to `i2c_register_bus'
> > > drivers/char/char.a(bttv.o): In function `release_bttv':
> > > bttv.o(.text+0x43b6): undefined reference to `i2c_unregister_bus'
> > > make: *** [vmlinux] Error 1
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> > the body of a message to majo...@vger.rutgers.edu
>
> --
>
> --------------------------------------------------------------
> -------------
> Robert L. Harris          |   NT is secure....
> System Engineer For Hire. \_   as long as you don't remove
> the shrink wrap.
>
http://www.orci.com/~nomad

DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: Da...@imladris.demon.co.uk (David Woodhouse)
Subject: Re: BT848 Broken?
Date: 1998/04/20
Message-ID: <E0yRHVd-0006PK-00@imladris.demon.co.uk>#1/1
X-Deja-AN: 345967928
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
Newsgroups: muc.lists.linux-kernel



no...@rocky.orci.com said:
> What video/capture software do you use?  Can you send me some urls? 

xawtv, at http://user.cs.tu-berlin.de/~kraxel/linux/index.html 
allows you to watch, and take snapshots.


There's also FXTV, at http://multiverse.com/~rhh/fxtv/
which is only for BSD, but does MPEG conversion on-the-fly.
It'd be nice if it could be ported to Linux. I think the kernel driver might 
need some modification to support the continuous grabbing.



----                              ----                              ----
David Woodhouse, Robinson College, CB3 9AN, England.   (+44) 0976 658355
    Da...@imladris.demon.co.uk        http://www.imladris.demon.co.uk
	    finger p...@dwmw2.robinson.cam.ac.uk for PGP key.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: al...@lxorguk.ukuu.org.uk (Alan Cox)
Subject: Re: BT848 Broken?
Date: 1998/04/20
Message-ID: <m0yRHVn-000aNhC@the-village.bc.nu>#1/1
X-Deja-AN: 345974377
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <007a01bd6c66$b1ba9120$baa746c2@scrod.metrica.co.uk>
Newsgroups: muc.lists.linux-kernel


> The main one I got was the standard bttv distribution, though you need to be
> careful with that. It includes its own drivers and they are different to the
> ones in the kernel. I think Alan Cox has taken over control of these drivers
> as they are more compatible with the video4linux stuff.

Ralph Metzger and Gerd Knorr do all the hard work on this driver. I merely
collect it up for kernel bundling impose a bit of CodingStyle and try
and turn any hardware specific stuff Ralph invents into extensions of
the generic API.

Credit where due.. I just shuffle ioctls around


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: al...@lxorguk.ukuu.org.uk (Alan Cox)
Subject: Re: BT848 Broken?
Date: 1998/04/20
Message-ID: <m0yRHoO-000aNhC@the-village.bc.nu>#1/1
X-Deja-AN: 345988799
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <E0yRHVd-0006PK-00@imladris.demon.co.uk>
Newsgroups: muc.lists.linux-kernel


> There's also FXTV, at http://multiverse.com/~rhh/fxtv/
> which is only for BSD, but does MPEG conversion on-the-fly.
> It'd be nice if it could be ported to Linux. I think the kernel driver might 
> need some modification to support the continuous grabbing.

The current driver supports mmap to two buffers with synchronization so
you shouldnt need any modifications at all

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: kra...@goldbach.isdn.cs.tu-berlin.de (Gerd Knorr)
Subject: video capture software (BT848 Broken?)
Date: 1998/04/20
Message-ID: <199804201817.UAA00109@goldbach.isdn.cs.tu-berlin.de>#1/1
X-Deja-AN: 346050110
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <E0yRHVd-0006PK-00@imladris.demon.co.uk>
Newsgroups: muc.lists.linux-kernel


In lists.linux.kernel you write:

>no...@rocky.orci.com said:
>> What video/capture software do you use?  Can you send me some urls? 

>xawtv, at http://user.cs.tu-berlin.de/~kraxel/linux/index.html 
>allows you to watch, and take snapshots.

>There's also FXTV, at http://multiverse.com/~rhh/fxtv/
>which is only for BSD, but does MPEG conversion on-the-fly.
>It'd be nice if it could be ported to Linux. I think the kernel driver might 
>need some modification to support the continuous grabbing.

/me again.  While talking about MPEG and stuff...

I have a small tcl/tk application which is supported to become a
video capture tool.  It is neither comfortable nor very stable, but
can already do video recording (uncompressed avi, video+audio).
Hav'nt found much time for it last months, guess this will not change
in the future becauce I finished my study now...

I'll put my current code to
	http://user.cs.tu-berlin.de/~kraxel/linux/grab-980420.tar.gz

within the next few minutes.  If someone wants to take over or use the
code as starting point for another cool application, feel free...

  Gerd

-- 
Gerd Knorr <kra...@cs.tu-berlin.de>
Note: goldbach probably goes offline within a few weeks,
      don't bookmark the from address for long term...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: kra...@goldbach.isdn.cs.tu-berlin.de (Gerd Knorr)
Subject: Re: BT848 Broken?
Date: 1998/04/20
Message-ID: <199804201735.TAA32734@goldbach.isdn.cs.tu-berlin.de>#1/1
X-Deja-AN: 346050111
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <E0yRHVd-0006PK-00@imladris.demon.co.uk>
Newsgroups: muc.lists.linux-kernel


In lists.linux.kernel you write:


>no...@rocky.orci.com said:
>> What video/capture software do you use?  Can you send me some urls? 

>xawtv, at http://user.cs.tu-berlin.de/~kraxel/linux/index.html 
>allows you to watch, and take snapshots.

>There's also FXTV, at http://multiverse.com/~rhh/fxtv/
>which is only for BSD, but does MPEG conversion on-the-fly.
>It'd be nice if it could be ported to Linux. I think the kernel driver might 
>need some modification to support the continuous grabbing.

I can do 25 fps here with bttv, no problem.  Not rock-solid yet (have to
reload the driver from time to time), but basically it works.

  Gerd

-- 
Gerd Knorr <kra...@cs.tu-berlin.de>
Note: goldbach probably goes offline within a few weeks,
      don't bookmark the from address for long term...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: Da...@imladris.demon.co.uk (David Woodhouse)
Subject: Re: BT848 Broken?
Date: 1998/04/20
Message-ID: <E0yRLm9-0001zk-00@imladris.demon.co.uk>#1/1
X-Deja-AN: 346063824
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
Newsgroups: muc.lists.linux-kernel



kra...@goldbach.isdn.cs.tu-berlin.de said:
>  I can do 25 fps here with bttv, no problem.  Not rock-solid yet (have
> to reload the driver from time to time), but basically it works. 

What software do you use for it?

I don't like the idea of reloading the driver - about 50% of the time it 
causes the entire system to hang when it's reloaded.


----                              ----                              ----
David Woodhouse, Robinson College, CB3 9AN, England.   (+44) 0976 658355
    Da...@imladris.demon.co.uk        http://www.imladris.demon.co.uk
	    finger p...@dwmw2.robinson.cam.ac.uk for PGP key.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: al...@lxorguk.ukuu.org.uk (Alan Cox)
Subject: Re: BT848 Broken?
Date: 1998/04/20
Message-ID: <m0yRMWk-000aNhC@the-village.bc.nu>#1/1
X-Deja-AN: 346080208
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <E0yRLm9-0001zk-00@imladris.demon.co.uk>
Newsgroups: muc.lists.linux-kernel


> What software do you use for it?
> 
> I don't like the idea of reloading the driver - about 50% of the time it 
> causes the entire system to hang when it's reloaded.

Ok send me a detailed report, it shouldnt ever be hanging on load


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: o...@ec.kyushu-u.ac.jp (Koji OKAMURA)
Subject: Re: BT848 Broken?
Date: 1998/04/21
Message-ID: <199804210248.LAA26199@nanotsu.ec.kyushu-u.ac.jp>#1/1
X-Deja-AN: 346199009
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <19980420075840.50249@rocky.orci.com>
Newsgroups: muc.lists.linux-kernel



It seems that the current bttv driver (0.5.6) supports a mmap() system
call. I have tried to copy the video image to memory space from video
capture frame buffer by the mmap(). But I never success.

Please show me the neat code with mmap() to grab the image by bttv
driver.

I use a bttv capture card with VIC (Video Conference Tool) by old
bttv driver (0.4.3), which can grab the image by ioctl(). But the
function is obsolete.

Thanks in advance.

--
Koji



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: ni...@adc.metrica.co.uk (Nick Randell)
Subject: RE: BT848 Broken?
Date: 1998/04/21
Message-ID: <001201bd6cf1$173661c0$baa746c2@scrod.metrica.co.uk>#1/1
X-Deja-AN: 346227961
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <m0yRMWk-000aNhC@the-village.bc.nu>
Reply-To: <nick.r...@adc.metrica.co.uk>
Newsgroups: muc.lists.linux-kernel


I have also found it hanging sometimes.

I am working on some simple frame capture software and while experimenting
with my software and xtvscreen that it would just lock up solid. I think
that was when I may have had the wrong frame buffer address :-) but I
couldn't be certain.

I also got some irq loop messages. Unfortunately I now have my software
working and don't seem to get these messages any more, but I sure that I
could break it again :-)

Nick


> -----Original Message-----
> From: owner-lin...@vger.rutgers.edu
> [mailto:owner-lin...@vger.rutgers.edu]On Behalf Of Alan Cox
> Sent: 20 April 1998 20:47
> To: David Woodhouse
> Cc: kra...@goldbach.isdn.cs.tu-berlin.de; Da...@imladris.demon.co.uk;
> linux-...@vger.rutgers.edu
> Subject: Re: BT848 Broken?
>
>
> > What software do you use for it?
> >
> > I don't like the idea of reloading the driver - about 50%
> of the time it
> > causes the entire system to hang when it's reloaded.
>
> Ok send me a detailed report, it shouldnt ever be hanging on load
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majo...@vger.rutgers.edu
>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: kra...@goldbach.isdn.cs.tu-berlin.de (Gerd Knorr)
Subject: Re: BT848 Broken?
Date: 1998/04/21
Message-ID: <199804210649.IAA20391@goldbach.isdn.cs.tu-berlin.de>#1/1
X-Deja-AN: 346227964
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
Newsgroups: muc.lists.linux-kernel


In lists.linux.kernel you write:


>It seems that the current bttv driver (0.5.6) supports a mmap() system
>call. I have tried to copy the video image to memory space from video
>capture frame buffer by the mmap(). But I never success.

>Please show me the neat code with mmap() to grab the image by bttv
>driver.

>I use a bttv capture card with VIC (Video Conference Tool) by old
>bttv driver (0.4.3), which can grab the image by ioctl(). But the
>function is obsolete.

http://www.cs.tu-berlin.de/~kraxel/linux/grabber-video4linux.cc

   Gerd

-- 
Gerd Knorr <kra...@cs.tu-berlin.de>
Note: goldbach probably goes offline within a few weeks,
      don't bookmark the from address for long term...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: o...@ec.kyushu-u.ac.jp (Koji OKAMURA)
Subject: Re: BT848 Broken?
Date: 1998/04/28
Message-ID: <199804280953.SAA18824@nanotsu.ec.kyushu-u.ac.jp>#1/1
X-Deja-AN: 348404577
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <m0yRHoO-000aNhC@the-village.bc.nu>
Newsgroups: muc.lists.linux-kernel



> The current driver supports mmap to two buffers with synchronization so
> you shouldnt need any modifications at all

Now I can get the more than 30 fps video images (16bpp@640x480) into
the memory by mmap. I use PentiumII 300MHz PC with Bt848 Video Capture
Card.

BTW, I must call ioctl() with VIDIOCSFBUF before VIDIOCMCAPTURE.
I think that calling VIDIOCSFBUF is not necessary for using mmap.

--
Koji


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

From: o...@ec.kyushu-u.ac.jp (Koji OKAMURA)
Subject: Fixed!! (BT848 Broken? )
Date: 1998/06/10
Message-ID: <199806100919.SAA10853@nanotsu.ec.kyushu-u.ac.jp>#1/1
X-Deja-AN: 361316216
Approved: ge...@greenie.muc.de
Sender: muc.de!l-linux-kernel-owner
References: <199804280953.SAA18824@nanotsu.ec.kyushu-u.ac.jp>
Newsgroups: muc.lists.linux-kernel



Hi, Alan Cox,

> BTW, I must call ioctl() with VIDIOCSFBUF before VIDIOCMCAPTURE.
> I think that calling VIDIOCSFBUF is not necessary for using mmap.

I found that it has been fixed in kernel-2.1.105.
Thank you.

Now I can get the more than 30 fps video images (16bpp@640x480) into
the memory by User Mode :-).

--
Koji

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.rutgers.edu

			   USENET Archives


The materials and information included in this website may only be used
for purposes such as criticism, review, private study, scholarship, or 
research.


Electronic mail:			      WorldWideWeb:
   tech-insider@outlook.com		         http://tech-insider.org/