Re: Error when running dvgrab and gscanbus
Brought to you by:
aeb,
bencollins
From: Dan D. <dde...@co...> - 2001-01-30 18:14:57
|
Do you have kernel headers installed on your system? The asm/types.h is a part of the standard linux includes. From: "Morten Minke" <mm...@cl...> > When I try a make with the libraw I get: > > make all-recursive > make[1]: Entering directory `/usr/src/libraw1394-0.8.2' > Making all in src > make[2]: Entering directory `/usr/src/libraw1394-0.8.2/src' > /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g > -O2 -Wall -Wunused -c main.c > rm -f .libs/main.lo > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wunused -c -fPIC -DPIC > main.c -o .libs/main.lo > In file included from main.c:19: > kernel-raw1394.h:49:23: asm/types.h: No such file or directory > make[2]: *** [main.lo] Error 1 > make[2]: Leaving directory `/usr/src/libraw1394-0.8.2/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/libraw1394-0.8.2' > make: *** [all-recursive-am] Error 2 > > > > > > after > > insmod ohci1394 > insmod raw1394 > lsmod > > I get the following: > Module Size Used by > raw1394 6608 0 (unused) > ohci1394 23040 0 (unused) > hisax 137168 3 > ne2k-pci 4800 1 (autoclean) > 8390 6352 0 (autoclean) [ne2k-pci] > es1371 25712 0 > soundcore 3952 4 [es1371] > ac97_codec 7824 0 [es1371] > > Now, when I try to run ./gscanbus I get: > successfully got handle > current generation number: 1 > using first card found: 1 nodes on bus, local ID is 0 > Error: invalid or unsupported selfid format! > > and when I try dvgrab test: > raw1394 - couldn't get card info: Invalid argument > > a cat /proc/ohci1394 gives: > > IEEE-1394 OHCI Driver status report: > bus number: 0x3ff Node ID: 0x0 > > ### Host data ### > node_count: 2 node_id : 0000FFC0 > irm_id : 0000FFC1 busmgr_id : 0000FFFF > initialized > > > ---Iso Receive DMA--- > Current buf: 0 offset: 0 > > ---Async Receive DMA--- > Ar req current buf: 0 offset: 112 > AR resp current buf: 0 offset: 0 > > ---Async Transmit DMA--- > AT req prg: 3 sent: 3 free: 32 branchAddrPtr: caa82008 > AT req queue: first: 00000000 last: 00000000 > AR resp prg: 0 sent: 0 free: 32 branchAddrPtr: 00000000 > AT resp queue: first: 00000000 last: 00000000 > > ### HC Register dump ### > Version : 01010000 GUID_ROM : 00000000 ATRetries : 00000822 > CSRData : 00000000 CSRCompData : 00000000 CSRControl : 80000000 > ConfigROMhdr: 04047d8a BusID : 31333934 BusOptions : f07da002 > GUIDHi : 08002856 GUIDLo : 00000075 ConfigROMmap: 07d3c000 > PtdWrAddrLo : 00000000 PtdWrAddrHi : 00000000 VendorID : 00000000 > HCControl : 000e0000 SelfIDBuffer: 07d4c000 SelfIDCount : 0007001c > IRMuChMaskHi: 00000000 IRMuChMaskLo: 00000000 IntEvent : 00700000 > IntMask : 840300ff IsoXmIntEvnt: 00000000 IsoXmIntMask: 00000000 > IsoRcvIntEvt: 00000000 IsoRcvIntMsk: 00000001 FairnessCtrl: 00000000 > LinkControl : 00300200 NodeID : 8800ffc0 PhyControl : 000001ff > IsoCyclTimer: 400c5242 AsRqFilterHi: ffffffff AsRqFilterLo: ffffffff > PhyReqFiltHi: ffffffff PhyReqFiltLo: ffffffff PhyUpperBnd : 00000000 > AsRqTrCxtCtl: 0000801e AsRqTrCmdPtr: 0aa82002 AsRsTrCtxCtl: 00000000 > AsRsTrCmdPtr: 00000000 AsRqRvCtxCtl: 00008409 AsRqRvCmdPtr: 07d50001 > AsRsRvCtxCtl: 00008400 AsRsRvCmdPtr: 07e2b001 IntEvent : 00700000 > IsoRCtxCtl00: d0008400 IsoRCmdPtr00: 01ac3001 IsoRCxtMch00: f0000000 > IsoRCtxCtl01: 00000000 IsoRCmdPtr01: 00000000 IsoRCxtMch01: 00000000 > IsoRCtxCtl02: 00000000 IsoRCmdPtr02: 00000000 IsoRCxtMch02: 00000000 > IsoRCtxCtl03: 00000000 IsoRCmdPtr03: 00000000 IsoRCxtMch03: 00000000 > IsoTCtxCtl00: 00000000 IsoTCmdPtr00: 00000000 > IsoTCtxCtl01: 00000000 IsoTCmdPtr01: 00000000 > IsoTCtxCtl02: 00000000 IsoTCmdPtr02: 00000000 > IsoTCtxCtl03: 00000000 IsoTCmdPtr03: 00000000 > IsoTCtxCtl04: 00000000 IsoTCmdPtr04: 00000000 > IsoTCtxCtl05: 00000000 IsoTCmdPtr05: 00000000 > IsoTCtxCtl06: 00000000 IsoTCmdPtr06: 00000000 > IsoTCtxCtl07: 00000000 IsoTCmdPtr07: 00000000 > > Does anybody know what's wrong? > > _______________________________________________ > mailing list Lin...@li... > http://lists.sourceforge.net/lists/listinfo/linux1394-user > |