From Christiane2001@terra.es Sat Dec 13 12:50:43 2003 From: Christiane2001@terra.es (Cris) Date: Sat, 13 Dec 2003 13:50:43 +0100 Subject: [cpia] Creative Video Blaster WebCam II Message-ID: <200312131350.43476.Christiane2001@terra.es> Hello, I have a OLD Creative Video Blaster WebCam II in my Mandrake 9.1, but It works _slooooooowly_ (about 1 frame every second). I have downloaded the lastest cpia drivers from http://webcam.sourceforge.net (the "original" mandrake 9.1 drivers was very old!!!!), and I have compiled it and I have copied the files cpia.o cpia_pp.o cpia_usb.o in the directory /lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video. In my /etc/modules.conf I have added the lines: options cpia_pp partport=0 options parport_pc io=0x378 irq=7 dma=3 Now, the frame rate is better (about 10 fps), but after 1 min. running the program doesn't respond. I have used xawtv and camstreams programs with the same results. What is it wrong? Maybe, have I to patch the kernel or the paralell port module? Thanks, Cris, Málaga (SPAIN) From Christiane2001@terra.es Sat Dec 13 13:14:01 2003 From: Christiane2001@terra.es (Cris) Date: Sat, 13 Dec 2003 14:14:01 +0100 Subject: [cpia] Creative Video Blaster WebCam II Message-ID: <200312131414.01225.Christiane2001@terra.es> It's me again, only the last detail: In the system log (dmesg) I have _a lot_ of lines like: parport0: PE timeout Event 40 (-4) in ecp_read_block_dma Thanks, Cris Málaga (SPAIN) From blaise@gassend.com Sat Dec 13 19:42:51 2003 From: blaise@gassend.com (Blaise Gassend) Date: Sat, 13 Dec 2003 14:42:51 -0500 Subject: [cpia] Creative Video Blaster WebCam II In-Reply-To: <200312131350.43476.Christiane2001@terra.es> References: <200312131350.43476.Christiane2001@terra.es> Message-ID: <20031213194251.GA15578@dosx.mit.edu> Hi Chris, Hum, you seem to have found a bug related to my patch for doing DMA reads from the CPiA camera. I don't think that the code has been very widely tested and there may be some difference between your hardware and mine. I'm afraid I don't have any constructive advice for you. It looks like the driver is expecting data that the camera isn't sending, to debug it one would have to look at the details of the communication between the camera and the computer. Blaise Quoted from Cris on Sat, Dec 13, 2003 at 01:50:43PM +0100. > Hello, > > I have a OLD Creative Video Blaster WebCam II in my Mandrake 9.1, but It works > _slooooooowly_ (about 1 frame every second). I have downloaded the lastest > cpia drivers from http://webcam.sourceforge.net (the "original" mandrake 9.1 > drivers was very old!!!!), and I have compiled it and I have copied the files > cpia.o cpia_pp.o cpia_usb.o in the directory > /lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video. > > In my /etc/modules.conf I have added the lines: > options cpia_pp partport=0 > options parport_pc io=0x378 irq=7 dma=3 > > Now, the frame rate is better (about 10 fps), but after 1 min. running the > program doesn't respond. I have used xawtv and camstreams programs with the > same results. > > What is it wrong? Maybe, have I to patch the kernel or the paralell port > module? > > Thanks, > > Cris, > Málaga (SPAIN) > > > > > > > > _______________________________________________ > cpia mailing list - cpia@risc.uni-linz.ac.at > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia -- Blaise Gassend, PhD Student Email: gassend@alum.mit.edu MIT Research Laboratory of Electronics Phone: (617) 452-3180 Room 36-272A, 77 Massachusetts Avenue Fax: (617) 253-9611 Cambridge, MA 02139, USA Web: http://blaisegassend.com From m_giggey@BeansYou.co.jp Sun Dec 14 02:55:14 2003 From: m_giggey@BeansYou.co.jp (Dragon_at_work) Date: Sun, 14 Dec 2003 11:55:14 +0900 Subject: [cpia] unsubscribe In-Reply-To: <20031213194251.GA15578@dosx.mit.edu> References: <200312131350.43476.Christiane2001@terra.es> <20031213194251.GA15578@dosx.mit.edu> Message-ID: <200312141155.14107.m_giggey@BeansYou.co.jp> On Sunday 14 December 2003 04:42, Blaise Gassend wrote: > Hi Chris, > > Hum, you seem to have found a bug related to my patch for doing DMA > reads from the CPiA camera. I don't think that the code has been very > widely tested and there may be some difference between your hardware and > mine. I'm afraid I don't have any constructive advice for you. It looks > like the driver is expecting data that the camera isn't sending, to > debug it one would have to look at the details of the communication > between the camera and the computer. > > Blaise > > Quoted from Cris on Sat, Dec 13, 2003 at 01:50:43PM +0100. > > > Hello, > > > > I have a OLD Creative Video Blaster WebCam II in my Mandrake 9.1, but It > > works _slooooooowly_ (about 1 frame every second). I have downloaded the > > lastest cpia drivers from http://webcam.sourceforge.net (the "original" > > mandrake 9.1 drivers was very old!!!!), and I have compiled it and I have > > copied the files cpia.o cpia_pp.o cpia_usb.o in the directory > > /lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video. > > > > In my /etc/modules.conf I have added the lines: > > options cpia_pp partport=0 > > options parport_pc io=0x378 irq=7 dma=3 > > > > Now, the frame rate is better (about 10 fps), but after 1 min. running > > the program doesn't respond. I have used xawtv and camstreams programs > > with the same results. > > > > What is it wrong? Maybe, have I to patch the kernel or the paralell port > > module? > > > > Thanks, > > > > Cris, > > Málaga (SPAIN) > > > > > > > > > > > > > > > > _______________________________________________ > > cpia mailing list - cpia@risc.uni-linz.ac.at > > http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia From Christiane2001@terra.es Sun Dec 14 16:37:45 2003 From: Christiane2001@terra.es (Cris) Date: Sun, 14 Dec 2003 17:37:45 +0100 Subject: [cpia] Creative Video Blaster WebCam II In-Reply-To: <20031213194251.GA15578@dosx.mit.edu> References: <200312131350.43476.Christiane2001@terra.es> <20031213194251.GA15578@dosx.mit.edu> Message-ID: <200312141737.45723.Christiane2001@terra.es> El Sábado, 13 de Diciembre de 2003 20:42, Blaise Gassend escribió: > Hi Chris, Hi > Hum, you seem to have found a bug related to my patch for doing DMA > reads from the CPiA camera. Almost I know that the problem is related with DMA, so I have been changed my /etc/modules.conf file: -options parport_pc io=0x378 irq=7 dma=3 +options parport_pc io=0x378 irq=7 dma=none (I have disabled the DMA. But NOT in the BIOS) So, in the startup I can read: parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,EP [.....] ECP Parallel Port without DMA detected: image stream should be fast Now, I have a frame rate about 5 fps without errors. > I don't think that the code has been very > widely tested and there may be some difference between your hardware and > mine. I'm afraid I don't have any constructive advice for you. It looks > like the driver is expecting data that the camera isn't sending, to > debug it one would have to look at the details of the communication > between the camera and the computer. But.... that's impossible because I need the source code and a authorization of the copyright's owner...... ;-P (Ups, I forgot that we use FREE SOFTWARE!!!!) I will try to have a look the code.... maybe I can find the solution. (repeat maybe). Thanks very much. Cris, Málaga (SPAIN)