From: Torsten M. <tmohr@s.netic.de> - 2002-04-24 19:35:02
|
Hi, > Great. That means that /etc/modules.conf is correct. Now you can do two > things. I just load zoran (/sbin/modprobe zoran/zr36067) in > /etc/rc.d/rc.local. The other thing is... > > > Just "using the driver" doesn't work, i need to do "modprobe zr36067" > > I also don't need two entries in /etc/modules.conf, just: > > > > alias char-major-81-0 zr36067 > > What someone on the v4l mailinglist was using, was the following: > > alias char-major-81 videodev > alias char-major-81-0 <tv-card-module> (zr36067 in your case) > > If you use that, does it work any better? (It shouldn't, but it > might...) Hmm, just tested it, but it didn't work, here's /var/log/messages: Apr 24 21:12:18 schleim insmod: /lib/modules/2.4.16/kernel/drivers/media/video/i2c-old.o: pre-install \ zr36067 failed Apr 24 21:12:18 schleim insmod: /lib/modules/2.4.16/kernel/drivers/media/video/i2c-old.o: insmod \ char-major-81-0 failed Apr 24 21:12:18 schleim kernel: Linux video capture interface: v1.00 Apr 24 21:12:18 schleim kernel: i2c: initialized I also removed 'modprobe "-k" videodev' from "pre-install zr36067", exactly the same result. modprobe -V says "2.4.8", Kernel is 2.4.16, might that be a problem? I just gave all the commands in "pre-install zr36067" the options "-k" "-s" "-v", /var/log/messages now looks like this: Apr 24 21:20:31 schleim insmod: Using /lib/modules/2.4.16/kernel/drivers/media/video/saa7110.o Apr 24 21:20:31 schleim insmod: Symbol version prefix '' Apr 24 21:20:31 schleim insmod: /lib/modules/2.4.16/kernel/drivers/media/video/saa7110.o: create_module: Operation not permitted Apr 24 21:20:31 schleim insmod: /lib/modules/2.4.16/kernel/drivers/media/video/saa7110.o: insmod saa7110 failed Apr 24 21:20:31 schleim insmod: Using /lib/modules/2.4.16/kernel/drivers/media/video/adv7175.o Apr 24 21:20:31 schleim insmod: Symbol version prefix '' Apr 24 21:20:31 schleim insmod: /lib/modules/2.4.16/kernel/drivers/media/video/adv7175.o: create_module: Operation not permitted Apr 24 21:20:31 schleim insmod: /lib/modules/2.4.16/kernel/drivers/media/video/adv7175.o: insmod adv7175 failed Apr 24 21:20:31 schleim insmod: /lib/modules/2.4.16/kernel/drivers/media/video/i2c-old.o: pre-install zr36067 failed Apr 24 21:20:31 schleim insmod: /lib/modules/2.4.16/kernel/drivers/media/video/i2c-old.o: insmod char-major-81 failed Apr 24 21:20:31 schleim kernel: Linux video capture interface: v1.00 Apr 24 21:20:31 schleim kernel: i2c: initialized I'm confused, isn't that the wrong order? Shouldn't "videodev" be the first, then "i2c-old", then "saa7110", then "adv7175"? When i now type "modprobe -k zr36067", i get as output: schleim:~ # modprobe -k zr36067 /sbin/insmod -k -q -s /lib/modules/2.4.16/kernel/drivers/media/video/saa7110.o /sbin/insmod -k -q -s /lib/modules/2.4.16/kernel/drivers/media/video/adv7175.o /var/log/messages is: Apr 24 21:27:48 schleim kernel: Linux video capture interface: v1.00 Apr 24 21:27:48 schleim kernel: i2c: initialized Apr 24 21:27:48 schleim insmod: Using /lib/modules/2.4.16/kernel/drivers/media/video/saa7110.o Apr 24 21:27:48 schleim insmod: Symbol version prefix '' Apr 24 21:27:48 schleim insmod: Using /lib/modules/2.4.16/kernel/drivers/media/video/adv7175.o Apr 24 21:27:48 schleim insmod: Symbol version prefix '' Apr 24 21:27:48 schleim kernel: Zoran ZR36060 + ZR36057/67 MJPEG board driver version 0.7 Apr 24 21:27:48 schleim kernel: PCI: Found IRQ 9 for device 00:0d.0 Apr 24 21:27:48 schleim kernel: PCI: Sharing IRQ 9 with 00:0f.0 Apr 24 21:27:48 schleim kernel: MJPEG[0]: Zoran ZR36067 (rev 2) irq: 9, memory: 0xef003000 Apr 24 21:27:48 schleim kernel: MJPEG[0]: subsystem vendor=0x1031 id=0x7efe Apr 24 21:27:48 schleim kernel: MJPEG[0]: Initializing i2c bus... Apr 24 21:27:48 schleim kernel: saa7110_attach: SAA7110A version 1 at 0x9c, status=0xc1 Apr 24 21:27:48 schleim kernel: adv7176_attach: adv7176 rev. 1 at 0x56 Apr 24 21:27:48 schleim kernel: DC10plus[0] card detected Apr 24 21:27:48 schleim kernel: DC10plus[0]: Zoran ZR36060 (rev 1) Apr 24 21:27:48 schleim kernel: MJPEG: 1 card(s) found Apr 24 21:27:48 schleim kernel: MJPEG: using 2 V4L buffers of size 128 KB Apr 24 21:27:48 schleim kernel: DC10plus[0]: Initializing card[0], zr=e1357220 Apr 24 21:27:49 schleim kernel: DC10plus[0]: Testing interrupts... Apr 24 21:27:49 schleim kernel: DC10plus[0]: interrupts received: GIRQ1:51 queue_state=0/0/0/0 Apr 24 21:27:49 schleim kernel: DC10plus[0]: procfs entry /proc/zoran0 allocated. data=e1357220 Capturing also works just fine. Whoops, just found out: If no modules are loaded and i try to capture AS USER ROOT, it works fine, it might be related to the access rights? In /dev: lrwxrwxrwx 1 root root 6 Dec 29 08:53 video -> video0 crwxrwxrwx 1 root video 81, 0 Sep 24 2001 video0 That should be ok, shouldn't it? But that is the only place i know where access rights could be a problem. Where else does it matter? Regards, Torsten. |