What does your /etc/modules.conf look like?
Mine has the entries (dmask=255 is nice for debugging ;):
alias char-major-81 videodevX
alias char-major-81-0 meteor2
options meteor2 dmask=255
Does /dev/video0 have minor number 0?
Eric Williams wrote:
I've been trying to bring up our new Meteor II capture board using the
emlix 1.0 driver, but I've hit a speed bump. I've built the kernel
(v2.4.18-3), v4l2 (20020330), and the driver without any problems
(well, none I couldn't figure out), but when I try to modprobe
meteor2, I get:
/lib/modules/2.4.18-3custom/kernel/drivers/media/video/videodevX.o:
init_module: Input/output error Hint: insmod errors can be caused
by incorrect module parameters, including invalid IO or IRQ
parameters. You may find more information in syslog or the
output from dmesg
/lib/modules/2.4.18-3custom/kernel/drivers/media/video/videodevX.o:
insmod
/lib/modules/2.4.18-3custom/kernel/drivers/media/video/videodevX.o
failed
/lib/modules/2.4.18-3custom/kernel/drivers/media/video/videodevX.o:
insmod meteor2 failed
Looking at the syslog, I see:
Nov 22 19:05:08 gremlin kernel: Video for Linux One (2.2.16).
Major device: 81 Nov 22 19:05:08 gremlin kernel: Unable to get
major 81 for v4l1/2
There are major 81 devices in /dev already (video0, vtx0, vbi0,
radio0, etc.).
Any ideas as to what I'm doing wrong? Thanks in advance.
--
Eric Williams
Controls Group
Advanced Light Source
Lawrence Berkeley Laboratory