Re: [opensuse] Every time I power up the printer, I'm promted to configure it - again.




Hello,

On Sep 12 12:29 Carlos E. R. wrote (shortened):
Sep 12 12:17:51 nimrodel kernel: hal-cups-autoco[26652]: segfault at 0 ip 0804bdf7 sp bfa9aef0 error 4 in cups-autoconfig[8048000+6000]

Since openSUSE 10.3 we have the new RPM "cups-autoconfig"
which contains a utility for auto-configuring USB printers
which is triggered by udev/HAL device events.

Note that this tool neither comes from the CUPS authors
nor is the RPM a sub-package of the cups RPM.

It was introduced by our "Desktop" team/department to make
printing more convenient in particular for "Desktop" users.

By default it disables/enables print queues when udev/HAL
events appear that a USB printer is disconnected/connected.
Its /etc/cups-autoconfig.conf contains by default:
--------------------------------------------------------------
[CUPS]
ConfigureNewPrinters=yes
DisablePrintersOnRemoval=yes
DefaultCUPSPolicy=relaxed
Debug=yes
--------------------------------------------------------------
It is triggered via
/usr/share/hal/fdi/policy/10osvendor/10-cups-autoconfig.fdi
which runs /usr/lib/cups-autoconfig/cups-autoconfig
which does the actual stuff, see
/usr/lib/cups-autoconfig/cups-autoconfig --help
(you must run even '--help' as root, otherwise you get errors)
Debugging output is in /var/log/cups-autoconfig.log

In openSUSE 10.3 it caused problems in particular
for HP printers, see
https://bugzilla.novell.com/show_bug.cgi?id=334166
but this should be fixed for openSUSE 11.0.

In your case it loks more like the usual unreliability
of the USB/HAL/whatever system.

If you don't like what cups-autoconfig does (i.e. if you prefer
that you control the print queues and not whatever automatism),
uninstall the cups-autoconfig package and reboot (or restart HAL)
to make HAL aware of its changed config files, see
https://bugzilla.novell.com/show_bug.cgi?id=218393#c28

For some background information, see
http://code.google.com/p/cups-autoconfig/


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx