The piece of code to load the kernel modules is:

        if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/cups/backend/parallel \
             -a -f /proc/devices -a -f /proc/modules -a -x /sbin/modprobe \
             -a -z "$(grep -e ' lp$' /proc/devices 2>/dev/null)" ]; then
          modprobe -q lp || true
          modprobe -q ppdev || true
        fi

It should be

        if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/cups/backend/parallel \
             -a -f /proc/devices -a -f /proc/modules -a -x /sbin/modprobe]; then
          modprobe -q lp || true
          modprobe -q ppdev || true
        fi

so that the parallel port kernel modules are simply always loaded if
$LOAD_LP_MODULE is set to "yes", /usr/lib/cups/backend/parallel is
present, and kernel modules are supported.

-- 
cupsys does not automatically detect parallel printer
https://bugs.launchpad.net/bugs/29050
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to