From: John L. C. <jl...@cf...> - 2000-09-13 17:37:36
|
Tried the hpoj-0.6 package, and it is a great improvement over the earlier ones. However, I have detected a problem with the kernel modules using modprobe. Since I wanted to start playing with Sane on my officejet 1170, I wrote a RedHat hpoj.spec to install the package as it seems fairly stable. I decided to install the modules under /lib/modules/misc so that depmod -a would find it and I could probably change 2.2.x kernel versions without a recompile. After running depmod -a, the modules.dep file, in /lib/modules/`uname -r`, shows the following: /lib/modules/misc/ieee12844.o: /lib/modules/misc/ieee12844pp.o: /lib/modules/misc/ieee12844.o \ /lib/modules/2.2.15/misc/parport.o When I run "modprobe -k ieee12844pp", I get: /lib/modules/misc/ieee12844pp.o: init_module: Device or resource busy Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/misc/ieee12844pp.o: insmod ieee12844pp failed The problem is that modprobe does not know to load paraport_probe. If I change the modules.dep file, by hand, to make ieee12844pp depend on paraport_probe instead of paraport, it works as expected. Depmod -a does not detect that ieee12844pp requires paraport_probe. Attached is a simple hpoj-spec file. If it is included in the source, people with redhat can build a package by executing, for example, "rpm -tb hpoj-0.6.tgz", but it would need to be modified for each distribution. John Chmielewski |