Attempting gscanbus
Brought to you by:
aeb,
bencollins
From: Mark K. <mk...@co...> - 2000-05-17 18:05:45
|
Hi, I'm having some (hopefully) simple startup problems. Can someone point out what I'm doing wrong? gscanbus says it can't find libraw1394, but it appears to be there..... Thanks, Mark 1) I have set up a dedicated machine for testing Linux 1394. 2) I've attempted to build the 2.2.15 kernel with 1394 support. Lilo allows me to boot the new kernel. I think 1394 support is loaded as the following is the result of a dmesg command: ieee1394: registered ohci1394 driver, initializing now ohci1394: looking for Ohci1394 cards ohci1394_0: allocated interrupt 10 ohci1394_0: The 1st byte at offset 0x404 is: 0x31 ohci1394_0: remapped memory spaces reg 0xc2800000 ohci1394_0: soft reset finished ohci1394_0: max packet size = 2048 bytes ohci1394_0: 4 iso contexts available ohci1394_0: Receive DMA ctx=2 initialized ohci1394_0: Receive DMA ctx=0 initialized ohci1394_0: Receive DMA ctx=1 initialized ohci1394_0: AT dma ctx=0 initialized ohci1394_0: AT dma ctx=1 initialized ohci1394_0: Cancel request received ohci1394_0: resetting bus on request and attempting to become root ieee1394: detected 1 ohci1394 adapter ohci1394_0: Got RQPkt interrupt status=0x00008409 ohci1394_0: SelfID process finished (phyid 1, not root) ohci1394_0: selfid packet 0x807f4658 rcvd ieee1394: including selfid 0x58467f80 ohci1394_0: selfid packet 0x817f8466 rcvd ieee1394: including selfid 0x66847f81 ohci1394_0: This node self-id is 0x817f8466 ohci1394_0: selfid packet 0x827f40dc rcvd ieee1394: including selfid 0xdc407f82 ohci1394_0: calling self-id complete ohci1394_0: Got phy packet ctx=0 ... discarded ieee1394: 1 host adapter initialized ohci1394_0: request csr_rom address: C1FBF000 (Subsequent dmesg and /var/log/messages reflect bus activity when I add or remove devices...) 3) I have 3 devices on the bus - Linux PC, Philips 1394AV Reference Kit, Sony CCMDS-250 camera. There appear to be three devices recognized above. 4) In the past I though I needed to 'insmod' something, but I can't find directions on that step, so I haven't done anything. 5) lsmod reports nothing loaded. Is this the problem? 6) I've installed libraw1394: [root@bambi gscanbus-0.5]# cd /usr/local/lib [root@bambi lib]# dir total 132 drwxr-xr-x 2 root root 4096 May 15 16:11 . drwxr-xr-x 12 root root 4096 May 15 16:11 .. -rw-r--r-- 1 root root 74016 May 15 16:11 libraw1394.a -rwxr-xr-x 1 root root 660 May 15 16:11 libraw1394.la lrwxrwxrwx 1 root root 19 May 15 16:11 libraw1394.so -> libraw1394.so.2.1.0 lrwxrwxrwx 1 root root 19 May 15 16:11 libraw1394.so.2 -> libraw1394.so.2.1.0 -rwxr-xr-x 1 root root 37032 May 15 16:11 libraw1394.so.2.1.0 [root@bambi lib]# 7) The Makefile for gscanbus seemed to be setup to point at libraw1394: <snip> # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # INCLUDE=-I. -I/usr/local/include/libraw1394 CFLAGS=$(INCLUDE) -g -Wall #LIBPATH=-L/usr/local/src/libraw1394-0.6 LIBPATH=-L/usr/local/lib all: gscanbus <end-snip> 8) When I try and run gscanbus, I see this: [root@bambi gscanbus-0.5]# ./gscanbus ./gscanbus: error in loading shared libraries: libraw1394.so.2: cannot open shared object file: No such file or directory [root@bambi gscanbus-0.5]# |