Problem with HP Officejet USB PTAL CUPS and runlevel editor
Help, Has anyone got any ideas on this one. I have a USB connected HP Officejet printer. To talk to it I need to the HP specific ptal (hpoj) package. The latest version of this package integrates with the runlevel editor system (as it should do). However with the default settings ptal-init is run after hotplug has started but before hwscan has run. This usually means that ptal-init cannot find a connected printer and often causes a panic in printer.o. To solve this I added hwscan as a Required-Start: dependency in the ptal init.d script. This all works OK ptal now runs after hwscan, the printer is always found and the kernel doesn't panic. However this now means that ptal-init is being run after cupsd in the startup order. For some reason this means that cupsd fails to start. Ok. I thought this would be easy to fix. So I added a ptal dependency to the cups init.d script. However, whenever I do this the runlevel editor silently (no error messages) fails to save the updated configuration and sets the cups service to disabled. If I take "ptal" off the end of the Required-Start: line everything is back to where it was. Does anyone know what is happening here. If there another way to fix this. Help!!! Roger
participants (1)
-
Roger James